#include <BmnVacWall.h>
Definition at line 11 of file BmnVacWall.h.
◆ BmnVacWall() [1/4]
| BmnVacWall::BmnVacWall |
( |
| ) |
|
◆ BmnVacWall() [2/4]
| BmnVacWall::BmnVacWall |
( |
const char * |
name, |
|
|
Bool_t |
active |
|
) |
| |
Standard constructor.
- Parameters
-
| name | Detector name |
| active | Sensitivity flag |
Definition at line 23 of file BmnVacWall.cxx.
◆ ~BmnVacWall() [1/2]
| BmnVacWall::~BmnVacWall |
( |
| ) |
|
|
virtual |
◆ BmnVacWall() [3/4]
| BmnVacWall::BmnVacWall |
( |
| ) |
|
◆ BmnVacWall() [4/4]
| BmnVacWall::BmnVacWall |
( |
const char * |
name, |
|
|
Bool_t |
active |
|
) |
| |
Standard constructor.
- Parameters
-
| name | Detector name |
| active | Sensitivity flag |
◆ ~BmnVacWall() [2/2]
| virtual BmnVacWall::~BmnVacWall |
( |
| ) |
|
|
virtual |
◆ AddHit() [1/2]
| FairMCPoint * BmnVacWall::AddHit |
( |
FairMCPoint * |
point | ) |
|
◆ AddHit() [2/2]
| FairMCPoint * BmnVacWall::AddHit |
( |
FairMCPoint * |
point | ) |
|
Adds the hit to hits collection.
- Parameters
-
- Returns
- Pointer to the hit
◆ BeginEvent() [1/2]
| void BmnVacWall::BeginEvent |
( |
| ) |
|
|
virtual |
Called at the beginning of each event
Definition at line 49 of file BmnVacWall.cxx.
◆ BeginEvent() [2/2]
| virtual void BmnVacWall::BeginEvent |
( |
| ) |
|
|
virtual |
Called at the beginning of each event
◆ CheckIfSensitive() [1/2]
| Bool_t BmnVacWall::CheckIfSensitive |
( |
std::string |
name | ) |
|
|
virtual |
Checks whether a volume is sensitive based on its name.
- Parameters
-
- Returns
- kTRUE if the volume is sensitive, otherwise kFALSE
Definition at line 148 of file BmnVacWall.cxx.
Referenced by ProcessHits().
◆ CheckIfSensitive() [2/2]
| virtual Bool_t BmnVacWall::CheckIfSensitive |
( |
std::string |
name | ) |
|
|
virtual |
Checks whether a volume is sensitive based on its name.
- Parameters
-
- Returns
- kTRUE if the volume is sensitive, otherwise kFALSE
◆ ConstructGeometry() [1/2]
| void BmnVacWall::ConstructGeometry |
( |
| ) |
|
|
virtual |
◆ ConstructGeometry() [2/2]
| virtual void BmnVacWall::ConstructGeometry |
( |
| ) |
|
|
virtual |
Constructs geometry from files
◆ EndOfEvent() [1/2]
| void BmnVacWall::EndOfEvent |
( |
| ) |
|
|
virtual |
◆ EndOfEvent() [2/2]
| virtual void BmnVacWall::EndOfEvent |
( |
| ) |
|
|
virtual |
Called at the end of each event
◆ GetCollection() [1/2]
| TClonesArray * BmnVacWall::GetCollection |
( |
Int_t |
iColl | ) |
const |
|
virtual |
Accessor to the hit collection
- Parameters
-
| iColl | Index of the collection |
- Returns
- Pointer to the hit collection
Definition at line 101 of file BmnVacWall.cxx.
◆ GetCollection() [2/2]
| virtual TClonesArray * BmnVacWall::GetCollection |
( |
Int_t |
iColl | ) |
const |
|
virtual |
Accessor to the hit collection
- Parameters
-
| iColl | Index of the collection |
- Returns
- Pointer to the hit collection
◆ Initialize() [1/2]
| void BmnVacWall::Initialize |
( |
| ) |
|
|
virtual |
◆ Initialize() [2/2]
| virtual void BmnVacWall::Initialize |
( |
| ) |
|
|
virtual |
Initialises detector and FairRun
◆ Print() [1/2]
| void BmnVacWall::Print |
( |
Option_t * |
| ) |
const |
|
virtual |
◆ Print() [2/2]
| virtual void BmnVacWall::Print |
( |
Option_t * |
| ) |
const |
|
virtual |
Screen output of hit collection
◆ ProcessHits() [1/2]
| Bool_t BmnVacWall::ProcessHits |
( |
FairVolume * |
vol = nullptr | ) |
|
|
virtual |
Processes hits and creates FairMCPoints.
- Parameters
-
| vol | Pointer to the active volume |
- Returns
- kTRUE if the volume is sensitive and a hit is processed, otherwise kFALSE
Definition at line 54 of file BmnVacWall.cxx.
References AddHit(), CheckIfSensitive(), and kVACWALL.
◆ ProcessHits() [2/2]
| virtual Bool_t BmnVacWall::ProcessHits |
( |
FairVolume * |
vol = nullptr | ) |
|
|
virtual |
Processes hits and creates FairMCPoints.
- Parameters
-
| vol | Pointer to the active volume |
- Returns
- kTRUE if the volume is sensitive and a hit is processed, otherwise kFALSE
◆ Register() [1/2]
| void BmnVacWall::Register |
( |
| ) |
|
|
virtual |
Registers the hit collection in the ROOT manager
Definition at line 92 of file BmnVacWall.cxx.
◆ Register() [2/2]
| virtual void BmnVacWall::Register |
( |
| ) |
|
|
virtual |
Registers the hit collection in the ROOT manager
◆ RemoveHit() [1/2]
| void BmnVacWall::RemoveHit |
( |
Int_t |
index | ) |
|
Remove hit from hits collection by index.
- Parameters
-
Definition at line 163 of file BmnVacWall.cxx.
◆ RemoveHit() [2/2]
| void BmnVacWall::RemoveHit |
( |
Int_t |
index | ) |
|
Remove hit from hits collection by index.
- Parameters
-
◆ Reset() [1/2]
| void BmnVacWall::Reset |
( |
| ) |
|
|
virtual |
◆ Reset() [2/2]
| virtual void BmnVacWall::Reset |
( |
| ) |
|
|
virtual |
Clears the hit collection
The documentation for this class was generated from the following files: