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

A Geant Hit in the plastic (scintillator) volume. It represents the information of each step with energy deposited.

Definition at line 19 of file ActarSimPlaGeantHit.hh.

Public Member Functions

 ActarSimPlaGeantHit ()
 Constructor. More...
 
 ~ActarSimPlaGeantHit ()
 Destructor. More...
 
 ActarSimPlaGeantHit (const ActarSimPlaGeantHit &)
 Copy constructor. More...
 
const ActarSimPlaGeantHitoperator= (const ActarSimPlaGeantHit &)
 Operator =. More...
 
G4int operator== (const ActarSimPlaGeantHit &) 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 SetEBeforeSil (G4double eb)
 
void SetEAfterSil (G4double ea)
 
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 ()
 
G4double GetEBeforePla ()
 
G4double GetEAfterPla ()
 
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...
 
G4double eBeforePla
 Energy before entering plastic. More...
 
G4double eAfterPla
 Energy when exiting plastic. 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 (postStep) 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
 Track ID. More...
 
G4int parentID
 Parent ID. More...
 
G4int particleID
 Particle ID. More...
 
G4double particleCharge
 Particle charge. More...
 
G4double particleMass
 Particle mass. More...
 

#include <ActarSimPlaGeantHit.hh>

+ Inheritance diagram for ActarSimPlaGeantHit:
+ Collaboration diagram for ActarSimPlaGeantHit:

Constructor & Destructor Documentation

ActarSimPlaGeantHit::ActarSimPlaGeantHit ( )

Constructor.

Definition at line 29 of file ActarSimPlaGeantHit.cc.

ActarSimPlaGeantHit::~ActarSimPlaGeantHit ( )

Destructor.

Definition at line 34 of file ActarSimPlaGeantHit.cc.

ActarSimPlaGeantHit::ActarSimPlaGeantHit ( const ActarSimPlaGeantHit right)

Copy constructor.

Definition at line 39 of file ActarSimPlaGeantHit.cc.

Member Function Documentation

void ActarSimPlaGeantHit::Draw ( )

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

Definition at line 90 of file ActarSimPlaGeantHit.cc.

G4int ActarSimPlaGeantHit::GetDetID ( )
inline

Definition at line 93 of file ActarSimPlaGeantHit.hh.

Referenced by ActarSimROOTAnalPla::AddCalPlaHit().

G4String ActarSimPlaGeantHit::GetDetName ( )
inline

Definition at line 90 of file ActarSimPlaGeantHit.hh.

Referenced by ActarSimROOTAnalPla::AddCalPlaHit().

G4double ActarSimPlaGeantHit::GetEAfterPla ( )
inline

Definition at line 83 of file ActarSimPlaGeantHit.hh.

Referenced by ActarSimROOTAnalPla::AddCalPlaHit().

G4double ActarSimPlaGeantHit::GetEBeforePla ( )
inline

Definition at line 82 of file ActarSimPlaGeantHit.hh.

Referenced by ActarSimROOTAnalPla::AddCalPlaHit().

G4double ActarSimPlaGeantHit::GetEdep ( )
inline

Definition at line 81 of file ActarSimPlaGeantHit.hh.

Referenced by ActarSimROOTAnalPla::AddCalPlaHit().

G4ThreeVector ActarSimPlaGeantHit::GetLocalPos ( )
inline

Definition at line 87 of file ActarSimPlaGeantHit.hh.

G4ThreeVector ActarSimPlaGeantHit::GetLocalPrePos ( )
inline

Definition at line 88 of file ActarSimPlaGeantHit.hh.

Referenced by ActarSimROOTAnalPla::AddCalPlaHit().

G4int ActarSimPlaGeantHit::GetParentID ( )
inline

Definition at line 98 of file ActarSimPlaGeantHit.hh.

G4double ActarSimPlaGeantHit::GetParticleCharge ( )
inline

Definition at line 101 of file ActarSimPlaGeantHit.hh.

Referenced by ActarSimROOTAnalPla::AddCalPlaHit().

G4int ActarSimPlaGeantHit::GetParticleID ( )
inline

Definition at line 100 of file ActarSimPlaGeantHit.hh.

