12 #include "TLorentzVector.h" 13 #include "TClonesArray.h" 15 #include "ERDetector.h" 16 #include "ERBeamDetTOFPoint.h" 17 #include "ERBeamDetMWPCPoint.h" 18 #include "ERBeamDetTargetPoint.h" 19 #include "ERBeamDetTrack.h" 20 #include "ERBeamDetParticle.h" 21 #include "ERBeamDetSetup.h" 40 ERBeamDet(
const char* name, Bool_t active, Int_t verbose);
43 void SetIonName(
const TString& ionName) {fIonName = ionName; fIonPIDIsSet = kTRUE;}
44 void SetIonPID(
int ionPID) {fIonPID = ionPID; fIonPIDIsSet = kTRUE;}
63 virtual void Print(Option_t *option=
"")
const;
72 virtual void CopyClones(TClonesArray* cl1, TClonesArray* cl2, Int_t offset);
100 Int_t Mot0TrackID = -1;
114 Bool_t fSensitiveTargetIsSet = kFALSE;
117 Bool_t fIonPIDIsSet = kFALSE;
ERBeamDetTOFPoint * AddTOFPoint()
Adds a ERBeamDetToFPoint to the ToFPoints Collection.
Class for the MC transport of the BeamDet.
virtual ~ERBeamDet()
Destructor.
virtual Bool_t ProcessHits(FairVolume *vol=0)
Defines the action to be taken when a step is inside the active volume. Creates a ERBeamDetPoint and ...
ERBeamDet()
Default constructor.
TClonesArray * fTargetPoints
The TargetPoint collection.
virtual void Reset()
Clears the point collection. Virtual from FairDetector.
virtual TClonesArray * GetCollection(Int_t iColl) const
Accessor to the point collection . Abstract from FairDetector.
Int_t fEventID
event index
virtual void EndOfEvent()
If verbosity level is set, print point collection at the end of the event. Virtual from FairDetector...
TClonesArray * fMWPCPoints
The MWPCPoint collection.
ERBeamDetMWPCPoint * AddMWPCPoint()
Adds a ERBeamDetMWPCPoint to the MWPCPoints Collection.
ERBeamDetTargetPoint * AddTargetPoint()
Adds a ERBeamDetTargetPoint to the TargetPoints Collection.
TClonesArray * fToFPoints
The ToFPoint collection.
virtual void Initialize()
Initialize ERBeamDet data. Abstract from FairDetector.
Int_t fMWPCNb
MWPC station number.
virtual void Register()
Registers the point collection in the ROOT manager. Virtual from FairDetector.
virtual void ConstructGeometry()
Builds geometry and writes it to temporary file trough parameters from ERBeamDetSetup class object...
TLorentzVector fMomOut
point finish momentum
Int_t fMWPCWireNb
wire number in gas strip array
Double32_t fTime
point start time
TLorentzVector fMomIn
point start momentum
virtual Bool_t CheckIfSensitive(std::string name)
Check whether a volume is sensitive.
TLorentzVector fPosOut
point finish position
Double32_t fLightYield
light yield
Double32_t ELoss
energy loss
virtual void Print(Option_t *option="") const
Screen output of hit collection. Virtual from TObject.
TLorentzVector fPosIn
point start position
virtual void CopyClones(TClonesArray *cl1, TClonesArray *cl2, Int_t offset)
Copies the hit collection with a given track index offset.
Int_t fToFNb
ToF plastic number.
The base class for detector simulation in er sim.
Int_t fTrackID
track index
Int_t fMWPCPlaneNb
gas strip array number in MWPC station