116 man->
FillH1(8,partEnergy);
118 man->
FillH1(9,partEnergy);
120 man->
FillH1(10,partEnergy);
122 man->
FillH1(11,partEnergy);
124 man->
FillH1(12,partEnergy);
133 if (drawColsFlag==
"custom" && drawTrksFlag!=
"none") {
142 if(name==
"neutron") {
143 if(drawTrksFlag==
"charged")
return;
145 }
else if (name==
"gamma") {
146 if(drawTrksFlag==
"charged")
return;
148 }
else if (name==
"opticalphoton") {
149 if(drawTrksFlag!=
"all")
return;
152 else if (name==
"alpha" || name==
"e+")
159 if (strColour==
"white") colour=
G4Colour(1.0, 1.0, 1.0);
160 else if(strColour==
"grey" ) colour=
G4Colour(0.5, 0.5, 0.5);
161 else if(strColour==
"lgrey") colour=
G4Colour(.75, .75, .75);
162 else if(strColour==
"black") colour=
G4Colour(0.0, 0.0, 0.0);
163 else if(strColour==
"red") colour=
G4Colour(1.0, 0.0, 0.0);
164 else if(strColour==
"green") colour=
G4Colour(0.0, 1.0, 0.0);
165 else if(strColour==
"blue") colour=
G4Colour(0.0, 0.0, 1.0);
166 else if(strColour==
"cyan") colour=
G4Colour(0.0, 1.0, 1.0);
167 else if(strColour==
"magenta") colour=
G4Colour(1.0, 0.0, 1.0);
168 else if(strColour==
"yellow") colour=
G4Colour(1.0, 1.0, 0.0);
169 else if(strColour==
"lgreen") colour=
G4Colour(0.0, .75, 0.0);
170 else if(strColour==
"lblue") colour=
G4Colour(0.0, 0.0, .75);
171 else colour=
G4Colour(1.0, 1.0, 1.0);
181 polyline.push_back(start);
182 polyline.push_back(end);
183 pVVisManager->
Draw(polyline);
static G4RunManager * GetRunManager()
static G4Gamma * Definition()
const G4UserEventAction * GetUserEventAction() const
virtual void Draw(const G4Circle &, const G4Transform3D &objectTransformation=G4Transform3D())=0
static G4Neutron * Definition()
G4StepPoint * GetPreStepPoint() const
virtual ~DMXSteppingAction()
const G4String & GetParticleName() const
G4String GetDrawColsFlag() const
virtual void UserSteppingAction(const G4Step *)
G4int GetCurrentStepNumber() const
G4ParticleDefinition * GetDefinition() const
G4String colourOpticalFlag
static G4VVisManager * GetConcreteInstance()
DMXSteppingActionMessenger * steppingMessenger
const DMXEventAction * evtAction
const G4ThreeVector & GetPosition() const
G4Track * GetTrack() const
G4StepPoint * GetPostStepPoint() const
G4double GetKineticEnergy() const
static G4Electron * Definition()
G4String colourChargedMinusFlag
G4String colourChargedPlusFlag
G4String colourNeutronFlag
static G4Positron * Definition()
G4bool FillH1(G4int id, G4double value, G4double weight=1.0)
void SetVisAttributes(const G4VisAttributes *)
G4String GetDrawTrksFlag() const