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

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

Definition at line 19 of file ActarSimSciGeantHit.hh.

Public Member Functions

 ActarSimSciGeantHit ()
 Constructor. Makes nothing. More...
 
 ~ActarSimSciGeantHit ()
 Destructor. Makes nothing. More...
 
 ActarSimSciGeantHit (const ActarSimSciGeantHit &)
 Copy constructor. More...
 
const ActarSimSciGeantHitoperator= (const ActarSimSciGeantHit &)
 Operator =. More...
 
G4int operator== (const ActarSimSciGeantHit &) 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 SetEdep (G4double de)
 
void SetPos (G4ThreeVector xyz)
 
void SetPrePos (G4ThreeVector xyz)
 
void SetLocalPos (G4ThreeVector xyz)
 
void SetLocalPrePos (G4ThreeVector xyz)
 
void SetDetName (G4String Name)
 
void SetPreDetName (G4String Name)
 
void SetPostDetName (G4String Name)
 
void SetDetID (G4int id)
 
void SetToF (G4double Time)
 
void SetTrackID (G4int track)
 
void SetParentID (G4int id)
 
void SetParticleID (G4int ID)
 
void SetParticleCharge (G4double charge)
 
void SetParticleMass (G4double mass)
 
G4double GetEdep ()
 
G4ThreeVector GetPos ()
 
G4ThreeVector GetPrePos ()
 
G4ThreeVector GetLocalPos ()
 
G4ThreeVector GetLocalPrePos ()
 
G4String GetDetName ()
 
G4String GetPreDetName ()
 
G4String GetPostDetName ()
 
G4int GetDetID ()
 
G4double GetToF ()
 
G4int GetTrackID ()
 
G4int GetParentID ()
 
G4int GetParticleID ()
 
G4double GetParticleCharge ()
 
G4double GetParticleMass ()
 

Private Attributes

G4double edep
 Energy deposited in the step. More...
 
G4ThreeVector pos
 PostStep position of the step. More...
 
G4ThreeVector prePos
 PreStep position of the step. More...
 
G4ThreeVector localPos
 Local (for the given detName and detID) coordinates of interaction (postStep) More...
 
G4ThreeVector localPrePos
 Local (for the given detName and detID) coordinates of interaction (preStep) More...
 
G4String detName
 Name of the volume where the interaction takes place. More...
 
G4String postDetName
 Name of the volume at the previous step. More...
 
G4String preDetName
 Name of the volume at the following step. More...
 
G4int detID
 ID (copy) of the detector where the interaction takes place. More...
 
G4double toF
 ToF of the interaction (postStep) More...
 
G4int trackID
 Particle trackID. More...
 
G4int parentID
 Particle parent track ID. More...
 
G4int particleID
 Particle trackID. More...
 
G4double particleCharge
 Particle charge. More...
 
G4double particleMass
 Particle mass. More...
 

#include <ActarSimSciGeantHit.hh>

+ Inheritance diagram for ActarSimSciGeantHit:
+ Collaboration diagram for ActarSimSciGeantHit:

Constructor & Destructor Documentation

ActarSimSciGeantHit::ActarSimSciGeantHit ( )

Constructor. Makes nothing.

Definition at line 29 of file ActarSimSciGeantHit.cc.

ActarSimSciGeantHit::~ActarSimSciGeantHit ( )

Destructor. Makes nothing.

Definition at line 34 of file ActarSimSciGeantHit.cc.

ActarSimSciGeantHit::ActarSimSciGeantHit ( const ActarSimSciGeantHit right)

Copy constructor.

Definition at line 39 of file ActarSimSciGeantHit.cc.

Member Function Documentation

void ActarSimSciGeantHit::Draw ( )

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

Definition at line 87 of file ActarSimSciGeantHit.cc.

G4int ActarSimSciGeantHit::GetDetID ( )
inline

Definition at line 87 of file ActarSimSciGeantHit.hh.

Referenced by ActarSimROOTAnalSci::AddCalCrystalHit().

G4String ActarSimSciGeantHit::GetDetName ( )
inline

Definition at line 84 of file ActarSimSciGeantHit.hh.

Referenced by ActarSimROOTAnalSci::AddCalCrystalHit().

G4double ActarSimSciGeantHit::GetEdep ( )
inline

Definition at line 77 of file ActarSimSciGeantHit.hh.

Referenced by ActarSimROOTAnalSci::AddCalCrystalHit().

G4ThreeVector ActarSimSciGeantHit::GetLocalPos ( )
inline

