|
| ERND () |
|
| ERND (const char *name, Bool_t active, Int_t verbose) |
|
virtual | ~ERND () |
|
void | SetMaxStep (Double_t step) |
| Set propagation step in sensetive volumes. Special process stepLimiter must be in TG4RunConfiguration.
|
|
virtual Bool_t | ProcessHits (FairVolume *vol=0) |
|
virtual void | EndOfEvent () |
|
virtual void | Register () |
| Registers the point collection in the ROOT manager.
|
|
virtual TClonesArray * | GetCollection (Int_t iColl) const |
| Accessor to the point collection.
|
|
virtual void | Print (Option_t *option="") const |
| Screen output of hit collection.
|
|
virtual void | Reset () |
| Clears the point collection.
|
|
virtual void | CopyClones (TClonesArray *cl1, TClonesArray *cl2, Int_t offset) |
|
virtual void | ConstructGeometry () |
| Constructs the ERND geometry.
|
|
virtual void | Initialize () |
| Initialize ERND data.
|
|
virtual Bool_t | CheckIfSensitive (std::string name) |
|
|
ERNDPoint * | AddPoint (Int_t eventID, Int_t trackID, Int_t mot0trackID, Int_t pdg, TVector3 posIn, TVector3 pos_out, TVector3 momIn, TVector3 momOut, Double_t time, Double_t length, Double_t eLoss, Int_t stilbenNr, Float_t lightYield) |
| Max lengt of step of track propagetion in sensetive volume. More...
|
|
| ClassDef (ERND, 1) |
|
|
TClonesArray * | fNDPoints = nullptr |
|
Double_t | fStep = 1. |
| The point collection.
|
|
Definition at line 21 of file ERND.h.
Default constructor
Definition at line 19 of file ERND.cxx.
ERND::ERND |
( |
const char * |
name, |
|
|
Bool_t |
active, |
|
|
Int_t |
verbose |
|
) |
| |
Standard constructor.
- Parameters
-
name | ERND ERND name |
active | sensitivity flag |
verbose | Verbosity level. 1 - only standart logs, 2 - Print points after each event, 3 - GEANT Step information |
Definition at line 29 of file ERND.cxx.
Destructor
Definition at line 37 of file ERND.cxx.
ERNDPoint * ERND::AddPoint |
( |
Int_t |
eventID, |
|
|
Int_t |
trackID, |
|
|
Int_t |
mot0trackID, |
|
|
Int_t |
pdg, |
|
|
TVector3 |
posIn, |
|
|
TVector3 |
pos_out, |
|
|
TVector3 |
momIn, |
|
|
TVector3 |
momOut, |
|
|
Double_t |
time, |
|
|
Double_t |
length, |
|
|
Double_t |
eLoss, |
|
|
Int_t |
stilbenNr, |
|
|
Float_t |
lightYield |
|
) |
| |
|
private |
Max lengt of step of track propagetion in sensetive volume.
Adds a NeuRadPoint to the Point Collection
Definition at line 181 of file ERND.cxx.
Bool_t ERND::CheckIfSensitive |
( |
std::string |
name | ) |
|
|
virtual |
Virtaul method CheckIfSensitive Check whether a volume is sensitive.
- Parameters
-
Definition at line 206 of file ERND.cxx.
void ERND::CopyClones |
( |
TClonesArray * |
cl1, |
|
|
TClonesArray * |
cl2, |
|
|
Int_t |
offset |
|
) |
| |
|
virtual |
Copies the hit collection with a given track index offset
- Parameters
-
cl1 | Origin |
cl2 | Target |
offset | Index offset |
Definition at line 165 of file ERND.cxx.
void ERND::EndOfEvent |
( |
| ) |
|
|
virtual |
Virtual method EndOfEvent If verbosity level is set, print point collection at the end of the event.
Definition at line 134 of file ERND.cxx.
Bool_t ERND::ProcessHits |
( |
FairVolume * |
vol = 0 | ) |
|
|
virtual |
Virtual method ProcessHits Defines the action to be taken when a step is inside the active volume. Creates a ERNDPoint and adds it to the collection.
- Parameters
-
vol | Pointer to the active volume |
event index
track index
0th mother track index
pdg
position
momentum
time
length
energy loss
Definition at line 49 of file ERND.cxx.
The documentation for this class was generated from the following files: