ACTARSim
ACTAR TPC Simulation Reference Guide
Public Member Functions | Private Attributes | List of all members
ActarSimGasGeantHit Class Reference

A Geant Hit in the calorimeter volume. It represents the information of each step with energy deposited in the calorimeter volume.

Definition at line 19 of file ActarSimGasGeantHit.hh.

Public Member Functions

 ActarSimGasGeantHit ()
 Constructor. More...
 
 ~ActarSimGasGeantHit ()
 Destructor. More...
 
 ActarSimGasGeantHit (const ActarSimGasGeantHit &)
 Copy constructor. More...
 
const ActarSimGasGeantHitoperator= (const ActarSimGasGeantHit &)
 Operator =. More...
 
G4int operator== (const ActarSimGasGeantHit &) const
 Operator ==. More...
 
void * operator new (size_t)
 
void operator delete (void *)
 
void Draw ()
 Draws the Hit. A clear red point on the Hit position. More...
 
void Print ()
 Prints full information about the calGeantHit. More...
 
void PrinttoFile ()
 
void SetTrackID (G4int track)
 
void SetParentID (G4int track)
 
void SetEdep (G4double de)
 
void SetParticleCharge (G4double pc)
 
void SetParticleMass (G4double pm)
 
void SetParticleID (G4int pi)
 
void SetPrePos (G4ThreeVector xyz)
 
void SetPostPos (G4ThreeVector xyz)
 
void SetPreToF (G4double Time)
 
void SetPostToF (G4double Time)
 
void SetDetName (G4String Name)
 
void SetDetID (G4int id)
 
void SetStepLength (G4double len)
 
void SetStepEnergy (G4double sten)
 
G4int GetTrackID ()
 
G4int GetParentID ()
 
G4double GetEdep ()
 
G4double GetParticleCharge ()
 
G4double GetParticleMass ()
 
G4int GetParticleID ()
 
G4ThreeVector GetPrePos ()
 
G4ThreeVector GetPostPos ()
 
G4String GetDetName ()
 
G4int GetDetID ()
 
G4double GetPreToF ()
 
G4double GetPostToF ()
 
G4double GetStepLength ()
 
G4double GetStepEnergy ()
 

Private Attributes

G4int trackID
 ID for each track. More...
 
G4int parentID
 ID for the parent track. More...
 
G4double edep
 Energy deposited. More...
 
G4double particleCharge
 Charge of the particle. More...
 
G4double particleMass
 Mass of the particle. More...
 
G4int particleID
 Particle ID according to the GDP-coding. More...
 
G4ThreeVector postPos
 Position after step. More...
 
G4ThreeVector prePos
 Position before step. More...
 
G4String detName
 Detector name where energy is deposited. More...
 
G4int detID
 Detector ID. More...
 
G4double preToF
 Time before step. More...
 
G4double postToF
 Time after step. More...
 
G4double stepLength
 Length of the step. More...
 
G4double stepEnergy
 Particle energy before step. More...
 

#include <ActarSimGasGeantHit.hh>

+ Inheritance diagram for ActarSimGasGeantHit:
+ Collaboration diagram for ActarSimGasGeantHit:

Constructor & Destructor Documentation

ActarSimGasGeantHit::ActarSimGasGeantHit ( )

Constructor.

Definition at line 30 of file ActarSimGasGeantHit.cc.

ActarSimGasGeantHit::~ActarSimGasGeantHit ( )

Destructor.

Definition at line 35 of file ActarSimGasGeantHit.cc.

ActarSimGasGeantHit::ActarSimGasGeantHit ( const ActarSimGasGeantHit right)

Copy constructor.

Definition at line 40 of file ActarSimGasGeantHit.cc.

Member Function Documentation

void ActarSimGasGeantHit::Draw ( )

Draws the Hit. A clear red point on the Hit position.

Definition at line 86 of file ActarSimGasGeantHit.cc.

G4int ActarSimGasGeantHit::GetDetID ( )
inline

Definition at line 77 of file ActarSimGasGeantHit.hh.

G4String ActarSimGasGeantHit::GetDetName ( )
inline

Definition at line 76 of file ActarSimGasGeantHit.hh.

G4double ActarSimGasGeantHit::GetEdep ( )
inline

Definition at line 70 of file ActarSimGasGeantHit.hh.

G4int ActarSimGasGeantHit::GetParentID ( )
inline

Definition at line 68 of file ActarSimGasGeantHit.hh.

G4double ActarSimGasGeantHit::GetParticleCharge ( )
inline

Definition at line 71 of file ActarSimGasGeantHit.hh.

G4int ActarSimGasGeantHit::GetParticleID ( )
inline

Definition at line 73 of file ActarSimGasGeantHit.hh.

G4double ActarSimGasGeantHit::GetParticleMass ( )
inline

Definition at line 72 of file ActarSimGasGeantHit.hh.

G4ThreeVector ActarSimGasGeantHit::GetPostPos ( )
inline

Definition at line 75 of file ActarSimGasGeantHit.hh.

G4double ActarSimGasGeantHit::GetPostToF ( )
inline

Definition at line 79 of file ActarSimGasGeantHit.hh.

G4ThreeVector ActarSimGasGeantHit::GetPrePos ( )
inline

Definition at line 74 of file ActarSimGasGeantHit.hh.

G4double ActarSimGasGeantHit::GetPreToF ( )
inline

Definition at line 78 of file ActarSimGasGeantHit.hh.

G4double ActarSimGasGeantHit::GetStepEnergy ( )
inline

Definition at line 81 of file ActarSimGasGeantHit.hh.

G4double ActarSimGasGeantHit::GetStepLength ( )
inline

Definition at line 80 of file ActarSimGasGeantHit.hh.

G4int ActarSimGasGeantHit::GetTrackID ( )
inline

Definition at line 67 of file ActarSimGasGeantHit.hh.

void ActarSimGasGeantHit::operator delete ( void *  aHit)
inline

Definition at line 94 of file ActarSimGasGeantHit.hh.

void * ActarSimGasGeantHit::operator new ( size_t  )
inline

Definition at line 88 of file ActarSimGasGeantHit.hh.

const ActarSimGasGeantHit & ActarSimGasGeantHit::operator= ( const ActarSimGasGeantHit right)

Operator =.

Definition at line 59 of file ActarSimGasGeantHit.cc.

G4int ActarSimGasGeantHit::operator== ( const ActarSimGasGeantHit right) const

Operator ==.

Definition at line 80 of file ActarSimGasGeantHit.cc.

void ActarSimGasGeantHit::Print ( )

Prints full information about the calGeantHit.

Definition at line 101 of file ActarSimGasGeantHit.cc.

void ActarSimGasGeantHit::PrinttoFile ( )
void ActarSimGasGeantHit::SetDetID ( G4int  id)
inline

Definition at line 63 of file ActarSimGasGeantHit.hh.

Referenced by ActarSimGasSD::ProcessHits().

void ActarSimGasGeantHit::SetDetName ( G4String  Name)
inline

Definition at line 62 of file ActarSimGasGeantHit.hh.

Referenced by ActarSimGasSD::ProcessHits().

void ActarSimGasGeantHit::SetEdep ( G4double  de)
inline

Definition at line 54 of file ActarSimGasGeantHit.hh.

Referenced by ActarSimGasSD::ProcessHits().

void ActarSimGasGeantHit::SetParentID ( G4int  track)
inline

Definition at line 52 of file ActarSimGasGeantHit.hh.

Referenced by ActarSimGasSD::ProcessHits().

void ActarSimGasGeantHit::SetParticleCharge ( G4double  pc)
inline

Definition at line 55 of file ActarSimGasGeantHit.hh.

Referenced by ActarSimGasSD::ProcessHits().

void ActarSimGasGeantHit::SetParticleID ( G4int  pi)
inline

Definition at line 57 of file ActarSimGasGeantHit.hh.

Referenced by ActarSimGasSD::ProcessHits().

void ActarSimGasGeantHit::SetParticleMass ( G4double  pm)
inline

Definition at line 56 of file ActarSimGasGeantHit.hh.

Referenced by ActarSimGasSD::ProcessHits().

void ActarSimGasGeantHit::SetPostPos ( G4ThreeVector  xyz)
inline

Definition at line 59 of file ActarSimGasGeantHit.hh.

Referenced by ActarSimGasSD::ProcessHits().

void ActarSimGasGeantHit::SetPostToF ( G4double  Time)
inline

Definition at line 61 of file ActarSimGasGeantHit.hh.

Referenced by ActarSimGasSD::ProcessHits().

void ActarSimGasGeantHit::SetPrePos ( G4ThreeVector  xyz)
inline