Definition at line 81 of file ActarSimSciGeantHit.hh.

G4ThreeVector ActarSimSciGeantHit::GetLocalPrePos ( )
inline

Definition at line 82 of file ActarSimSciGeantHit.hh.

G4int ActarSimSciGeantHit::GetParentID ( )
inline

Definition at line 92 of file ActarSimSciGeantHit.hh.

G4double ActarSimSciGeantHit::GetParticleCharge ( )
inline

Definition at line 95 of file ActarSimSciGeantHit.hh.

Referenced by ActarSimROOTAnalSci::AddCalCrystalHit().

G4int ActarSimSciGeantHit::GetParticleID ( )
inline

Definition at line 94 of file ActarSimSciGeantHit.hh.

Referenced by ActarSimROOTAnalSci::AddCalCrystalHit().

G4double ActarSimSciGeantHit::GetParticleMass ( )
inline

Definition at line 96 of file ActarSimSciGeantHit.hh.

Referenced by ActarSimROOTAnalSci::AddCalCrystalHit().

G4ThreeVector ActarSimSciGeantHit::GetPos ( )
inline

Definition at line 79 of file ActarSimSciGeantHit.hh.

G4String ActarSimSciGeantHit::GetPostDetName ( )
inline

Definition at line 86 of file ActarSimSciGeantHit.hh.

G4String ActarSimSciGeantHit::GetPreDetName ( )
inline

Definition at line 85 of file ActarSimSciGeantHit.hh.

G4ThreeVector ActarSimSciGeantHit::GetPrePos ( )
inline

Definition at line 80 of file ActarSimSciGeantHit.hh.

G4double ActarSimSciGeantHit::GetToF ( )
inline

Definition at line 89 of file ActarSimSciGeantHit.hh.

Referenced by ActarSimROOTAnalSci::AddCalCrystalHit().

G4int ActarSimSciGeantHit::GetTrackID ( )
inline

Definition at line 91 of file ActarSimSciGeantHit.hh.

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

Definition at line 109 of file ActarSimSciGeantHit.hh.

void * ActarSimSciGeantHit::operator new ( size_t  )
inline

Definition at line 103 of file ActarSimSciGeantHit.hh.

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

Operator =.

Definition at line 59 of file ActarSimSciGeantHit.cc.

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

Operator ==.

Definition at line 81 of file ActarSimSciGeantHit.cc.

void ActarSimSciGeantHit::Print ( )

Prints full information about the calGeantHit.

Definition at line 102 of file ActarSimSciGeantHit.cc.

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

Definition at line 66 of file ActarSimSciGeantHit.hh.

Referenced by ActarSimSciSD::ProcessHits().

void ActarSimSciGeantHit::SetDetName ( G4String  Name)
inline

Definition at line 63 of file ActarSimSciGeantHit.hh.

Referenced by ActarSimSciSD::ProcessHits().

void ActarSimSciGeantHit::SetEdep ( G4double  de)
inline

Definition at line 56 of file ActarSimSciGeantHit.hh.

Referenced by ActarSimSciSD::ProcessHits().

void ActarSimSciGeantHit::SetLocalPos ( G4ThreeVector  xyz)
inline

Definition at line 60 of file ActarSimSciGeantHit.hh.

Referenced by ActarSimSciSD::ProcessHits().

void ActarSimSciGeantHit::SetLocalPrePos ( G4ThreeVector  xyz)
inline

Definition at line 61 of file ActarSimSciGeantHit.hh.

Referenced by ActarSimSciSD::ProcessHits().

void ActarSimSciGeantHit::SetParentID ( G4int  id)
inline

Definition at line 71 of file ActarSimSciGeantHit.hh.

Referenced by ActarSimSciSD::ProcessHits().

void ActarSimSciGeantHit::SetParticleCharge ( G4double  charge)
inline

Definition at line 74 of file ActarSimSciGeantHit.hh.

Referenced by ActarSimSciSD::ProcessHits().

void ActarSimSciGeantHit::SetParticleID ( G4int  ID)
inline

Definition at line 73 of file ActarSimSciGeantHit.hh.

Referenced by ActarSimSciSD::ProcessHits().

void ActarSimSciGeantHit::SetParticleMass ( G4double  mass)
inline

Definition at line 75 of file ActarSimSciGeantHit.hh.

Referenced by ActarSimSciSD::ProcessHits().

void ActarSimSciGeantHit::SetPos ( G4ThreeVector  xyz)
inline

