|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include <BmnVacWall.h>
Public Member Functions | |
| BmnVacWall () | |
| Default constructor. | |
| BmnVacWall (const char *name, Bool_t active) | |
| Standard constructor. | |
| virtual | ~BmnVacWall () |
| Destructor. | |
| virtual void | Initialize () |
| Initialises detector and FairRun. | |
| virtual Bool_t | ProcessHits (FairVolume *vol=nullptr) |
| Processes hits and creates FairMCPoints. | |
| virtual void | EndOfEvent () |
| Called at the end of each event. | |
| virtual void | BeginEvent () |
| Called at the beginning of each event. | |
| virtual void | Register () |
| Registers the hit collection in the ROOT manager. | |
| virtual TClonesArray * | GetCollection (Int_t iColl) const |
| Accessor to the hit collection. | |
| virtual void | Print (Option_t *) const |
| Screen output of hit collection. | |
| virtual void | Reset () |
| Clears the hit collection. | |
| virtual void | ConstructGeometry () |
| Constructs geometry from files. | |
| virtual Bool_t | CheckIfSensitive (std::string name) |
| Checks whether a volume is sensitive based on its name. | |
| FairMCPoint * | AddHit (FairMCPoint *point) |
| Adds the hit to hits collection. | |
| void | RemoveHit (Int_t index) |
| Remove hit from hits collection by index. | |
| BmnVacWall () | |
| Default constructor. | |
| BmnVacWall (const char *name, Bool_t active) | |
| Standard constructor. | |
| virtual | ~BmnVacWall () |
| Destructor. | |
| virtual void | Initialize () |
| Initialises detector and FairRun. | |
| virtual Bool_t | ProcessHits (FairVolume *vol=nullptr) |
| Processes hits and creates FairMCPoints. | |
| virtual void | EndOfEvent () |
| Called at the end of each event. | |
| virtual void | BeginEvent () |
| Called at the beginning of each event. | |
| virtual void | Register () |
| Registers the hit collection in the ROOT manager. | |
| virtual TClonesArray * | GetCollection (Int_t iColl) const |
| Accessor to the hit collection. | |
| virtual void | Print (Option_t *) const |
| Screen output of hit collection. | |
| virtual void | Reset () |
| Clears the hit collection. | |
| virtual void | ConstructGeometry () |
| Constructs geometry from files. | |
| virtual Bool_t | CheckIfSensitive (std::string name) |
| Checks whether a volume is sensitive based on its name. | |
| FairMCPoint * | AddHit (FairMCPoint *point) |
| Adds the hit to hits collection. | |
| void | RemoveHit (Int_t index) |
| Remove hit from hits collection by index. | |
Private Attributes | |
| BmnZdcGeo * | fGeoHandler |
| TClonesArray * | fCollection |
Definition at line 11 of file BmnVacWall.h.
| BmnVacWall::BmnVacWall | ( | ) |
Definition at line 15 of file BmnVacWall.cxx.
References fCollection, and fGeoHandler.
Referenced by RemoveHit().
| BmnVacWall::BmnVacWall | ( | const char * | name, |
| Bool_t | active ) |
| name | Detector name |
| active | Sensitivity flag |
Definition at line 23 of file BmnVacWall.cxx.
References fCollection, and fGeoHandler.
|
virtual |
Definition at line 31 of file BmnVacWall.cxx.
References fCollection, and fGeoHandler.
| BmnVacWall::BmnVacWall | ( | ) |
| BmnVacWall::BmnVacWall | ( | const char * | name, |
| Bool_t | active ) |
| name | Detector name |
| active | Sensitivity flag |
|
virtual |
| FairMCPoint * BmnVacWall::AddHit | ( | FairMCPoint * | point | ) |
| point | FairMCPoint |
Definition at line 156 of file BmnVacWall.cxx.
References fCollection, and TObjArray::GetEntriesFast().
Referenced by ProcessHits().
| FairMCPoint * BmnVacWall::AddHit | ( | FairMCPoint * | point | ) |
| point | FairMCPoint |
|
virtual |
Definition at line 49 of file BmnVacWall.cxx.
|
virtual |
|
virtual |
| name | Volume name |
Definition at line 148 of file BmnVacWall.cxx.
References TString::Contains().
Referenced by ProcessHits().
|
virtual |
| name | Volume name |
|
virtual |
Definition at line 126 of file BmnVacWall.cxx.
References TString::Data(), TString::EndsWith(), and fGeoHandler.
|
virtual |
|
virtual |
Definition at line 85 of file BmnVacWall.cxx.
References Print(), and Reset().
|
virtual |
|
virtual |
| iColl | Index of the collection |
Definition at line 101 of file BmnVacWall.cxx.
References fCollection.
|
virtual |
| iColl | Index of the collection |
|
virtual |
Definition at line 41 of file BmnVacWall.cxx.
|
virtual |
|
virtual |
Definition at line 107 of file BmnVacWall.cxx.
References fCollection, and i.
Referenced by EndOfEvent().
|
virtual |
|
virtual |
| vol | Pointer to the active volume |
Definition at line 54 of file BmnVacWall.cxx.
References AddHit(), CheckIfSensitive(), kVACWALL, TLorentzVector::X(), TLorentzVector::Y(), and TLorentzVector::Z().
|
virtual |
| vol | Pointer to the active volume |
|
virtual |
Definition at line 92 of file BmnVacWall.cxx.
References fCollection.
|
virtual |
| void BmnVacWall::RemoveHit | ( | Int_t | index | ) |
| void BmnVacWall::RemoveHit | ( | Int_t | index | ) |
| index | hit index |
References BmnVacWall(), fCollection, and fGeoHandler.
|
virtual |
Definition at line 120 of file BmnVacWall.cxx.
References fCollection.
Referenced by EndOfEvent().
|
virtual |
|
private |
Definition at line 78 of file BmnVacWall.h.
Referenced by BmnVacWall(), BmnVacWall(), ~BmnVacWall(), AddHit(), GetCollection(), Print(), Register(), RemoveHit(), and Reset().
|
private |
Definition at line 77 of file BmnVacWall.h.
Referenced by BmnVacWall(), BmnVacWall(), ~BmnVacWall(), ConstructGeometry(), and RemoveHit().