Go to the documentation of this file.
13 #ifndef SOMEEXPERIMENT_MYTRACKERHIT_H
14 #define SOMEEXPERIMENT_MYTRACKERHIT_H
17 #include "DDG4/Geant4Data.h"
57 dd4hep::sim::Geant4HitData::MonteCarloContrib
truth;
65 MyTrackerHit(
int track_id,
int pdg_id,
double deposit,
double time_stamp)
79 #if defined(__CINT__) || defined(__MAKECINT__) || defined(__CLING__) || defined(__ROOTCLING__)
80 #pragma link off all globals;
81 #pragma link off all classes;
82 #pragma link off all functions;
85 #pragma link C++ namespace dd4hep;
86 #pragma link C++ namespace dd4hep::sim;
87 #pragma link C++ namespace SomeExperiment;
88 #pragma link C++ class SomeExperiment::MyTrackerHit+;
MyTrackerHit & storePoint(const G4Step *step, const G4StepPoint *pnt)
Store Geant4 point and step information into tracker hit structure.
long flag
dd4hep::sim::Geant4HitData: User flag to classify hits
double energyDeposit
Energy deposit in the tracker hit.
This is the hit definition.
double length
Length of the track segment contributing to this hit.
virtual ~MyTrackerHit()=default
Default destructor.
long long int cellID
dd4hep::sim::Geant4HitData: cellID
MyTrackerHit()=default
Default constructor.
dd4hep::Direction momentum
Hit direction.
MyTrackerHit(int track_id, int pdg_id, double deposit, double time_stamp)
Initializing constructor.
MyTrackerHit & clear()
Clear hit content.
dd4hep::sim::Geant4HitData::MonteCarloContrib truth
Monte Carlo / Geant4 information.
MyTrackerHit & operator=(const MyTrackerHit &c)
Assignment operator.
dd4hep::Position position
Hit position.
long g4ID
dd4hep::sim::Geant4HitData: Original Geant 4 track identifier of the creating track (debugging)