12 #include <simulation/dataobjects/SimHitBase.h>
53 FANGSSimHit(
int trkID,
int ladder,
int sensor,
int pdg,
float time,
float energyDep,
54 float length,
const float* posEntry,
const float* localposEntry,
55 const float* posExit,
const float* momEntry):
Class FANGSSimHit - Geant4 simulated hit for the FANGS detector.
float m_posEntry[3]
entry position, global coordinates
TVector3 getMomEntry() const
Return the track momentum.
uint8_t m_sensor
Sensor id.
int m_trkID
Track ID number.
float m_energyDep
Deposited energy in GeV.
FANGSSimHit(int trkID, int ladder, int sensor, int pdg, float time, float energyDep, float length, const float *posEntry, const float *localposEntry, const float *posExit, const float *momEntry)
Standard constructor.
int m_PDG
PDG number of the track.
float getTime() const
Return the global time.
float getEnergyDep() const
Return the energy deposition in electrons.
const float * getPosExitArray() const
Return track position as float array.
const float * getPosEntryArray() const
Return track position as float array.
int getLadder() const
Return the Ladder number (starting at 1, increasing with phi)
const float * getMomEntryArray() const
Return track momentum as float array.
TVector3 getPosExit() const
Return the exit track position.
int getSensor() const
Return the Sensor number (starting at 1, increasing with decreasing z)
int getPDG() const
Return the PDG number of the track.
float m_localposEntry[3]
entry position, local coordinates
FANGSSimHit()
default constructor for ROOT
float m_momEntry[3]
momentum at entry, global coordinates
float m_length
track length
TVector3 getPosEntry() const
Return the entry track position.
float m_posExit[3]
exit position, global coordinates
int gettrkID() const
Return track ID.
uint8_t m_ladder
Ladder id.
TVector3 getLocalPosEntry() const
Return the local entry track position.
ClassDef(RelationsInterface, 0)
defines interface for accessing relations of objects in StoreArray.
Class SimHitBase - A common base for subdetector SimHits.
Abstract base class for different kinds of events.