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;
144 strColour = colourNeutronFlag;
145 }
else if (name==
"gamma") {
146 if(drawTrksFlag==
"charged")
return;
147 strColour = colourGammaFlag;
148 }
else if (name==
"opticalphoton") {
149 if(drawTrksFlag!=
"all")
return;
150 strColour = colourOpticalFlag;
152 else if (name==
"alpha" || name==
"e+")
153 strColour = colourChargedPlusFlag;
155 strColour = colourChargedMinusFlag;
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);
virtual void Draw(const G4Circle &, const G4Transform3D &objectTransformation=G4Transform3D())=0
G4ParticleDefinition * GetDefinition() const
static G4VVisManager * GetConcreteInstance()
static G4Electron * Definition()
static G4Positron * Definition()
const G4String & GetParticleName() const
G4StepPoint * GetPreStepPoint() const
G4int GetCurrentStepNumber() const
const G4ThreeVector & GetPosition() const
const G4UserEventAction * GetUserEventAction() const
void SetVisAttributes(const G4VisAttributes *)
static G4RunManager * GetRunManager()
G4bool FillH1(G4int id, G4double value, G4double weight=1.0)
G4StepPoint * GetPostStepPoint() const
static G4Neutron * Definition()
G4double GetKineticEnergy() const
G4String GetDrawColsFlag() const
G4Track * GetTrack() const
static G4Gamma * Definition()
G4String GetDrawTrksFlag() const