16 #include "G4UnitsTable.hh" 17 #include "G4VVisManager.hh" 18 #include "G4Circle.hh" 19 #include "G4Colour.hh" 20 #include "G4VisAttributes.hh" 22 #include "G4PhysicalConstants.hh" 23 #include "G4SystemOfUnits.hh" 82 return (
this==&right) ? 1 : 0;
88 G4VVisManager* pVVisManager = G4VVisManager::GetConcreteInstance();
91 circle.SetScreenSize(4);
92 circle.SetFillStyle(G4Circle::filled);
93 G4Colour colour(1.,0.,0.);
94 G4VisAttributes attribs(colour);
95 circle.SetVisAttributes(attribs);
96 pVVisManager->Draw(circle);
103 G4cout <<
"##################################################################" 105 <<
"############### ActarSimSciGeantHit::Print() ###################" << G4endl
110 G4cout <<
"detID: " <<
detID 115 G4cout <<
"edep: " <<
edep / MeV <<
" MeV" 116 <<
", pos: " <<
pos <<
" mm" << G4endl
117 <<
", prePos: " <<
prePos <<
" mm" << G4endl;
118 G4cout <<
"toF: " <<
toF / ns <<
" ns" <<
", localPos: " <<
localPos <<
" mm" 119 <<
", localPrePos: " <<
localPrePos <<
" mm" << G4endl;
120 G4cout <<
"##################################################################" G4ThreeVector localPrePos
Local (for the given detName and detID) coordinates of interaction (preStep)
G4double particleMass
Particle mass.
G4ThreeVector prePos
PreStep position of the step.
G4int operator==(const ActarSimSciGeantHit &) const
Operator ==.
G4String detName
Name of the volume where the interaction takes place.
void Draw()
Draws the Hit. A clear red point on the Hit position.
G4double particleCharge
Particle charge.
void Print()
Prints full information about the calGeantHit.
G4int detID
ID (copy) of the detector where the interaction takes place.
G4ThreeVector pos
PostStep position of the step.
G4int parentID
Particle parent track ID.
G4double toF
ToF of the interaction (postStep)
G4ThreeVector localPos
Local (for the given detName and detID) coordinates of interaction (postStep)
G4String postDetName
Name of the volume at the previous step.
const ActarSimSciGeantHit & operator=(const ActarSimSciGeantHit &)
Operator =.
G4int particleID
Particle trackID.
ActarSimSciGeantHit()
Constructor. Makes nothing.
G4String preDetName
Name of the volume at the following step.
G4int trackID
Particle trackID.
G4double edep
Energy deposited in the step.
G4Allocator< ActarSimSciGeantHit > ActarSimSciGeantHitAllocator
~ActarSimSciGeantHit()
Destructor. Makes nothing.