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

Public Member Functions

 ActarSimSciRingGeantHit ()
 Constructor. Makes nothing. More...
 
 ~ActarSimSciRingGeantHit ()
 Destructor. Makes nothing. More...
 
 ActarSimSciRingGeantHit (const ActarSimSciRingGeantHit &)
 Copy constructor. More...
 
const ActarSimSciRingGeantHitoperator= (const ActarSimSciRingGeantHit &)
 Operator =. More...
 
G4int operator== (const ActarSimSciRingGeantHit &) 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
 Position of the start of the step. More...
 
G4ThreeVector prePos
 Position of the end of the step. More...
 
G4ThreeVector localPos
 LLcal (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 of the particle. More...
 
G4int parentID
 Particle parent ID. More...
 
G4int particleID
 Particle ID. More...
 
G4double particleCharge
 Particle charge. More...
 
G4double particleMass
 Particle mass. More...
 

#include <ActarSimSciRingGeantHit.hh>

+ Inheritance diagram for ActarSimSciRingGeantHit:
+ Collaboration diagram for ActarSimSciRingGeantHit:

Constructor & Destructor Documentation

ActarSimSciRingGeantHit::ActarSimSciRingGeantHit ( )

Constructor. Makes nothing.

Definition at line 29 of file ActarSimSciRingGeantHit.cc.

ActarSimSciRingGeantHit::~ActarSimSciRingGeantHit ( )

Destructor. Makes nothing.

Definition at line 34 of file ActarSimSciRingGeantHit.cc.

ActarSimSciRingGeantHit::ActarSimSciRingGeantHit ( const ActarSimSciRingGeantHit right)

Copy constructor.

Definition at line 39 of file ActarSimSciRingGeantHit.cc.

Member Function Documentation

void ActarSimSciRingGeantHit::Draw ( )

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

Definition at line 87 of file ActarSimSciRingGeantHit.cc.

G4int ActarSimSciRingGeantHit::GetDetID ( )
inline
G4String ActarSimSciRingGeantHit::GetDetName ( )
inline
G4double ActarSimSciRingGeantHit::GetEdep ( )
inline
G4ThreeVector ActarSimSciRingGeantHit::GetLocalPos ( )
inline

Definition at line 81 of file ActarSimSciRingGeantHit.hh.

G4ThreeVector ActarSimSciRingGeantHit::GetLocalPrePos ( )
inline

Definition at line 82 of file ActarSimSciRingGeantHit.hh.

G4int ActarSimSciRingGeantHit::GetParentID ( )
inline

Definition at line 92 of file ActarSimSciRingGeantHit.hh.

G4double ActarSimSciRingGeantHit::GetParticleCharge ( )
inline
G4int ActarSimSciRingGeantHit::GetParticleID ( )
inline
G4double ActarSimSciRingGeantHit::GetParticleMass ( )
inline
G4ThreeVector ActarSimSciRingGeantHit::GetPos ( )
inline

Definition at line 79 of file ActarSimSciRingGeantHit.hh.

G4String ActarSimSciRingGeantHit::GetPostDetName ( )
inline

Definition at line 86 of file ActarSimSciRingGeantHit.hh.

G4String ActarSimSciRingGeantHit::GetPreDetName ( )
inline

Definition at line 85 of file ActarSimSciRingGeantHit.hh.

G4ThreeVector ActarSimSciRingGeantHit::GetPrePos ( )
inline

Definition at line 80 of file ActarSimSciRingGeantHit.hh.

G4double ActarSimSciRingGeantHit::GetToF ( )
inline
G4int ActarSimSciRingGeantHit::GetTrackID ( )
inline
void ActarSimSciRingGeantHit::operator delete ( void *  aHit)
inline

Definition at line 110 of file ActarSimSciRingGeantHit.hh.

void * ActarSimSciRingGeantHit::operator new ( size_t  )
inline

Definition at line 104 of file ActarSimSciRingGeantHit.hh.

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

Operator =.

Definition at line 59 of file ActarSimSciRingGeantHit.cc.

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

Operator ==.

Definition at line 81 of file ActarSimSciRingGeantHit.cc.

void ActarSimSciRingGeantHit::Print ( )

Prints full information about the calGeantHit.

Definition at line 102 of file ActarSimSciRingGeantHit.cc.

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

Definition at line 66 of file ActarSimSciRingGeantHit.hh.

Referenced by ActarSimSciRingSD::ProcessHits().

void ActarSimSciRingGeantHit::SetDetName ( G4String  Name)
inline

Definition at line 63 of file ActarSimSciRingGeantHit.hh.

Referenced by ActarSimSciRingSD::ProcessHits().

void ActarSimSciRingGeantHit::SetEdep ( G4double  de)
inline

Definition at line 56 of file ActarSimSciRingGeantHit.hh.

Referenced by ActarSimSciRingSD::ProcessHits().

void ActarSimSciRingGeantHit::SetLocalPos ( G4ThreeVector  xyz)
inline

Definition at line 60 of file ActarSimSciRingGeantHit.hh.

Referenced by ActarSimSciRingSD::ProcessHits().

void ActarSimSciRingGeantHit::SetLocalPrePos ( G4ThreeVector  xyz)
inline

Definition at line 61 of file ActarSimSciRingGeantHit.hh.

Referenced by ActarSimSciRingSD::ProcessHits().

void ActarSimSciRingGeantHit::SetParentID ( G4int  id)
inline

Definition at line 71 of file ActarSimSciRingGeantHit.hh.

Referenced by ActarSimSciRingSD::ProcessHits().

void ActarSimSciRingGeantHit::SetParticleCharge ( G4double  charge)
inline

Definition at line 74 of file ActarSimSciRingGeantHit.hh.

Referenced by ActarSimSciRingSD::ProcessHits().

void ActarSimSciRingGeantHit::SetParticleID ( G4int  ID)
inline

Definition at line 73 of file ActarSimSciRingGeantHit.hh.

Referenced by ActarSimSciRingSD::ProcessHits().

void ActarSimSciRingGeantHit::SetParticleMass ( G4double  mass)
inline

Definition at line 75 of file ActarSimSciRingGeantHit.hh.

Referenced by ActarSimSciRingSD::ProcessHits().

void ActarSimSciRingGeantHit::SetPos ( G4ThreeVector  xyz)
inline

Definition at line 58 of file ActarSimSciRingGeantHit.hh.

Referenced by ActarSimSciRingSD::ProcessHits().

void ActarSimSciRingGeantHit::SetPostDetName ( G4String  Name)
inline

Definition at line 65 of file ActarSimSciRingGeantHit.hh.

Referenced by ActarSimSciRingSD::ProcessHits().

void ActarSimSciRingGeantHit::SetPreDetName ( G4String  Name)
inline

Definition at line 64 of file ActarSimSciRingGeantHit.hh.

Referenced by ActarSimSciRingSD::ProcessHits().

void ActarSimSciRingGeantHit::SetPrePos ( G4ThreeVector  xyz)
inline

Definition at line 59 of file ActarSimSciRingGeantHit.hh.

Referenced by ActarSimSciRingSD::ProcessHits().

void ActarSimSciRingGeantHit::SetToF ( G4double  Time)
inline

Definition at line 68 of file ActarSimSciRingGeantHit.hh.

Referenced by ActarSimSciRingSD::ProcessHits().

void ActarSimSciRingGeantHit::SetTrackID ( G4int  track)
inline

Definition at line 70 of file ActarSimSciRingGeantHit.hh.

Referenced by ActarSimSciRingSD::ProcessHits().

Member Data Documentation

G4int ActarSimSciRingGeantHit::detID
private

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

Definition at line 31 of file ActarSimSciRingGeantHit.hh.

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

G4String ActarSimSciRingGeantHit::detName
private

Name of the volume where the interaction takes place.

Definition at line 28 of file ActarSimSciRingGeantHit.hh.

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

G4double ActarSimSciRingGeantHit::edep
private

Energy deposited in the step.

Definition at line 21 of file ActarSimSciRingGeantHit.hh.

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

G4ThreeVector ActarSimSciRingGeantHit::localPos
private

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

Definition at line 25 of file ActarSimSciRingGeantHit.hh.

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

G4ThreeVector ActarSimSciRingGeantHit::localPrePos
private

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

Definition at line 26 of file ActarSimSciRingGeantHit.hh.

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

G4int ActarSimSciRingGeantHit::parentID
private

Particle parent ID.

Definition at line 36 of file ActarSimSciRingGeantHit.hh.

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

G4double ActarSimSciRingGeantHit::particleCharge
private

Particle charge.

Definition at line 39 of file ActarSimSciRingGeantHit.hh.

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

G4int ActarSimSciRingGeantHit::particleID
private

Particle ID.

Definition at line 38 of file ActarSimSciRingGeantHit.hh.

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

G4double ActarSimSciRingGeantHit::particleMass
private

Particle mass.

Definition at line 40 of file ActarSimSciRingGeantHit.hh.

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

G4ThreeVector ActarSimSciRingGeantHit::pos
private

Position of the start of the step.

Definition at line 23 of file ActarSimSciRingGeantHit.hh.

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

G4String ActarSimSciRingGeantHit::postDetName
private

Name of the volume at the previous step.

Definition at line 29 of file ActarSimSciRingGeantHit.hh.

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

G4String ActarSimSciRingGeantHit::preDetName
private

Name of the volume at the following step.

Definition at line 30 of file ActarSimSciRingGeantHit.hh.

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

G4ThreeVector ActarSimSciRingGeantHit::prePos
private

Position of the end of the step.

Definition at line 24 of file ActarSimSciRingGeantHit.hh.

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

G4double ActarSimSciRingGeantHit::toF
private

ToF of the interaction (postStep)

Definition at line 33 of file ActarSimSciRingGeantHit.hh.

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

G4int ActarSimSciRingGeantHit::trackID
private

TrackID of the particle.

Definition at line 35 of file ActarSimSciRingGeantHit.hh.

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


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