45 fDrawingModeSet(false),
47 fpCurrentTrajectory(0)
49 fType =
"G4TrajectoriesModel";
50 fGlobalTag =
"G4TrajectoriesModel for all trajectories.";
55 fDrawingModeSet(true),
56 fDrawingMode(drawingMode),
57 fpCurrentTrajectory(0) {
58 fGlobalTag =
"G4TrajectoriesModel for all trajectories.";
76 if (!pVVisManager)
return;
78 fEventID =
event->GetEventID();
86 fpCurrentTrajectory = (*TC) [iT];
91 if (fpCurrentTrajectory)
99 return fDrawingModeSet;
104 if (fDrawingModeSet)
return fDrawingMode;
107 (
"G4TrajectoriesModel::GetDrawingMode",
110 "Illegal attempt to obtain i_mode."
111 "\n i_mode is an old trajectories parameter that is DEPRECATED"
112 "\n and will be removed at the next major release."
120 if (fDrawingModeSet) fDrawingMode = drawingMode;
123 (
"G4TrajectoriesModel::SetDrawingMode",
126 "Illegal attempt to set i_mode."
127 "\n i_mode is an old trajectories parameter that is DEPRECATED"
128 "\n and will be removed at the next major release."
136 std::map<G4String,G4AttDef>* store
139 (*store)[
"EventID"] =
140 G4AttDef(
"EventID",
"Event ID",
"Physics",
"",
"G4int");
147 std::vector<G4AttValue>* values =
new std::vector<G4AttValue>;
164 G4cout <<
"\nProvided G4Atts:\n" << attCheck;
167 std::vector<G4AttValue> standardValues;
168 std::map<G4String,G4AttDef> standardDefinitions;
169 attCheck.Standard(&standardValues, &standardDefinitions);
170 G4cout <<
"\nStandard G4Atts:\n"
171 <<
G4AttCheck(&standardValues, &standardDefinitions);
182 G4cout <<
"\nProvided G4Atts:\n" << attCheck;
185 std::vector<G4AttValue> standardValues;
186 std::map<G4String,G4AttDef> standardDefinitions;
187 attCheck.Standard(&standardValues, &standardDefinitions);
188 G4cout <<
"\nStandard G4Atts:\n"
189 <<
G4AttCheck(&standardValues, &standardDefinitions);