ACTARSim
ACTAR TPC Simulation Reference Guide
Public Member Functions | Private Attributes | List of all members
ActarSimSilRingGeantHit 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 ActarSimSilRingGeantHit.hh.

Public Member Functions

 ActarSimSilRingGeantHit ()
 Constructor. Nothing to do. More...
 
 ~ActarSimSilRingGeantHit ()
 Destructor. Nothing to do. More...
 
 ActarSimSilRingGeantHit (const ActarSimSilRingGeantHit &)
 Copy constructor. More...
 
const ActarSimSilRingGeantHitoperator= (const ActarSimSilRingGeantHit &)
 Operator =. More...
 
G4int operator== (const ActarSimSilRingGeantHit &) 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
 Track ID. More...
 
G4int parentID
 Parent ID. More...
 
G4int particleID
 Particle ID. More...
 
G4double particleCharge
 Particle charge. More...
 
G4double particleMass
 Particle mass. More...
 

#include <ActarSimSilRingGeantHit.hh>

+ Inheritance diagram for ActarSimSilRingGeantHit:
+ Collaboration diagram for ActarSimSilRingGeantHit:

Constructor & Destructor Documentation

ActarSimSilRingGeantHit::ActarSimSilRingGeantHit ( )

Constructor. Nothing to do.

Definition at line 29 of file ActarSimSilRingGeantHit.cc.

ActarSimSilRingGeantHit::~ActarSimSilRingGeantHit ( )

Destructor. Nothing to do.

Definition at line 34 of file ActarSimSilRingGeantHit.cc.

ActarSimSilRingGeantHit::ActarSimSilRingGeantHit ( const ActarSimSilRingGeantHit right)

Copy constructor.

Definition at line 39 of file ActarSimSilRingGeantHit.cc.

Member Function Documentation

void ActarSimSilRingGeantHit::Draw ( )

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

Definition at line 91 of file ActarSimSilRingGeantHit.cc.

G4int ActarSimSilRingGeantHit::GetDetID ( )
inline

Definition at line 91 of file ActarSimSilRingGeantHit.hh.

Referenced by ActarSimROOTAnalSilRing::AddSilRingHit().

G4String ActarSimSilRingGeantHit::GetDetName ( )
inline

Definition at line 88 of file ActarSimSilRingGeantHit.hh.

G4double ActarSimSilRingGeantHit::GetEAfterSil ( )
inline

Definition at line 81 of file ActarSimSilRingGeantHit.hh.

Referenced by ActarSimROOTAnalSilRing::AddSilRingHit().

G4double ActarSimSilRingGeantHit::GetEBeforeSil ( )
inline

Definition at line 80 of file ActarSimSilRingGeantHit.hh.

Referenced by ActarSimROOTAnalSilRing::AddSilRingHit().

G4double ActarSimSilRingGeantHit::GetEdep ( )
inline

Definition at line 79 of file ActarSimSilRingGeantHit.hh.

Referenced by ActarSimROOTAnalSilRing::AddSilRingHit().

G4ThreeVector ActarSimSilRingGeantHit::GetLocalPos ( )
inline

Definition at line 85 of file ActarSimSilRingGeantHit.hh.

G4ThreeVector ActarSimSilRingGeantHit::GetLocalPrePos ( )
inline

Definition at line 86 of file ActarSimSilRingGeantHit.hh.

Referenced by ActarSimROOTAnalSilRing::AddSilRingHit().

G4int ActarSimSilRingGeantHit::GetParentID ( )
inline

Definition at line 96 of file ActarSimSilRingGeantHit.hh.

G4double ActarSimSilRingGeantHit::GetParticleCharge ( )
inline

Definition at line 98 of file ActarSimSilRingGeantHit.hh.

Referenced by ActarSimROOTAnalSilRing::AddSilRingHit().

G4int ActarSimSilRingGeantHit::GetParticleID ( )
inline

Definition at line 97 of file ActarSimSilRingGeantHit.hh.

Referenced by ActarSimROOTAnalSilRing::AddSilRingHit().

G4double ActarSimSilRingGeantHit::GetParticleMass ( )
inline

Definition at line 99 of file ActarSimSilRingGeantHit.hh.

