12#include <simulation/dataobjects/SimHitBase.h>
15#include <Math/Vector3D.h>
45 TPCG4TrackInfo(
int trackID,
int PDG,
float Mass,
float Energy,
const float* vtx,
const float* mom):
48 std::copy(vtx, vtx + 3,
m_vtx);
49 std::copy(mom, mom + 3,
m_mom);
ClassDef(RelationsInterface, 0)
defines interface for accessing relations of objects in StoreArray.
Class SimHitBase - A common base for subdetector SimHits.
Class TPCG4TrackInfo - Geant4 simulated hit for the Microtpc detector.
TPCG4TrackInfo(int trackID, int PDG, float Mass, float Energy, const float *vtx, const float *mom)
Standard constructor.
float getEnergy() const
Return energy.
const float * getProductionVertexArray() const
Return production array as float array.
float getMass() const
Return mass.
ROOT::Math::XYZVector getProductionVertex() const
Return production vertex.
TPCG4TrackInfo()
default constructor for ROOT
int getTrackID() const
Return track ID.
int getPDG() const
Return PDG.
ROOT::Math::XYZVector getMomentum() const
Return momentum.
const float * getMomentumArray() const
Return momentum as float array.
Abstract base class for different kinds of events.