er
dev
|
Public Member Functions | |
ERmuSi () | |
ERmuSi (const char *name, Bool_t active, Int_t verbose) | |
virtual | ~ERmuSi () |
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 | ConstructGeometry () |
virtual void | Initialize () |
virtual Bool_t | CheckIfSensitive (std::string name) |
void | SetGeomVersion (Int_t vers) |
Private Member Functions | |
ERmuSiPoint * | AddPoint (Int_t eventID, Int_t trackID, Int_t mot0trackID, Double_t mass, TVector3 posIn, TVector3 pos_out, TVector3 momIn, TVector3 momOut, Double_t time, Double_t length, Double_t eLoss, Int_t station) |
geometry version More... | |
void | ResetParameters () |
ClassDef (ERmuSi, 1) | |
Private Attributes | |
TClonesArray * | fERmuSiPoints |
Int_t | fVersion |
The point collection. | |
ERmuSi::ERmuSi | ( | ) |
Default constructor
Definition at line 14 of file ERmuSi.cxx.
ERmuSi::ERmuSi | ( | const char * | name, |
Bool_t | active, | ||
Int_t | verbose | ||
) |
Standard constructor.
name | ERmuSi ERmuSi name |
active | sensitivity flag |
verbose | Verbosity level. 1 - only standart logs, 2 - Print points after each event, 3 - GEANT Step information |
Definition at line 27 of file ERmuSi.cxx.
|
virtual |
Destructor
Definition at line 37 of file ERmuSi.cxx.
|
private |
geometry version
Private method AddPoint
Adds a NeuRadPoint to the Point Collection
Definition at line 168 of file ERmuSi.cxx.
|
virtual |
Virtual method BeginEvent
Definition at line 98 of file ERmuSi.cxx.
|
virtual |
Virtaul method CheckIfSensitive Check whether a volume is sensitive.
Definition at line 198 of file ERmuSi.cxx.
|
virtual |
Virtaul method Construct geometry
Constructs the ERmuSi geometry
Definition at line 185 of file ERmuSi.cxx.
|
virtual |
Virtual method CopyClones
Copies the hit collection with a given track index offset
cl1 | Origin |
cl2 | Target |
offset | Index offset |
Definition at line 151 of file ERmuSi.cxx.
|
virtual |
Virtual method EndOfEvent
If verbosity level is set, print point collection at the end of the event.
Definition at line 102 of file ERmuSi.cxx.
|
virtual |
Accessor to the point collection
Definition at line 120 of file ERmuSi.cxx.
|
virtual |
|
virtual |
|
virtual |
Virtual method ProcessHits
Defines the action to be taken when a step is inside the active volume. Creates a ERmuSiPoint and adds it to the collection.
vol | Pointer to the active volume |
event index
track index
0th mother track index
mass
position
momentum
time
length
energy loss
Definition at line 50 of file ERmuSi.cxx.
|
virtual |
Virtual method Register
Registers the point collection in the ROOT manager.
Definition at line 111 of file ERmuSi.cxx.
|
virtual |
|
private |
Private method ResetParameters
Resets the private members for the track parameters
Definition at line 209 of file ERmuSi.cxx.
|
inline |