Referenced by ActarSimROOTAnalSilRing::AddSilRingHit().

G4ThreeVector ActarSimSilRingGeantHit::GetPos ( )
inline

Definition at line 83 of file ActarSimSilRingGeantHit.hh.

G4String ActarSimSilRingGeantHit::GetPostDetName ( )
inline

Definition at line 90 of file ActarSimSilRingGeantHit.hh.

G4String ActarSimSilRingGeantHit::GetPreDetName ( )
inline

Definition at line 89 of file ActarSimSilRingGeantHit.hh.

G4ThreeVector ActarSimSilRingGeantHit::GetPrePos ( )
inline

Definition at line 84 of file ActarSimSilRingGeantHit.hh.

G4double ActarSimSilRingGeantHit::GetToF ( )
inline

Definition at line 93 of file ActarSimSilRingGeantHit.hh.

Referenced by ActarSimROOTAnalSilRing::AddSilRingHit().

G4int ActarSimSilRingGeantHit::GetTrackID ( )
inline

Definition at line 95 of file ActarSimSilRingGeantHit.hh.

Referenced by ActarSimROOTAnalSilRing::AddSilRingHit().

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

Definition at line 112 of file ActarSimSilRingGeantHit.hh.

void * ActarSimSilRingGeantHit::operator new ( size_t  )
inline

Definition at line 106 of file ActarSimSilRingGeantHit.hh.

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

Operator =.

Definition at line 61 of file ActarSimSilRingGeantHit.cc.

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

Operator ==.

Definition at line 85 of file ActarSimSilRingGeantHit.cc.

void ActarSimSilRingGeantHit::Print ( )

Prints full information about the calGeantHit.

Definition at line 106 of file ActarSimSilRingGeantHit.cc.

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

Definition at line 69 of file ActarSimSilRingGeantHit.hh.

Referenced by ActarSimSilRingSD::ProcessHits().

void ActarSimSilRingGeantHit::SetDetName ( G4String  Name)
inline

Definition at line 66 of file ActarSimSilRingGeantHit.hh.

Referenced by ActarSimSilRingSD::ProcessHits().

void ActarSimSilRingGeantHit::SetEAfterSil ( G4double  ea)
inline

Definition at line 59 of file ActarSimSilRingGeantHit.hh.

Referenced by ActarSimSilRingSD::ProcessHits().

void ActarSimSilRingGeantHit::SetEBeforeSil ( G4double  eb)
inline

Definition at line 58 of file ActarSimSilRingGeantHit.hh.

Referenced by ActarSimSilRingSD::ProcessHits().

void ActarSimSilRingGeantHit::SetEdep ( G4double  de)
inline

Definition at line 57 of file ActarSimSilRingGeantHit.hh.

Referenced by ActarSimSilRingSD::ProcessHits().

void ActarSimSilRingGeantHit::SetLocalPos ( G4ThreeVector  xyz)
inline

Definition at line 63 of file ActarSimSilRingGeantHit.hh.

Referenced by ActarSimSilRingSD::ProcessHits().

void ActarSimSilRingGeantHit::SetLocalPrePos ( G4ThreeVector  xyz)
inline

Definition at line 64 of file ActarSimSilRingGeantHit.hh.

Referenced by ActarSimSilRingSD::ProcessHits().

void ActarSimSilRingGeantHit::SetParentID ( G4int  id)
inline

Definition at line 74 of file ActarSimSilRingGeantHit.hh.

Referenced by ActarSimSilRingSD::ProcessHits().

void ActarSimSilRingGeantHit::SetParticleCharge ( G4double  charge)
inline

Definition at line 76 of file ActarSimSilRingGeantHit.hh.

Referenced by ActarSimSilRingSD::ProcessHits().

void ActarSimSilRingGeantHit::SetParticleID ( G4int  ID)
inline

Definition at line 75 of file ActarSimSilRingGeantHit.hh.

Referenced by ActarSimSilRingSD::ProcessHits().

void ActarSimSilRingGeantHit::SetParticleMass ( G4double  mass)
inline

Definition at line 77 of file ActarSimSilRingGeantHit.hh.

Referenced by ActarSimSilRingSD::ProcessHits().

