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 <<
"############### ActarSimSciRingGeantHit::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 prePos
Position of the end of the step.
ActarSimSciRingGeantHit()
Constructor. Makes nothing.
G4int particleID
Particle ID.
void Draw()
Draws the Hit. A clear red point on the Hit position.
G4ThreeVector pos
Position of the start of the step.
G4String preDetName
Name of the volume at the following step.
G4int detID
ID (copy) of the detector where the interaction takes place.
G4double edep
Energy deposited in the step.
G4int trackID
TrackID of the particle.
G4String detName
Name of the volume where the interaction takes place.
void Print()
Prints full information about the calGeantHit.
G4int parentID
Particle parent ID.
G4String postDetName
Name of the volume at the previous step.
G4ThreeVector localPrePos
Local (for the given detName and detID) coordinates of interaction (postStep)
G4ThreeVector localPos
LLcal (for the given detName and detID) coordinates of interaction (postStep)
G4double particleMass
Particle mass.
~ActarSimSciRingGeantHit()
Destructor. Makes nothing.
const ActarSimSciRingGeantHit & operator=(const ActarSimSciRingGeantHit &)
Operator =.
G4double toF
ToF of the interaction (postStep)
G4double particleCharge
Particle charge.
G4Allocator< ActarSimSciRingGeantHit > ActarSimSciRingGeantHitAllocator
G4int operator==(const ActarSimSciRingGeantHit &) const
Operator ==.