Referenced by ActarSimROOTAnalPla::AddCalPlaHit().

G4double ActarSimPlaGeantHit::GetParticleMass ( )
inline

Definition at line 102 of file ActarSimPlaGeantHit.hh.

Referenced by ActarSimROOTAnalPla::AddCalPlaHit().

G4ThreeVector ActarSimPlaGeantHit::GetPos ( )
inline

Definition at line 85 of file ActarSimPlaGeantHit.hh.

G4String ActarSimPlaGeantHit::GetPostDetName ( )
inline

Definition at line 92 of file ActarSimPlaGeantHit.hh.

G4String ActarSimPlaGeantHit::GetPreDetName ( )
inline

Definition at line 91 of file ActarSimPlaGeantHit.hh.

G4ThreeVector ActarSimPlaGeantHit::GetPrePos ( )
inline

Definition at line 86 of file ActarSimPlaGeantHit.hh.

G4double ActarSimPlaGeantHit::GetToF ( )
inline

Definition at line 95 of file ActarSimPlaGeantHit.hh.

Referenced by ActarSimROOTAnalPla::AddCalPlaHit().

G4int ActarSimPlaGeantHit::GetTrackID ( )
inline

Definition at line 97 of file ActarSimPlaGeantHit.hh.

Referenced by ActarSimROOTAnalPla::AddCalPlaHit().

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

Definition at line 115 of file ActarSimPlaGeantHit.hh.

void * ActarSimPlaGeantHit::operator new ( size_t  )
inline

Definition at line 109 of file ActarSimPlaGeantHit.hh.

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

Operator =.

Definition at line 61 of file ActarSimPlaGeantHit.cc.

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

Operator ==.

Definition at line 84 of file ActarSimPlaGeantHit.cc.

void ActarSimPlaGeantHit::Print ( )

Prints full information about the calGeantHit.

Definition at line 105 of file ActarSimPlaGeantHit.cc.

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

Definition at line 70 of file ActarSimPlaGeantHit.hh.

Referenced by ActarSimPlaSD::ProcessHits().

void ActarSimPlaGeantHit::SetDetName ( G4String  Name)
inline

Definition at line 67 of file ActarSimPlaGeantHit.hh.

Referenced by ActarSimPlaSD::ProcessHits().

void ActarSimPlaGeantHit::SetEAfterSil ( G4double  ea)
inline

Definition at line 60 of file ActarSimPlaGeantHit.hh.

void ActarSimPlaGeantHit::SetEBeforeSil ( G4double  eb)
inline

Definition at line 59 of file ActarSimPlaGeantHit.hh.

void ActarSimPlaGeantHit::SetEdep ( G4double  de)
inline

Definition at line 58 of file ActarSimPlaGeantHit.hh.

Referenced by ActarSimPlaSD::ProcessHits().

void ActarSimPlaGeantHit::SetLocalPos ( G4ThreeVector  xyz)
inline

Definition at line 64 of file ActarSimPlaGeantHit.hh.

Referenced by ActarSimPlaSD::ProcessHits().

void ActarSimPlaGeantHit::SetLocalPrePos ( G4ThreeVector  xyz)
inline

Definition at line 65 of file ActarSimPlaGeantHit.hh.

Referenced by ActarSimPlaSD::ProcessHits().

void ActarSimPlaGeantHit::SetParentID ( G4int  id)
inline

Definition at line 75 of file ActarSimPlaGeantHit.hh.

Referenced by ActarSimPlaSD::ProcessHits().

void ActarSimPlaGeantHit::SetParticleCharge ( G4double  charge)
inline

Definition at line 78 of file ActarSimPlaGeantHit.hh.

Referenced by ActarSimPlaSD::ProcessHits().

void ActarSimPlaGeantHit::SetParticleID ( G4int  ID)
inline

Definition at line 77 of file ActarSimPlaGeantHit.hh.

Referenced by ActarSimPlaSD::ProcessHits().

void ActarSimPlaGeantHit::SetParticleMass ( G4double  mass)
inline

Definition at line 79 of file ActarSimPlaGeantHit.hh.

Referenced by ActarSimPlaSD::ProcessHits().

void ActarSimPlaGeantHit::SetPos ( G4ThreeVector  xyz)
inline

