12 #include "ERDetector.h" 13 #include "ERNDPoint.h" 15 #include "TLorentzVector.h" 21 class ERND :
public FairDetector {
30 ERND(
const char* name, Bool_t active, Int_t verbose);
51 virtual void Print(Option_t* option=
"")
const;
58 virtual void CopyClones(TClonesArray* cl1, TClonesArray* cl2, Int_t offset);
70 TClonesArray* fNDPoints =
nullptr;
78 TVector3 pos_out, TVector3 momIn,
79 TVector3 momOut, Double_t time,
80 Double_t length, Double_t eLoss, Int_t stilbenNr,Float_t lightYield);
virtual Bool_t ProcessHits(FairVolume *vol=0)
virtual Bool_t CheckIfSensitive(std::string name)
virtual void EndOfEvent()
ERNDPoint * AddPoint(Int_t eventID, Int_t trackID, Int_t mot0trackID, Int_t pdg, TVector3 posIn, TVector3 pos_out, TVector3 momIn, TVector3 momOut, Double_t time, Double_t length, Double_t eLoss, Int_t stilbenNr, Float_t lightYield)
Max lengt of step of track propagetion in sensetive volume.
virtual void Initialize()
Initialize ERND data.
virtual void Register()
Registers the point collection in the ROOT manager.
Double_t fStep
The point collection.
virtual void CopyClones(TClonesArray *cl1, TClonesArray *cl2, Int_t offset)
virtual TClonesArray * GetCollection(Int_t iColl) const
Accessor to the point collection.
void SetMaxStep(Double_t step)
Set propagation step in sensetive volumes. Special process stepLimiter must be in TG4RunConfiguration...
virtual void Reset()
Clears the point collection.
virtual void Print(Option_t *option="") const
Screen output of hit collection.
virtual void ConstructGeometry()
Constructs the ERND geometry.