16 #include "ERDetector.h" 17 #include "ERGadastCsIPoint.h" 18 #include "ERGadastLaBrPoint.h" 19 #include "ERGadastStep.h" 20 #include "ERDetectorList.h" 21 #include "ERSupport.h" 48 ERGadast(
const char* name, Bool_t active, Int_t verbose);
102 virtual void Print(Option_t *option=
"")
const;
107 virtual void Reset();
115 virtual void CopyClones(TClonesArray* cl1, TClonesArray* cl2, Int_t offset);
void FinishPoint()
Finish point creation. Call AddCsIPoint() or AddLaBrPoint()
Class for the MC transport of the Gadast.
Int_t fStepNr
current step numb in this active volumes
virtual Bool_t ProcessHits(FairVolume *vol=0)
Virtual method Defines the action to be taken when a step is inside the active volume. Creates a ERGadastPoint and adds it to the collection.
Int_t fCsIBlock
CsI Block number.
Int_t fCsICell
CsI Cell number.
TClonesArray * fLaBrPoints
The LaBr point collection.
virtual void EndOfEvent()
Action at end of event Short status log and Reset(). Virtual from FairDetector.
void StartPoint()
Start new point creation. Reinit current point data.
virtual void Initialize()
Initialisation class method FairDetector::Initialize() is called. GadastGeoPar init from RuntimeDB Vi...
TClonesArray * fGadastSteps
The all steps collection.
virtual void Print(Option_t *option="") const
Screen log Prints GadastPoint information Virtual from TObject.
virtual void CopyClones(TClonesArray *cl1, TClonesArray *cl2, Int_t offset)
Copies the points collection with a given track index offset.
SensetiveType fDetectorType
CsI or LaBr point.
Double32_t fLength
track length from his origin
void SetStoreSteps()
Method for switch on storing of all geant steps in sensetive volume. It is necessary to determine gea...
Int_t fTrackID
track index
The data class for storing pieces of charged tracks in sensitive volumes in CsI crystall.
virtual Bool_t CheckIfSensitive(std::string name)
Check whether a volume is sensitive.
Int_t fLaBrCell
laBr Cell number
virtual void Reset()
Clears the point and steps collections Virtual from FairDetector.
ERGadastStep * AddStep()
Adds a GadastStep to the Step Collection.
Int_t fEventID
event index
TClonesArray * fCsIPoints
The CsI point collection.
TVector3 fPosIn
point start position
Bool_t fStoreSteps
Flag to storing all steps in sensetive volume.
TVector3 fMomOut
point finish momentum
Int_t fMot0TrackID
0th mother track index
virtual ~ERGadast()
Destructor.
Double32_t fELoss
energy loss
ERGadastLaBrPoint * AddLaBrPoint()
Adds a GadastLaBrPoint to the Point Collection.
ERGadastCsIPoint * AddCsIPoint()
Adds a GadastCsIPoint to the Point Collection.
TVector3 fPosOut
point finish position
virtual TClonesArray * GetCollection(Int_t iColl) const
Get array of ERGadastPoint.
TVector3 fMomIn
point start momentum
ERGadast()
Default constructor.
The base class for detector simulation in er sim.
virtual void Register()
Register output array (NeuRadPoint) to the I/O manager Abstract from FairDetector.
Double32_t fTime
point start time
Int_t fCsIWall
CsI Wall number.