Definition at line 62 of file ActarSimPlaGeantHit.hh.

Referenced by ActarSimPlaSD::ProcessHits().

void ActarSimPlaGeantHit::SetPostDetName ( G4String  Name)
inline

Definition at line 69 of file ActarSimPlaGeantHit.hh.

Referenced by ActarSimPlaSD::ProcessHits().

void ActarSimPlaGeantHit::SetPreDetName ( G4String  Name)
inline

Definition at line 68 of file ActarSimPlaGeantHit.hh.

Referenced by ActarSimPlaSD::ProcessHits().

void ActarSimPlaGeantHit::SetPrePos ( G4ThreeVector  xyz)
inline

Definition at line 63 of file ActarSimPlaGeantHit.hh.

Referenced by ActarSimPlaSD::ProcessHits().

void ActarSimPlaGeantHit::SetToF ( G4double  Time)
inline

Definition at line 72 of file ActarSimPlaGeantHit.hh.

Referenced by ActarSimPlaSD::ProcessHits().

void ActarSimPlaGeantHit::SetTrackID ( G4int  track)
inline

Definition at line 74 of file ActarSimPlaGeantHit.hh.

Referenced by ActarSimPlaSD::ProcessHits().

Member Data Documentation

G4int ActarSimPlaGeantHit::detID
private

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

Definition at line 33 of file ActarSimPlaGeantHit.hh.

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

G4String ActarSimPlaGeantHit::detName
private

Name of the volume where the interaction takes place.

Definition at line 30 of file ActarSimPlaGeantHit.hh.

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

G4double ActarSimPlaGeantHit::eAfterPla
private

Energy when exiting plastic.

Definition at line 23 of file ActarSimPlaGeantHit.hh.

Referenced by ActarSimPlaGeantHit(), GetEAfterPla(), and operator=().

G4double ActarSimPlaGeantHit::eBeforePla
private

Energy before entering plastic.

Definition at line 22 of file ActarSimPlaGeantHit.hh.

Referenced by ActarSimPlaGeantHit(), GetEBeforePla(), and operator=().

G4double ActarSimPlaGeantHit::edep
private

Energy deposited in the step.

Definition at line 21 of file ActarSimPlaGeantHit.hh.

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

G4ThreeVector ActarSimPlaGeantHit::localPos
private

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

Definition at line 27 of file ActarSimPlaGeantHit.hh.

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

G4ThreeVector ActarSimPlaGeantHit::localPrePos
private

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

Definition at line 28 of file ActarSimPlaGeantHit.hh.

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

G4int ActarSimPlaGeantHit::parentID
private

Parent ID.

Definition at line 38 of file ActarSimPlaGeantHit.hh.

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

G4double ActarSimPlaGeantHit::particleCharge
private

Particle charge.

Definition at line 41 of file ActarSimPlaGeantHit.hh.

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

G4int ActarSimPlaGeantHit::particleID
private

Particle ID.

Definition at line 40 of file ActarSimPlaGeantHit.hh.

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

G4double ActarSimPlaGeantHit::particleMass
private

Particle mass.

Definition at line 42 of file ActarSimPlaGeantHit.hh.

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

G4ThreeVector ActarSimPlaGeantHit::pos
private

PostStep position of the step.

Definition at line 25 of file ActarSimPlaGeantHit.hh.

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

G4String ActarSimPlaGeantHit::postDetName
private

Name of the volume at the previous step.

Definition at line 31 of file ActarSimPlaGeantHit.hh.

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

G4String ActarSimPlaGeantHit::preDetName
private

Name of the volume at the following step.

Definition at line 32 of file ActarSimPlaGeantHit.hh.

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

G4ThreeVector ActarSimPlaGeantHit::prePos
private

PreStep position of the step.

Definition at line 26 of file ActarSimPlaGeantHit.hh.

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

G4double ActarSimPlaGeantHit::toF
private

ToF of the interaction (postStep)

Definition at line 35 of file ActarSimPlaGeantHit.hh.

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

G4int ActarSimPlaGeantHit::trackID
private

Track ID.

Definition at line 37 of file ActarSimPlaGeantHit.hh.

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


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