Definition at line 58 of file ActarSimGasGeantHit.hh.

Referenced by ActarSimGasSD::ProcessHits().

void ActarSimGasGeantHit::SetPreToF ( G4double  Time)
inline

Definition at line 60 of file ActarSimGasGeantHit.hh.

Referenced by ActarSimGasSD::ProcessHits().

void ActarSimGasGeantHit::SetStepEnergy ( G4double  sten)
inline

Definition at line 65 of file ActarSimGasGeantHit.hh.

Referenced by ActarSimGasSD::ProcessHits().

void ActarSimGasGeantHit::SetStepLength ( G4double  len)
inline

Definition at line 64 of file ActarSimGasGeantHit.hh.

Referenced by ActarSimGasSD::ProcessHits().

void ActarSimGasGeantHit::SetTrackID ( G4int  track)
inline

Definition at line 51 of file ActarSimGasGeantHit.hh.

Referenced by ActarSimGasSD::ProcessHits().

Member Data Documentation

G4int ActarSimGasGeantHit::detID
private

Detector ID.

Definition at line 31 of file ActarSimGasGeantHit.hh.

Referenced by ActarSimGasGeantHit(), GetDetID(), operator=(), and Print().

G4String ActarSimGasGeantHit::detName
private

Detector name where energy is deposited.

Definition at line 30 of file ActarSimGasGeantHit.hh.

Referenced by ActarSimGasGeantHit(), GetDetName(), operator=(), and Print().

G4double ActarSimGasGeantHit::edep
private

Energy deposited.

Definition at line 24 of file ActarSimGasGeantHit.hh.

Referenced by ActarSimGasGeantHit(), GetEdep(), operator=(), and Print().

G4int ActarSimGasGeantHit::parentID
private

ID for the parent track.

Definition at line 22 of file ActarSimGasGeantHit.hh.

Referenced by ActarSimGasGeantHit(), GetParentID(), operator=(), and Print().

G4double ActarSimGasGeantHit::particleCharge
private

Charge of the particle.

Definition at line 25 of file ActarSimGasGeantHit.hh.

Referenced by ActarSimGasGeantHit(), GetParticleCharge(), and operator=().

G4int ActarSimGasGeantHit::particleID
private

Particle ID according to the GDP-coding.

Definition at line 27 of file ActarSimGasGeantHit.hh.

Referenced by ActarSimGasGeantHit(), GetParticleID(), and operator=().

G4double ActarSimGasGeantHit::particleMass
private

Mass of the particle.

Definition at line 26 of file ActarSimGasGeantHit.hh.

Referenced by ActarSimGasGeantHit(), GetParticleMass(), and operator=().

G4ThreeVector ActarSimGasGeantHit::postPos
private

Position after step.

Definition at line 28 of file ActarSimGasGeantHit.hh.

Referenced by ActarSimGasGeantHit(), GetPostPos(), operator=(), and Print().

G4double ActarSimGasGeantHit::postToF
private

Time after step.

Definition at line 33 of file ActarSimGasGeantHit.hh.

Referenced by ActarSimGasGeantHit(), GetPostToF(), operator=(), and Print().

G4ThreeVector ActarSimGasGeantHit::prePos
private

Position before step.

Definition at line 29 of file ActarSimGasGeantHit.hh.

Referenced by ActarSimGasGeantHit(), Draw(), GetPrePos(), operator=(), and Print().

G4double ActarSimGasGeantHit::preToF
private

Time before step.

Definition at line 32 of file ActarSimGasGeantHit.hh.

Referenced by ActarSimGasGeantHit(), GetPreToF(), operator=(), and Print().

G4double ActarSimGasGeantHit::stepEnergy
private

Particle energy before step.

Definition at line 35 of file ActarSimGasGeantHit.hh.

Referenced by ActarSimGasGeantHit(), GetStepEnergy(), operator=(), and Print().

G4double ActarSimGasGeantHit::stepLength
private

Length of the step.

Definition at line 34 of file ActarSimGasGeantHit.hh.

Referenced by ActarSimGasGeantHit(), GetStepLength(), operator=(), and Print().

G4int ActarSimGasGeantHit::trackID
private

ID for each track.

Definition at line 21 of file ActarSimGasGeantHit.hh.

Referenced by ActarSimGasGeantHit(), GetTrackID(), operator=(), and Print().


The documentation for this class was generated from the following files: