12 #include "ERDetector.h" 13 #include "ERTelescopeSetup.h" 15 #include "TLorentzVector.h" 22 using BranchName = TString;
23 using ComponentPoints = std::map<BranchName, TClonesArray*>;
24 using PointsPerComponent = std::map<TString, ComponentPoints>;
33 ERTelescope(
const char* name, Bool_t active, Int_t verbose);
65 virtual void Print(Option_t *option=
"")
const;
78 virtual void CopyClones(TClonesArray* cl1, TClonesArray* cl2,
103 PointsPerComponent fPoints;
Int_t fMot0TrackID
track index
Int_t fChannel
energy loss
virtual void Print(Option_t *option="") const
virtual void ConstructGeometry()
Builds geometry and writes it to temporary file trough parameters from ERBeamDetSetup class object...
TLorentzVector fMomIn
position
TLorentzVector fPosIn
mass
virtual void BeginEvent()
virtual Bool_t ProcessHits(FairVolume *vol=0)
Int_t fEventID
geometry version
Int_t fTrackID
event index
virtual TClonesArray * GetCollection(Int_t iColl) const
void AddPoint(TClonesArray &clref)
virtual void Initialize()
virtual void CopyClones(TClonesArray *cl1, TClonesArray *cl2, Int_t offset)
void SetGeomVersion(Int_t vers)
virtual void EndOfEvent()
Double_t fMass
0th mother track index
virtual Bool_t CheckIfSensitive(std::string name)
The base class for detector simulation in er sim.