15 #include "TClonesArray.h" 16 #include "TLorentzVector.h" 19 #include "FairVolume.h" 20 #include "FairDetector.h" 22 #include "ERMCTrack.h" 46 ERDetector(
const char* Name, Bool_t Active, Int_t DetId=0);
99 virtual void Print(Option_t *option=
"")
const;
104 virtual void Reset();
112 virtual void CopyClones(TClonesArray* cl1, TClonesArray* cl2,
133 std::map<TString,TClonesArray*> fSenVolumes;
TLorentzVector fMomOut
point start momentum
TLorentzVector fMomIn
point start momentum
virtual void CopyClones(TClonesArray *cl1, TClonesArray *cl2, Int_t offset)
Copies the points collection with a given track index offset.
Int_t fTrackID
track index
virtual void Reset()
Clears the point and steps collections Virtual from FairDetector.
TLorentzVector fCurPosIn
current step position
Float_t fFullLY
Sum Light Yield in event in sensetive volume.
ExpertTrackingStatus fTrackStatus
curren track stutus (transport, stop, disappeared, ...)
virtual void Print(Option_t *option="") const
Screen log Prints NeuRadPoint information Virtual from TObject.
Double_t fLightYield
light yield
virtual TClonesArray * GetCollection(Int_t iColl) const
Get array of ERNeuRadPoint.
void StartNewPoint()
Start new point creation. Reinit current point data.
Float_t fFullEnergy
Sum Edep in event in sensetive volume.
void FinishNewPoint()
Finish point creation. Call AddPoint()
virtual void EndOfEvent()
Action at end of event Short status log and Reset(). Virtual from FairDetector.
ERDetector()
Default constructor.
virtual void Initialize()
Initialisation class method FairDetector::Initialize() is called. NeuRadGeoPar init from RuntimeDB Vi...
TVector3 fPosInLocal
point position in sensetive volume CS
Int_t fMot0TrackID
0th mother track index
std::vector< TString > fSenNames
Sensetive volumes sustring, that user set.
Int_t fEventID
event index
Int_t fVerbose
Verbosity level.
virtual Bool_t CheckIfSensitive(std::string name)
Check whether a volume is sensitive.
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.
Int_t fVolNb
number of fiber in pixel
The data class for storing pieces of charged tracks in sensitive volumes in NeuRad.
virtual void ConstructGeometry()
ERPoint * AddPoint(TClonesArray *points)
Adds a Point to the Point Collection.
TLorentzVector fPosIn
point start position
virtual void Register()
Register output array (NeuRadPoint) to the I/O manager Abstract from FairDetector.
void AddSensetive(TString name)
Add sensetive volume name. Create new points collection.
TLorentzVector fCurMomIn
current step momentum
Double32_t fTimeOut
point finish time
TArrayI fProcessesID
VMC prcess IDs in step.
Double32_t fTimeIn
point start time
The base class for detector simulation in er sim.
Double32_t fELoss
energy loss
Double32_t fTrackLength
track length from his origin
TLorentzVector fPosOut
point finish position