38 #ifdef G4MULTITHREADED
51 :fpCurrentTrajectory(0)
55 fType =
"G4TrajectoriesModel";
56 fGlobalTag =
"G4TrajectoriesModel for all trajectories.";
67 #ifdef G4MULTITHREADED
81 fEventID =
event->GetEventID();
91 if (!pVVisManager)
return;
99 fpCurrentTrajectory = (*TC) [iT];
104 if (fpCurrentTrajectory)
113 std::map<G4String,G4AttDef>* store
117 G4AttDef(
"RunID",
"Run ID",
"Physics",
"",
"G4int");
118 (*store)[
"EventID"] =
119 G4AttDef(
"EventID",
"Event ID",
"Physics",
"",
"G4int");
126 std::vector<G4AttValue>* values =
new std::vector<G4AttValue>;
145 G4cout <<
"\nProvided G4Atts:\n" << attCheck;
148 std::vector<G4AttValue> standardValues;
149 std::map<G4String,G4AttDef> standardDefinitions;
150 attCheck.Standard(&standardValues, &standardDefinitions);
151 G4cout <<
"\nStandard G4Atts:\n"
152 <<
G4AttCheck(&standardValues, &standardDefinitions);
163 G4cout <<
"\nProvided G4Atts:\n" << attCheck;
166 std::vector<G4AttValue> standardValues;
167 std::map<G4String,G4AttDef> standardDefinitions;
168 attCheck.Standard(&standardValues, &standardDefinitions);
169 G4cout <<
"\nStandard G4Atts:\n"
170 <<
G4AttCheck(&standardValues, &standardDefinitions);
static G4VVisManager * GetConcreteInstance()
std::vector< G4AttValue > * CreateCurrentAttValues() const
virtual G4VTrajectoryPoint * GetPoint(G4int i) const =0
static G4String ConvertToString(G4bool boolVal)
const G4Run * GetCurrentRun() const
virtual const std::map< G4String, G4AttDef > * GetAttDefs() const
virtual std::vector< G4AttValue > * CreateAttValues() const
virtual int GetPointEntries() const =0
G4GLOB_DLL std::ostream G4cout
const G4Event * GetEvent() const
virtual const std::map< G4String, G4AttDef > * GetAttDefs() const
static G4MTRunManager * GetMasterRunManager()
const G4ModelingParameters * fpMP
virtual void BeginDraw(const G4Transform3D &objectTransformation=G4Transform3D())=0
G4String fGlobalDescription
G4bool IsMultithreadedApplication()
static G4RunManager * GetRunManager()
virtual void DescribeYourselfTo(G4VGraphicsScene &)
virtual void AddCompound(const G4VTrajectory &)=0
void G4TrajectoriesModelDebugG4AttValues(const G4VTrajectory *)
virtual std::vector< G4AttValue > * CreateAttValues() const
const std::map< G4String, G4AttDef > * GetAttDefs() const
std::map< G4String, G4AttDef > * GetInstance(const G4String &storeKey, G4bool &isNew)
virtual ~G4TrajectoriesModel()