15#include "FairDetector.h"
17#include "TLorentzVector.h"
46 CbmTrd(
const char* name, Bool_t active);
81 virtual void Print(Option_t* =
"")
const;
94 virtual void CopyClones(TClonesArray* cl1, TClonesArray* cl2, Int_t offset);
102 virtual Bool_t
IsSensitive(
const std::string& name);
143 fPosIn.SetXYZM(0.0, 0.0, 0.0, 0.0);
144 fMomIn.SetXYZM(0.0, 0.0, 0.0, 0.0);
145 fPosOut.SetXYZM(0.0, 0.0, 0.0, 0.0);
146 fMomOut.SetXYZM(0.0, 0.0, 0.0, 0.0);
Defines the active detector TRD. Constructs the geometry and registers MCPoints.
Bool_t CheckIfSensitive(std::string name)
TGeoMatrix * fCombiTrans
weather to follow the global switch for physics cuts for the TRDgas
CbmTrd operator=(const CbmTrd &)=delete
virtual void EndOfEvent()
If verbosity level is set, print hit collection at the end of the event and resets it afterwards.
virtual void Print(Option_t *="") const
Screen output of hit collection.
TLorentzVector fMomIn
position at entrance
CbmTrdGeoHandler * fGeoHandler
MC point collection.
virtual Bool_t IsSensitive(const std::string &name)
Bool_t fUseGlobalPhysicsProcesses
Interface to gMC and gGeoManager.
virtual void ConstructGeometry()
Constructs the TRD geometry.
void SetTransformationMatrix(TGeoMatrix *mat)
virtual void Reset()
Clears the hit collection.
virtual ~CbmTrd()
Destructor.
virtual void CopyClones(TClonesArray *cl1, TClonesArray *cl2, Int_t offset)
Copies the hit collection with a given track index offset.
CbmTrd()
Default constructor.
void ResetParameters()
Transformation matrix for geometry positioning.
virtual void ConstructRootGeometry(TGeoMatrix *shift=NULL)
TLorentzVector fMomOut
position at exit
virtual TClonesArray * GetCollection(Int_t iColl) const
Accessor to the hit collection.
CbmTrd(const CbmTrd &)=delete
virtual void SetSpecialPhysicsCuts()
virtual void Register()
Registers the hit collection in the ROOT manager.
TClonesArray * fTrdPoints
position index
Double32_t fTime
momentum at exit
virtual void Initialize()
Int_t fPosIndex
energy loss
TLorentzVector fPosOut
momentum at entrance
void UseGlobalPhysicsProcesses(Bool_t use)
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...