17 #include "G4UnitsTable.hh" 18 #include "G4VVisManager.hh" 19 #include "G4Circle.hh" 20 #include "G4Colour.hh" 21 #include "G4VisAttributes.hh" 23 #include "G4PhysicalConstants.hh" 24 #include "G4SystemOfUnits.hh" 81 return (
this==&right) ? 1 : 0;
87 G4VVisManager* pVVisManager = G4VVisManager::GetConcreteInstance();
90 circle.SetScreenSize(4);
91 circle.SetFillStyle(G4Circle::filled);
92 G4Colour colour(1.,0.,0.);
93 G4VisAttributes attribs(colour);
94 circle.SetVisAttributes(attribs);
95 pVVisManager->Draw(circle);
102 G4cout <<
"##################################################################" 104 <<
"############ ActarSimGasGeantHit::Print() ################" << G4endl
107 <<
", detID: " <<
detID 108 <<
", detName: " <<
detName << G4endl;
109 G4cout <<
"edep: " <<
edep / MeV <<
" MeV" 113 <<
", stepLength: " <<
stepLength / mm <<
" mm" 114 <<
", preToF: " <<
preToF / ns <<
" ns" 115 <<
", posToF: " <<
postToF / ns <<
" ns" << G4endl;
116 G4cout <<
"##################################################################" const ActarSimGasGeantHit & operator=(const ActarSimGasGeantHit &)
Operator =.
G4ThreeVector postPos
Position after step.
G4double particleMass
Mass of the particle.
void Print()
Prints full information about the calGeantHit.
void Draw()
Draws the Hit. A clear red point on the Hit position.
G4Allocator< ActarSimGasGeantHit > ActarSimGasGeantHitAllocator
G4int operator==(const ActarSimGasGeantHit &) const
Operator ==.
G4double particleCharge
Charge of the particle.
G4double postToF
Time after step.
G4int parentID
ID for the parent track.
~ActarSimGasGeantHit()
Destructor.
ActarSimGasGeantHit()
Constructor.
G4int trackID
ID for each track.
G4ThreeVector prePos
Position before step.
G4double stepLength
Length of the step.
G4int particleID
Particle ID according to the GDP-coding.
G4double stepEnergy
Particle energy before step.
G4String detName
Detector name where energy is deposited.
G4double edep
Energy deposited.
G4double preToF
Time before step.