12 #include "TClonesArray.h" 13 #include "TLorentzVector.h" 16 #include "FairVolume.h" 18 #include "ERDetector.h" 19 #include "ERMCTrack.h" 54 ERNeuRad(
const char* name, Bool_t active, Int_t verbose);
118 virtual void Print(Option_t *option=
"")
const;
123 virtual void Reset();
131 virtual void CopyClones(TClonesArray* cl1, TClonesArray* cl2, Int_t offset);
ExpertTrackingStatus fTrackStatus
curren track stutus (transport, stop, disappeared, ...)
virtual void CopyClones(TClonesArray *cl1, TClonesArray *cl2, Int_t offset)
Copies the points collection with a given track index offset.
ERNeuRadStep * AddStep()
Adds a NeuRadStep to the Steps Collection.
TLorentzVector fMomOut
point start momentum
Double_t fLightYield
light yield
Float_t fFullEnergy
Sum Edep in event in sensetive volume.
Double_t CurPointLen(TLorentzVector &posIn)
return current point length
void FinishNewPoint()
Finish point creation. Call AddPoint()
Int_t fMot0TrackID
0th mother track index
virtual void Register()
Register output array (NeuRadPoint) to the I/O manager Abstract from FairDetector.
TClonesArray * fNeuRadPoints
The point collection.
void SetStorePrimarySteps()
Method for switch on storing of first geant steps in sensetive volume. It is necessary to determine t...
Int_t fFiberNb
number of fiber in pixel
virtual void EndOfEvent()
Action at end of event Short status log and Reset(). Virtual from FairDetector.
Int_t fPixelNb
number of pixel in module
TClonesArray * fNeuRadSteps
The steps collection.
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 ERNeuRadPoint and adds it to the collection.
TLorentzVector fPosOut
point finish position
virtual Bool_t CheckIfSensitive(std::string name)
Check whether a volume is sensitive.
ERNeuRadStep * AddFirstStep()
Adds a NeuRadStep to the PrimaryStep Collection.
Bool_t fStoreAllSteps
Flag to storing all steps in sensetive volume.
ERNeuRadPoint * AddPoint()
Adds a NeuRadPoint to the Point Collection.
virtual void Print(Option_t *option="") const
Screen log Prints NeuRadPoint information Virtual from TObject.
virtual void Initialize()
Initialisation class method FairDetector::Initialize() is called. NeuRadGeoPar init from RuntimeDB Vi...
Double32_t fTrackLength
track length from his origin
TLorentzVector fMomIn
point start momentum
Double32_t fTimeIn
point start time
virtual TClonesArray * GetCollection(Int_t iColl) const
Get array of ERNeuRadPoint.
virtual ~ERNeuRad()
Destructor.
Double32_t fELoss
energy loss
virtual void Reset()
Clears the point and steps collections Virtual from FairDetector.
Float_t fStep
Step length in sensetive volumes.
ERNeuRad()
Default constructor.
Int_t fStepNb
current step numb in this active volumes
Float_t fFullLY
Sum Light Yield in event in sensetive volume.
Class for the MC transport of the NeuRad.
TLorentzVector fPosIn
point start position
void SetMaxStep(Double_t step)
Set propagation step in sensetive volumes. Special process stepLimiter must be in TG4RunConfiguration...
TArrayI fProcessesID
VMC prcess IDs in step.
TLorentzVector fCurMomIn
current step momentum
void SetStoreAllSteps()
Method for switch on storing of all geant steps in sensetive volume. It is necessary to determine gea...
The data class for storing pieces of charged tracks in sensitive volumes in NeuRad.
TVector3 fPosInLocal
point position in sensetive volume CS
void StartNewPoint()
Start new point creation. Reinit current point data.
Int_t fModuleNb
number of module in NeuRad
TClonesArray * fNeuRadFirstStep
The first step collection.
Bool_t fStorePrimarySteps
Flag to storing firs step in sensetive volume.
Int_t fTrackID
track index
Int_t fEventID
event index
Double32_t fTimeOut
point finish time
The base class for detector simulation in er sim.
Int_t fVerbose
Verbosity level.
TLorentzVector fCurPosIn
current step position