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

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

Definition at line 19 of file ActarSimSilGeantHit.hh.

Public Member Functions

 ActarSimSilGeantHit ()
 Constructor. Nothing to do. More...
 
 ~ActarSimSilGeantHit ()
 Destructor. Nothing to do. More...
 
 ActarSimSilGeantHit (const ActarSimSilGeantHit &)
 Copy constructor. More...
 
const ActarSimSilGeantHitoperator= (const ActarSimSilGeantHit &)
 Operator =. More...
 
G4int operator== (const ActarSimSilGeantHit &) 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 GetEBeforeSil ()
 
G4double GetEAfterSil ()
 
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 eBeforeSil
 Energy before entering silicon. More...
 
G4double eAfterSil
 Energy when exiting silicon. 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
 TrackID. More...
 
G4int parentID
 Parent ID. More...
 
G4int particleID
 Particle ID. More...
 
G4double particleCharge
 Particle charge. More...
 
G4double particleMass
 Particle mass. More...
 

#include <ActarSimSilGeantHit.hh>

+ Inheritance diagram for ActarSimSilGeantHit:
+ Collaboration diagram for ActarSimSilGeantHit:

Constructor & Destructor Documentation

ActarSimSilGeantHit::ActarSimSilGeantHit ( )

Constructor. Nothing to do.

Definition at line 29 of file ActarSimSilGeantHit.cc.

ActarSimSilGeantHit::~ActarSimSilGeantHit ( )

Destructor. Nothing to do.

Definition at line 34 of file ActarSimSilGeantHit.cc.

ActarSimSilGeantHit::ActarSimSilGeantHit ( const ActarSimSilGeantHit right)

Copy constructor.

Definition at line 39 of file ActarSimSilGeantHit.cc.

Member Function Documentation

void ActarSimSilGeantHit::Draw ( )

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

Definition at line 91 of file ActarSimSilGeantHit.cc.

G4int ActarSimSilGeantHit::GetDetID ( )
inline

Definition at line 91 of file ActarSimSilGeantHit.hh.

Referenced by ActarSimROOTAnalSil::AddSilHit().

G4String ActarSimSilGeantHit::GetDetName ( )
inline

Definition at line 88 of file ActarSimSilGeantHit.hh.

G4double ActarSimSilGeantHit::GetEAfterSil ( )
inline

Definition at line 81 of file ActarSimSilGeantHit.hh.

Referenced by ActarSimROOTAnalSil::AddSilHit().

G4double ActarSimSilGeantHit::GetEBeforeSil ( )
inline

Definition at line 80 of file ActarSimSilGeantHit.hh.

Referenced by ActarSimROOTAnalSil::AddSilHit().

G4double ActarSimSilGeantHit::GetEdep ( )
inline

Definition at line 79 of file ActarSimSilGeantHit.hh.

Referenced by ActarSimROOTAnalSil::AddSilHit().

G4ThreeVector ActarSimSilGeantHit::GetLocalPos ( )
inline

Definition at line 85 of file ActarSimSilGeantHit.hh.

G4ThreeVector ActarSimSilGeantHit::GetLocalPrePos ( )
inline

Definition at line 86 of file ActarSimSilGeantHit.hh.

Referenced by ActarSimROOTAnalSil::AddSilHit().

G4int ActarSimSilGeantHit::GetParentID ( )
inline

Definition at line 96 of file ActarSimSilGeantHit.hh.

G4double ActarSimSilGeantHit::GetParticleCharge ( )
inline

Definition at line 98 of file ActarSimSilGeantHit.hh.

Referenced by ActarSimROOTAnalSil::AddSilHit().

G4int ActarSimSilGeantHit::GetParticleID ( )
inline

Definition at line 97 of file ActarSimSilGeantHit.hh.

Referenced by ActarSimROOTAnalSil::AddSilHit().

G4double ActarSimSilGeantHit::GetParticleMass ( )
inline

Definition at line 99 of file ActarSimSilGeantHit.hh.