void ActarSimSilRingGeantHit::SetPos ( G4ThreeVector  xyz)
inline

Definition at line 61 of file ActarSimSilRingGeantHit.hh.

Referenced by ActarSimSilRingSD::ProcessHits().

void ActarSimSilRingGeantHit::SetPostDetName ( G4String  Name)
inline

Definition at line 68 of file ActarSimSilRingGeantHit.hh.

Referenced by ActarSimSilRingSD::ProcessHits().

void ActarSimSilRingGeantHit::SetPreDetName ( G4String  Name)
inline

Definition at line 67 of file ActarSimSilRingGeantHit.hh.

Referenced by ActarSimSilRingSD::ProcessHits().

void ActarSimSilRingGeantHit::SetPrePos ( G4ThreeVector  xyz)
inline

Definition at line 62 of file ActarSimSilRingGeantHit.hh.

Referenced by ActarSimSilRingSD::ProcessHits().

void ActarSimSilRingGeantHit::SetToF ( G4double  Time)
inline

Definition at line 71 of file ActarSimSilRingGeantHit.hh.

Referenced by ActarSimSilRingSD::ProcessHits().

void ActarSimSilRingGeantHit::SetTrackID ( G4int  track)
inline

Definition at line 73 of file ActarSimSilRingGeantHit.hh.

Referenced by ActarSimSilRingSD::ProcessHits().

Member Data Documentation

G4int ActarSimSilRingGeantHit::detID
private

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

Definition at line 33 of file ActarSimSilRingGeantHit.hh.

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

G4String ActarSimSilRingGeantHit::detName
private

Name of the volume where the interaction takes place.

Definition at line 30 of file ActarSimSilRingGeantHit.hh.

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

G4double ActarSimSilRingGeantHit::eAfterSil
private

Energy when exiting silicon.

Definition at line 23 of file ActarSimSilRingGeantHit.hh.

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

G4double ActarSimSilRingGeantHit::eBeforeSil
private

Energy before entering silicon.

Definition at line 22 of file ActarSimSilRingGeantHit.hh.

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

G4double ActarSimSilRingGeantHit::edep
private

Energy deposited in the step.

Definition at line 21 of file ActarSimSilRingGeantHit.hh.

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

G4ThreeVector ActarSimSilRingGeantHit::localPos
private

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

Definition at line 27 of file ActarSimSilRingGeantHit.hh.

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

G4ThreeVector ActarSimSilRingGeantHit::localPrePos
private

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

Definition at line 28 of file ActarSimSilRingGeantHit.hh.

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

G4int ActarSimSilRingGeantHit::parentID
private

Parent ID.

Definition at line 38 of file ActarSimSilRingGeantHit.hh.

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

G4double ActarSimSilRingGeantHit::particleCharge
private

Particle charge.

Definition at line 40 of file ActarSimSilRingGeantHit.hh.

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

G4int ActarSimSilRingGeantHit::particleID
private

Particle ID.

Definition at line 39 of file ActarSimSilRingGeantHit.hh.

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

G4double ActarSimSilRingGeantHit::particleMass
private

Particle mass.

Definition at line 41 of file ActarSimSilRingGeantHit.hh.

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

G4ThreeVector ActarSimSilRingGeantHit::pos
private

PostStep position of the step.

Definition at line 25 of file ActarSimSilRingGeantHit.hh.

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

G4String ActarSimSilRingGeantHit::postDetName
private

Name of the volume at the previous step.

Definition at line 31 of file ActarSimSilRingGeantHit.hh.

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

G4String ActarSimSilRingGeantHit::preDetName
private

Name of the volume at the following step.

Definition at line 32 of file ActarSimSilRingGeantHit.hh.

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

G4ThreeVector ActarSimSilRingGeantHit::prePos
private

PreStep position of the step.

Definition at line 26 of file ActarSimSilRingGeantHit.hh.

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

G4double ActarSimSilRingGeantHit::toF
private

ToF of the interaction (postStep)

Definition at line 35 of file ActarSimSilRingGeantHit.hh.

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

G4int ActarSimSilRingGeantHit::trackID
private

Track ID.

Definition at line 37 of file ActarSimSilRingGeantHit.hh.

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


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