9 #ifndef MicrotpcSIMHIT_H
10 #define MicrotpcSIMHIT_H
12 #include <simulation/dataobjects/SimHitBase.h>
52 MicrotpcSimHit(
int tkID,
float energyDep,
float energyNiel,
int tkPDG,
float tkKEnergy,
float detNb,
float GlTime,
53 const float* tkPos,
const float* tkMom,
const float* tkMomDir):
57 std::copy(tkPos, tkPos + 3,
m_tkPos);
58 std::copy(tkMom, tkMom + 3,
m_tkMom);
ClassMicrotpcSimHit - Geant4 simulated hit for the Microtpc detector.
float m_energyDep
Deposited energy in electrons.
int m_tkPDG
PDG number of the track.
float m_tkMomDir[3]
track momentum direction
float m_energyNiel
Non-ionization energy in electrons.
float m_detNb
detector number
const float * getrkMomDirArray() const
Return track momentum direction as float array.
float m_tkMom[3]
track momentum
float getEnergyDep() const
Return the energy deposition in electrons.
TVector3 gettkPos() const
Return the track position.
float m_GlTime
global time
int gettkID() const
Return track ID.
MicrotpcSimHit()
default constructor for ROOT
float m_tkKEnergy
kinetic energy of the track
float gettkKEnergy() const
Return the kinetic energy of the track.
TVector3 gettkMom() const
Return the track momentum.
float getdetNb() const
Return the TPC number.
float getEnergyNiel() const
Return the non-ionization energy in electrons.
const float * getrkDirArray() const
Return track momentum as float array.
TVector3 gettkMomDir() const
Return the track momentum direction.
int gettkPDG() const
Return the PDG number of the track.
float getGlTime() const
Return the global time.
float m_tkPos[3]
track position
MicrotpcSimHit(int tkID, float energyDep, float energyNiel, int tkPDG, float tkKEnergy, float detNb, float GlTime, const float *tkPos, const float *tkMom, const float *tkMomDir)
Standard constructor.
const float * gettkPosArray() const
Return track position as float array.
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.