Go to the documentation of this file.
11 #include "FairDetector.h"
12 #include "FairRootManager.h"
13 #include "TClonesArray.h"
14 #include "TLorentzVector.h"
36 CbmPsdMC(Bool_t active = kTRUE,
const char* name =
"PSDMC");
51 return (TString(name).Contains(
"scint", TString::kIgnoreCase) ? kTRUE
88 virtual void Print(Option_t* opt =
"")
const;
100 virtual Bool_t
ProcessHits(FairVolume* volume = 0);
108 FairRootManager::Instance()->Register(
174 #endif //? CBMPSDMC_H
virtual void Reset()
Clear output array.
virtual void Print(Option_t *opt="") const
Screen log Prints current number of StsPoints in array. Virtual from TObject.
CbmPsdMC(const CbmPsdMC &)=delete
virtual Bool_t ProcessHits(FairVolume *volume=0)
Stepping action.
virtual void EndOfEvent()
Action at end of event.
virtual void ConstructGeometry()
Construct the PSD geometry in the TGeoManager.
CbmPsdMC(Bool_t active=kTRUE, const char *name="PSDMC")
Constructor.
virtual TClonesArray * GetCollection(Int_t iColl) const
Get output array of CbmPsdPoints.
virtual Bool_t CheckIfSensitive(std::string name)
Check whether a volume is sensitive.
CbmPsdMC operator=(const CbmPsdMC &)=delete
void RegisterSensitiveVolumes(TGeoNode *node)
module ID
Class for the MC transport of the CBM-PSD.
void SetPosition(Double_t xPos, Double_t zPos, Double_t rotY)
Define the PSD position in the cave.
Int_t fLayerID
energy loss
TLorentzVector fMom
position
TLorentzVector fPos
address (module and layer)
virtual void Register()
Register the output array.
Int_t fAddress
track index
Int_t fTrackID
Output array.
TClonesArray * fPsdPoints