er
dev
|
Public Member Functions | |
ERTelescope () | |
ERTelescope (const char *name, Bool_t active, Int_t verbose) | |
virtual | ~ERTelescope () |
virtual Bool_t | ProcessHits (FairVolume *vol=0) |
virtual void | BeginEvent () |
virtual void | EndOfEvent () |
virtual void | Register () |
virtual TClonesArray * | GetCollection (Int_t iColl) const |
virtual void | Print (Option_t *option="") const |
virtual void | Reset () |
virtual void | CopyClones (TClonesArray *cl1, TClonesArray *cl2, Int_t offset) |
virtual void | Initialize () |
virtual void | ConstructGeometry () |
Builds geometry and writes it to temporary file trough parameters from ERBeamDetSetup class object. Virtual from FairDetector. | |
virtual Bool_t | CheckIfSensitive (std::string name) |
void | SetGeomVersion (Int_t vers) |
Public Member Functions inherited from ERDetector | |
ERDetector () | |
Default constructor. | |
ERDetector (const char *Name, Bool_t Active, Int_t DetId=0) | |
void | AddSensetive (TString name) |
Add sensetive volume name. Create new points collection. | |
Private Types | |
using | BranchName = TString |
using | ComponentPoints = std::map< BranchName, TClonesArray * > |
using | PointsPerComponent = std::map< TString, ComponentPoints > |
Private Member Functions | |
void | AddPoint (TClonesArray &clref) |
void | ResetParameters () |
ClassDef (ERTelescope, 1) | |
Private Attributes | |
ERTelescopeSetup * | fQTelescopeSetup = nullptr |
PointsPerComponent | fPoints |
Int_t | fVersion = -1 |
Int_t | fEventID = -1 |
geometry version | |
Int_t | fTrackID = -2 |
event index | |
Int_t | fMot0TrackID = -2 |
track index | |
Double_t | fMass = 0. |
0th mother track index | |
TLorentzVector | fPosIn |
mass | |
TLorentzVector | fPosOut |
TLorentzVector | fMomIn |
position | |
TLorentzVector | fMomOut |
Double32_t | fTime = 0. |
momentum | |
Double32_t | fLength = 0. |
time | |
Double32_t | fEloss = 0. |
length | |
Int_t | fChannel = -1 |
energy loss | |
Int_t | fPDG = -1 |
Additional Inherited Members | |
Protected Attributes inherited from ERDetector | |
std::map< TString, TClonesArray * > | fSenVolumes |
std::vector< TString > | fSenNames |
Sensetive volumes sustring, that user set. | |
Int_t | fVerbose |
Verbosity level. | |
Float_t | fFullEnergy |
Sum Edep in event in sensetive volume. | |
Float_t | fFullLY |
Sum Light Yield in event in sensetive volume. | |
Int_t | fEventID |
event index | |
Int_t | fTrackID |
track index | |
Int_t | fMot0TrackID |
0th mother track index | |
Double_t | fMass |
mass | |
TLorentzVector | fPosIn |
point start position | |
TLorentzVector | fPosOut |
point finish position | |
TLorentzVector | fCurPosIn |
current step position | |
TVector3 | fPosInLocal |
point position in sensetive volume CS | |
TLorentzVector | fMomIn |
point start momentum | |
TLorentzVector | fMomOut |
point start momentum | |
TLorentzVector | fCurMomIn |
current step momentum | |
Double32_t | fTimeIn |
point start time | |
Double32_t | fTimeOut |
point finish time | |
Double32_t | fTrackLength |
track length from his origin | |
Double32_t | fELoss |
energy loss | |
Double_t | fLightYield |
light yield | |
Int_t | fVolNb |
number of fiber in pixel | |
ExpertTrackingStatus | fTrackStatus |
curren track stutus (transport, stop, disappeared, ...) | |
TArrayI | fProcessesID |
VMC prcess IDs in step. | |
Definition at line 21 of file ERTelescope.h.
ERTelescope::ERTelescope | ( | ) |
Default constructor
Definition at line 25 of file ERTelescope.cxx.
ERTelescope::ERTelescope | ( | const char * | name, |
Bool_t | active, | ||
Int_t | verbose | ||
) |
Standard constructor.
name | ERTelescope ERTelescope name |
active | sensitivity flag |
verbose | Verbosity level. 1 - only standart logs, 2 - Print points after each event, 3 - GEANT Step information |
Definition at line 36 of file ERTelescope.cxx.
|
virtual |
Destructor
Definition at line 47 of file ERTelescope.cxx.
|
private |
Private method AddPoint
Adds a telescope to the Point Collection
Definition at line 63 of file ERTelescope.cxx.
|
virtual |
Virtual method BeginEvent
Definition at line 123 of file ERTelescope.cxx.
|
virtual |
Virtaul method CheckIfSensitive Check whether a volume is sensitive.
Reimplemented from ERDetector.
Definition at line 203 of file ERTelescope.cxx.
|
virtual |
Virtual method CopyClones
Copies the hit collection with a given track index offset
cl1 | Origin |
cl2 | Target |
offset | Index offset |
Reimplemented from ERDetector.
Definition at line 186 of file ERTelescope.cxx.
|
virtual |
Virtual method EndOfEvent
If verbosity level is set, print point collection at the end of the event.
Reimplemented from ERDetector.
Definition at line 126 of file ERTelescope.cxx.
|
virtual |
Accessor to the point collection
Reimplemented from ERDetector.
Definition at line 150 of file ERTelescope.cxx.
|
virtual |
Virtaul method Initialize
Initialize ERTelescope data
Reimplemented from ERDetector.
Definition at line 59 of file ERTelescope.cxx.
|
virtual |
Virtual method Print
Screen output of hit collection.
Reimplemented from ERDetector.
Definition at line 159 of file ERTelescope.cxx.
|
virtual |
Virtual method ProcessHits
Defines the action to be taken when a step is inside the active volume. Creates a ERTelescopePoint and adds it to the collection.
vol | Pointer to the active volume |
Reimplemented from ERDetector.
Definition at line 87 of file ERTelescope.cxx.
|
virtual |
Virtual method Register
Registers the point collection in the ROOT manager.
Reimplemented from ERDetector.
Definition at line 133 of file ERTelescope.cxx.
|
virtual |
Virtual method Reset
Clears the point collection
Reimplemented from ERDetector.
Definition at line 177 of file ERTelescope.cxx.
|
private |
Private method ResetParameters
Resets the private members for the track parameters
Definition at line 211 of file ERTelescope.cxx.
|
inline |
Virtaul method SetGeomVersion
Definition at line 100 of file ERTelescope.h.