12#include <simulation/dataobjects/SimHitBase.h>
15#include <Math/Vector3D.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
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.
ROOT::Math::XYZVector getPosEntry() const
Return the entry track position.
const float * getPosExitArray() const
Return track position as float array.
int m_PDG
PDG number of the track.
float getTime() const
Return the global time.
float getEnergyDep() const
Return the energy deposition in electrons.
int getLadder() const
Return the Ladder number (starting at 1, increasing with phi)
const float * getMomEntryArray() const
Return track momentum as float array.
ROOT::Math::XYZVector 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.
const float * getPosEntryArray() const
Return track position as float array.
float m_localposEntry[3]
entry position, local coordinates
ROOT::Math::XYZVector getMomEntry() const
Return the track momentum.
FANGSSimHit()
default constructor for ROOT
ROOT::Math::XYZVector getLocalPosEntry() const
Return the local entry track position.
float m_momEntry[3]
momentum at entry, global coordinates
float m_length
track length
float m_posExit[3]
exit position, global coordinates
int gettrkID() const
Return track ID.
uint8_t m_ladder
Ladder id.
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.