Definition at line 58 of file ActarSimSciGeantHit.hh.

Referenced by ActarSimSciSD::ProcessHits().

void ActarSimSciGeantHit::SetPostDetName ( G4String  Name)
inline

Definition at line 65 of file ActarSimSciGeantHit.hh.

Referenced by ActarSimSciSD::ProcessHits().

void ActarSimSciGeantHit::SetPreDetName ( G4String  Name)
inline

Definition at line 64 of file ActarSimSciGeantHit.hh.

Referenced by ActarSimSciSD::ProcessHits().

void ActarSimSciGeantHit::SetPrePos ( G4ThreeVector  xyz)
inline

Definition at line 59 of file ActarSimSciGeantHit.hh.

Referenced by ActarSimSciSD::ProcessHits().

void ActarSimSciGeantHit::SetToF ( G4double  Time)
inline

Definition at line 68 of file ActarSimSciGeantHit.hh.

Referenced by ActarSimSciSD::ProcessHits().

void ActarSimSciGeantHit::SetTrackID ( G4int  track)
inline

Definition at line 70 of file ActarSimSciGeantHit.hh.

Referenced by ActarSimSciSD::ProcessHits().

Member Data Documentation

G4int ActarSimSciGeantHit::detID
private

ID (copy) of the detector where the interaction takes place.

Definition at line 31 of file ActarSimSciGeantHit.hh.

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

G4String ActarSimSciGeantHit::detName
private

Name of the volume where the interaction takes place.

Definition at line 28 of file ActarSimSciGeantHit.hh.

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

G4double ActarSimSciGeantHit::edep
private

Energy deposited in the step.

Definition at line 21 of file ActarSimSciGeantHit.hh.

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

G4ThreeVector ActarSimSciGeantHit::localPos
private

Local (for the given detName and detID) coordinates of interaction (postStep)

Definition at line 25 of file ActarSimSciGeantHit.hh.

Referenced by ActarSimSciGeantHit(), GetLocalPos(), operator=(), and Print().

G4ThreeVector ActarSimSciGeantHit::localPrePos
private

Local (for the given detName and detID) coordinates of interaction (preStep)

Definition at line 26 of file ActarSimSciGeantHit.hh.

Referenced by ActarSimSciGeantHit(), GetLocalPrePos(), operator=(), and Print().

G4int ActarSimSciGeantHit::parentID
private

Particle parent track ID.

Definition at line 36 of file ActarSimSciGeantHit.hh.

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

G4double ActarSimSciGeantHit::particleCharge
private

Particle charge.

Definition at line 39 of file ActarSimSciGeantHit.hh.

Referenced by ActarSimSciGeantHit(), GetParticleCharge(), operator=(), and Print().

G4int ActarSimSciGeantHit::particleID
private

Particle trackID.

Definition at line 38 of file ActarSimSciGeantHit.hh.

Referenced by ActarSimSciGeantHit(), GetParticleID(), operator=(), and Print().

G4double ActarSimSciGeantHit::particleMass
private

Particle mass.

Definition at line 40 of file ActarSimSciGeantHit.hh.

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

G4ThreeVector ActarSimSciGeantHit::pos
private

PostStep position of the step.

Definition at line 23 of file ActarSimSciGeantHit.hh.

Referenced by ActarSimSciGeantHit(), Draw(), GetPos(), operator=(), and Print().

G4String ActarSimSciGeantHit::postDetName
private

Name of the volume at the previous step.

Definition at line 29 of file ActarSimSciGeantHit.hh.

Referenced by ActarSimSciGeantHit(), GetPostDetName(), operator=(), and Print().

G4String ActarSimSciGeantHit::preDetName
private

Name of the volume at the following step.

Definition at line 30 of file ActarSimSciGeantHit.hh.

Referenced by ActarSimSciGeantHit(), GetPreDetName(), operator=(), and Print().

G4ThreeVector ActarSimSciGeantHit::prePos
private

PreStep position of the step.

Definition at line 24 of file ActarSimSciGeantHit.hh.

Referenced by ActarSimSciGeantHit(), GetPrePos(), operator=(), and Print().

G4double ActarSimSciGeantHit::toF
private

ToF of the interaction (postStep)

Definition at line 33 of file ActarSimSciGeantHit.hh.

Referenced by ActarSimSciGeantHit(), GetToF(), operator=(), and Print().

G4int ActarSimSciGeantHit::trackID
private

Particle trackID.

Definition at line 35 of file ActarSimSciGeantHit.hh.

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


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