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" 86 return (
this==&right) ? 1 : 0;
92 G4VVisManager* pVVisManager = G4VVisManager::GetConcreteInstance();
95 circle.SetScreenSize(4);
96 circle.SetFillStyle(G4Circle::filled);
97 G4Colour colour(1.,0.,0.);
98 G4VisAttributes attribs(colour);
99 circle.SetVisAttributes(attribs);
100 pVVisManager->Draw(circle);
107 G4cout <<
"##################################################################" 109 <<
"############### ActarSimSilRingGeantHit::Print() ###################" << G4endl
114 G4cout <<
"detID: " <<
detID 119 G4cout <<
"edep: " <<
edep / MeV <<
" MeV" 120 <<
", pos: " <<
pos <<
" mm" << G4endl
121 <<
", prePos: " <<
prePos <<
" mm" << G4endl;
122 G4cout <<
"toF: " <<
toF / ns <<
" ns" <<
", localPos: " <<
localPos <<
" mm" 123 <<
", localPrePos: " <<
localPrePos <<
" mm" << G4endl;
124 G4cout <<
"##################################################################" ActarSimSilRingGeantHit()
Constructor. Nothing to do.
const ActarSimSilRingGeantHit & operator=(const ActarSimSilRingGeantHit &)
Operator =.
G4ThreeVector prePos
PreStep position of the step.
void Draw()
Draws the Hit. A clear red point on the Hit position.
G4ThreeVector localPos
Local (for the given detName and detID) coordinates of interaction (postStep)
G4String detName
Name of the volume where the interaction takes place.
G4int particleID
Particle ID.
G4double particleCharge
Particle charge.
G4double eAfterSil
Energy when exiting silicon.
G4ThreeVector localPrePos
Local (for the given detName and detID) coordinates of interaction (postStep)
G4Allocator< ActarSimSilRingGeantHit > ActarSimSilRingGeantHitAllocator
G4double toF
ToF of the interaction (postStep)
G4int operator==(const ActarSimSilRingGeantHit &) const
Operator ==.
G4String preDetName
Name of the volume at the following step.
G4double particleMass
Particle mass.
G4double eBeforeSil
Energy before entering silicon.
G4double edep
Energy deposited in the step.
void Print()
Prints full information about the calGeantHit.
G4ThreeVector pos
PostStep position of the step.
G4String postDetName
Name of the volume at the previous step.
~ActarSimSilRingGeantHit()
Destructor. Nothing to do.
G4int detID
ID (copy) of the detector where the interaction takes place.