69 : evtAction(eventAction) {
111 man->
FillH1(8,partEnergy);
113 man->
FillH1(9,partEnergy);
115 man->
FillH1(10,partEnergy);
117 man->
FillH1(11,partEnergy);
119 man->
FillH1(12,partEnergy);
128 if (drawColsFlag==
"custom" && drawTrksFlag!=
"none") {
137 if(name==
"neutron") {
138 if(drawTrksFlag==
"charged")
return;
140 }
else if (name==
"gamma") {
141 if(drawTrksFlag==
"charged")
return;
143 }
else if (name==
"opticalphoton") {
144 if(drawTrksFlag!=
"all")
return;
147 else if (name==
"alpha" || name==
"e+")
154 if (strColour==
"white") colour=
G4Colour(1.0, 1.0, 1.0);
155 else if(strColour==
"grey" ) colour=
G4Colour(0.5, 0.5, 0.5);
156 else if(strColour==
"lgrey") colour=
G4Colour(.75, .75, .75);
157 else if(strColour==
"black") colour=
G4Colour(0.0, 0.0, 0.0);
158 else if(strColour==
"red") colour=
G4Colour(1.0, 0.0, 0.0);
159 else if(strColour==
"green") colour=
G4Colour(0.0, 1.0, 0.0);
160 else if(strColour==
"blue") colour=
G4Colour(0.0, 0.0, 1.0);
161 else if(strColour==
"cyan") colour=
G4Colour(0.0, 1.0, 1.0);
162 else if(strColour==
"magenta") colour=
G4Colour(1.0, 0.0, 1.0);
163 else if(strColour==
"yellow") colour=
G4Colour(1.0, 1.0, 0.0);
164 else if(strColour==
"lgreen") colour=
G4Colour(0.0, .75, 0.0);
165 else if(strColour==
"lblue") colour=
G4Colour(0.0, 0.0, .75);
166 else colour=
G4Colour(1.0, 1.0, 1.0);
176 polyline.push_back(start);
177 polyline.push_back(end);
178 pVVisManager->
Draw(polyline);
G4String GetDrawTrksFlag()
virtual void Draw(const G4Circle &, const G4Transform3D &objectTransformation=G4Transform3D())=0
G4ParticleDefinition * GetDefinition() const
G4String colourChargedPlusFlag
static G4VVisManager * GetConcreteInstance()
virtual ~DMXSteppingAction()
static G4Electron * Definition()
DMXEventAction * evtAction
HepGeom::Point3D< G4double > G4Point3D
G4String colourOpticalFlag
static G4Positron * Definition()
const G4String & GetParticleName() const
DMXSteppingAction(DMXEventAction *)
G4StepPoint * GetPreStepPoint() const
G4int GetCurrentStepNumber() const
const G4ThreeVector & GetPosition() const
void SetVisAttributes(const G4VisAttributes *)
G4String colourNeutronFlag
virtual void UserSteppingAction(const G4Step *)
G4bool FillH1(G4int id, G4double value, G4double weight=1.0)
G4StepPoint * GetPostStepPoint() const
static G4Neutron * Definition()
DMXSteppingActionMessenger * steppingMessenger
G4double GetKineticEnergy() const
G4String colourChargedMinusFlag
G4Track * GetTrack() const
G4String GetDrawColsFlag()
static G4Gamma * Definition()