Referenced by ActarSimROOTAnalSil::AddSilHit().

G4ThreeVector ActarSimSilGeantHit::GetPos ( )
inline

Definition at line 83 of file ActarSimSilGeantHit.hh.

G4String ActarSimSilGeantHit::GetPostDetName ( )
inline

Definition at line 90 of file ActarSimSilGeantHit.hh.

G4String ActarSimSilGeantHit::GetPreDetName ( )
inline

Definition at line 89 of file ActarSimSilGeantHit.hh.

G4ThreeVector ActarSimSilGeantHit::GetPrePos ( )
inline

Definition at line 84 of file ActarSimSilGeantHit.hh.

G4double ActarSimSilGeantHit::GetToF ( )
inline

Definition at line 93 of file ActarSimSilGeantHit.hh.

Referenced by ActarSimROOTAnalSil::AddSilHit().

G4int ActarSimSilGeantHit::GetTrackID ( )
inline

Definition at line 95 of file ActarSimSilGeantHit.hh.

Referenced by ActarSimROOTAnalSil::AddSilHit().

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

Definition at line 112 of file ActarSimSilGeantHit.hh.

void * ActarSimSilGeantHit::operator new ( size_t  )
inline

Definition at line 106 of file ActarSimSilGeantHit.hh.

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

Operator =.

Definition at line 61 of file ActarSimSilGeantHit.cc.

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

Operator ==.

Definition at line 85 of file ActarSimSilGeantHit.cc.

void ActarSimSilGeantHit::Print ( )

Prints full information about the calGeantHit.

Definition at line 106 of file ActarSimSilGeantHit.cc.

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

Definition at line 69 of file ActarSimSilGeantHit.hh.

Referenced by ActarSimSilSD::ProcessHits().

void ActarSimSilGeantHit::SetDetName ( G4String  Name)
inline

Definition at line 66 of file ActarSimSilGeantHit.hh.

Referenced by ActarSimSilSD::ProcessHits().

void ActarSimSilGeantHit::SetEAfterSil ( G4double  ea)
inline

Definition at line 59 of file ActarSimSilGeantHit.hh.

Referenced by ActarSimSilSD::ProcessHits().

void ActarSimSilGeantHit::SetEBeforeSil ( G4double  eb)
inline

Definition at line 58 of file ActarSimSilGeantHit.hh.

Referenced by ActarSimSilSD::ProcessHits().

void ActarSimSilGeantHit::SetEdep ( G4double  de)
inline

Definition at line 57 of file ActarSimSilGeantHit.hh.

Referenced by ActarSimSilSD::ProcessHits().

void ActarSimSilGeantHit::SetLocalPos ( G4ThreeVector  xyz)
inline

Definition at line 63 of file ActarSimSilGeantHit.hh.

Referenced by ActarSimSilSD::ProcessHits().

void ActarSimSilGeantHit::SetLocalPrePos ( G4ThreeVector  xyz)
inline

Definition at line 64 of file ActarSimSilGeantHit.hh.

Referenced by ActarSimSilSD::ProcessHits().

void ActarSimSilGeantHit::SetParentID ( G4int  id)
inline

Definition at line 74 of file ActarSimSilGeantHit.hh.

Referenced by ActarSimSilSD::ProcessHits().

void ActarSimSilGeantHit::SetParticleCharge ( G4double  charge)
inline

Definition at line 76 of file ActarSimSilGeantHit.hh.

Referenced by ActarSimSilSD::ProcessHits().

void ActarSimSilGeantHit::SetParticleID ( G4int  ID)
inline

Definition at line 75 of file ActarSimSilGeantHit.hh.

Referenced by ActarSimSilSD::ProcessHits().

void ActarSimSilGeantHit::SetParticleMass ( G4double  mass)
inline

Definition at line 77 of file ActarSimSilGeantHit.hh.

Referenced by ActarSimSilSD::ProcessHits().

void ActarSimSilGeantHit::SetPos ( G4ThreeVector  xyz)
inline

