9 #ifndef ERNDTrackFinder_H 10 #define ERNDTrackFinder_H 12 #include "TClonesArray.h" 16 #include "ERNDTrack.h" 17 #include "ERNDSetup.h" 22 virtual InitStatus
Init();
23 virtual void Exec(Option_t* opt);
25 void SetTargetVertex(
const TVector3& vertex);
28 TClonesArray* fNDDigis =
nullptr;
29 TClonesArray* fBeamDetTrack =
nullptr;
31 TClonesArray *fNDTracks =
nullptr;
33 TVector3 fTargetVertex;
34 bool fUserTargetVertexIsSet =
false;
35 ERNDTrack* AddTrack(
const TVector3& detectorVertex,
const TVector3& targetVertex,
36 float edep,
float time,
float tac);
virtual InitStatus Init()
Base abstract class for all tasks in er.