Go to the documentation of this file.
11 #include "FairDetector.h"
12 #include "TLorentzVector.h"
40 CbmTrd(
const char* name, Bool_t active);
75 virtual void Print(Option_t* =
"")
const;
88 virtual void CopyClones(TClonesArray* cl1, TClonesArray* cl2, Int_t offset);
138 fPosIn.SetXYZM(0.0, 0.0, 0.0, 0.0);
139 fMomIn.SetXYZM(0.0, 0.0, 0.0, 0.0);
140 fPosOut.SetXYZM(0.0, 0.0, 0.0, 0.0);
141 fMomOut.SetXYZM(0.0, 0.0, 0.0, 0.0);
void SetTransformationMatrix(TGeoMatrix *mat)
virtual void EndOfEvent()
If verbosity level is set, print hit collection at the end of the event and resets it afterwards.
CbmTrd(const CbmTrd &)=delete
TGeoMatrix * fCombiTrans
weather to follow the global switch for physics cuts for the TRDgas
void ResetParameters()
Transformation matrix for geometry positioning.
TLorentzVector fMomOut
position at exit
CbmTrd operator=(const CbmTrd &)=delete
virtual void CopyClones(TClonesArray *cl1, TClonesArray *cl2, Int_t offset)
Copies the hit collection with a given track index offset.
CbmTrd()
Default constructor.
virtual ~CbmTrd()
Destructor.
virtual void ConstructGeometry()
Constructs the TRD geometry.
Double32_t fTime
momentum at exit
Defines the active detector TRD. Constructs the geometry and registers MCPoints.
Bool_t fUseGlobalPhysicsProcesses
Interface to gMC and gGeoManager.
Int_t fPosIndex
energy loss
virtual void Reset()
Clears the hit collection.
virtual void ConstructRootGeometry(TGeoMatrix *shift=NULL)
TLorentzVector fMomIn
position at entrance
virtual Bool_t ProcessHits(FairVolume *vol=NULL)
Defines the action to be taken when a step is inside the active volume. Creates CbmTrdPoints and adds...
CbmTrdGeoHandler * fGeoHandler
MC point collection.
Bool_t CheckIfSensitive(std::string name)
virtual void Initialize()
void UseGlobalPhysicsProcesses(Bool_t use)
virtual TClonesArray * GetCollection(Int_t iColl) const
Accessor to the hit collection.
virtual void Register()
Registers the hit collection in the ROOT manager.
TClonesArray * fTrdPoints
position index
virtual void SetSpecialPhysicsCuts()
virtual void Print(Option_t *="") const
Screen output of hit collection.
TLorentzVector fPosOut
momentum at entrance