Definition at line 61 of file ActarSimSilGeantHit.hh.

Referenced by ActarSimSilSD::ProcessHits().

void ActarSimSilGeantHit::SetPostDetName ( G4String  Name)
inline

Definition at line 68 of file ActarSimSilGeantHit.hh.

Referenced by ActarSimSilSD::ProcessHits().

void ActarSimSilGeantHit::SetPreDetName ( G4String  Name)
inline

Definition at line 67 of file ActarSimSilGeantHit.hh.

Referenced by ActarSimSilSD::ProcessHits().

void ActarSimSilGeantHit::SetPrePos ( G4ThreeVector  xyz)
inline

Definition at line 62 of file ActarSimSilGeantHit.hh.

Referenced by ActarSimSilSD::ProcessHits().

void ActarSimSilGeantHit::SetToF ( G4double  Time)
inline

Definition at line 71 of file ActarSimSilGeantHit.hh.

Referenced by ActarSimSilSD::ProcessHits().

void ActarSimSilGeantHit::SetTrackID ( G4int  track)
inline

Definition at line 73 of file ActarSimSilGeantHit.hh.

Referenced by ActarSimSilSD::ProcessHits().

Member Data Documentation

G4int ActarSimSilGeantHit::detID
private

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

Definition at line 33 of file ActarSimSilGeantHit.hh.

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

G4String ActarSimSilGeantHit::detName
private

Name of the volume where the interaction takes place.

Definition at line 30 of file ActarSimSilGeantHit.hh.

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

G4double ActarSimSilGeantHit::eAfterSil
private

Energy when exiting silicon.

Definition at line 23 of file ActarSimSilGeantHit.hh.

Referenced by ActarSimSilGeantHit(), GetEAfterSil(), and operator=().

G4double ActarSimSilGeantHit::eBeforeSil
private

Energy before entering silicon.

Definition at line 22 of file ActarSimSilGeantHit.hh.

Referenced by ActarSimSilGeantHit(), GetEBeforeSil(), and operator=().

G4double ActarSimSilGeantHit::edep
private

Energy deposited in the step.

Definition at line 21 of file ActarSimSilGeantHit.hh.

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

G4ThreeVector ActarSimSilGeantHit::localPos
private

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

Definition at line 27 of file ActarSimSilGeantHit.hh.

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

G4ThreeVector ActarSimSilGeantHit::localPrePos
private

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

Definition at line 28 of file ActarSimSilGeantHit.hh.

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

G4int ActarSimSilGeantHit::parentID
private

Parent ID.

Definition at line 38 of file ActarSimSilGeantHit.hh.

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

G4double ActarSimSilGeantHit::particleCharge
private

Particle charge.

Definition at line 40 of file ActarSimSilGeantHit.hh.

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

G4int ActarSimSilGeantHit::particleID
private

Particle ID.

Definition at line 39 of file ActarSimSilGeantHit.hh.

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

G4double ActarSimSilGeantHit::particleMass
private

Particle mass.

Definition at line 41 of file ActarSimSilGeantHit.hh.

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

G4ThreeVector ActarSimSilGeantHit::pos
private

PostStep position of the step.

Definition at line 25 of file ActarSimSilGeantHit.hh.

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

G4String ActarSimSilGeantHit::postDetName
private

Name of the volume at the previous step.

Definition at line 31 of file ActarSimSilGeantHit.hh.

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

G4String ActarSimSilGeantHit::preDetName
private

Name of the volume at the following step.

Definition at line 32 of file ActarSimSilGeantHit.hh.

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

G4ThreeVector ActarSimSilGeantHit::prePos
private

PreStep position of the step.

Definition at line 26 of file ActarSimSilGeantHit.hh.

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

G4double ActarSimSilGeantHit::toF
private

ToF of the interaction (postStep)

Definition at line 35 of file ActarSimSilGeantHit.hh.

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

G4int ActarSimSilGeantHit::trackID
private

TrackID.

Definition at line 37 of file ActarSimSilGeantHit.hh.

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


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