48:fpCurrentTrajectory(0)
52 fType =
"G4TrajectoriesModel";
53 fGlobalTag =
"G4TrajectoriesModel for any type of trajectory";
77 fEventID =
event->GetEventID();
87 if (!pVVisManager)
return;
94 for (std::size_t iT = 0; iT < TC->
entries(); ++iT) {
95 fpCurrentTrajectory = (*TC) [iT];
100 if (fpCurrentTrajectory)
109 std::map<G4String,G4AttDef>* store
113 G4AttDef(
"RunID",
"Run ID",
"Physics",
"",
"G4int");
114 (*store)[
"EventID"] =
115 G4AttDef(
"EventID",
"Event ID",
"Physics",
"",
"G4int");
122 std::vector<G4AttValue>* values =
new std::vector<G4AttValue>;
141 G4cout <<
"\nProvided G4Atts:\n" << attCheck;
144 std::vector<G4AttValue> standardValues;
145 std::map<G4String,G4AttDef> standardDefinitions;
146 attCheck.
Standard(&standardValues, &standardDefinitions);
147 G4cout <<
"\nStandard G4Atts:\n"
148 <<
G4AttCheck(&standardValues, &standardDefinitions);
159 G4cout <<
"\nProvided G4Atts:\n" << attCheck;
162 std::vector<G4AttValue> standardValues;
163 std::map<G4String,G4AttDef> standardDefinitions;
164 attCheck.
Standard(&standardValues, &standardDefinitions);
165 G4cout <<
"\nStandard G4Atts:\n"
166 <<
G4AttCheck(&standardValues, &standardDefinitions);
void G4TrajectoriesModelDebugG4AttValues(const G4VTrajectory *)
G4GLOB_DLL std::ostream G4cout
G4bool Check(const G4String &leader="") const
G4bool Standard(std::vector< G4AttValue > *standardValues, std::map< G4String, G4AttDef > *standardDefinitions) const
const G4Event * GetEvent() const
static G4RunManager * GetMasterRunManager()
const G4Run * GetCurrentRun() const
virtual void DescribeYourselfTo(G4VGraphicsScene &)
virtual ~G4TrajectoriesModel()
std::vector< G4AttValue > * CreateCurrentAttValues() const
const std::map< G4String, G4AttDef > * GetAttDefs() const
std::size_t entries() const
static G4String ConvertToString(G4bool boolVal)
virtual void AddCompound(const G4VTrajectory &)=0
G4String fGlobalDescription
const G4ModelingParameters * fpMP
virtual std::vector< G4AttValue > * CreateAttValues() const
virtual const std::map< G4String, G4AttDef > * GetAttDefs() const
virtual G4VTrajectoryPoint * GetPoint(G4int i) const =0
virtual G4int GetPointEntries() const =0
virtual std::vector< G4AttValue > * CreateAttValues() const
virtual const std::map< G4String, G4AttDef > * GetAttDefs() const
static G4VVisManager * GetConcreteInstance()
virtual void BeginDraw(const G4Transform3D &objectTransformation=G4Transform3D())=0
std::map< G4String, G4AttDef > * GetInstance(const G4String &storeKey, G4bool &isNew)