#include <BmnEcal.h>
|
| | BmnEcal () |
| |
| | BmnEcal (const char *name, Bool_t active) |
| |
| virtual | ~BmnEcal () |
| |
| virtual void | Initialize () |
| |
| virtual Bool_t | ProcessHits (FairVolume *vol=0) |
| |
| virtual void | EndOfEvent () |
| |
| virtual void | BeginEvent () |
| |
| virtual void | Register () |
| |
| virtual TClonesArray * | GetCollection (Int_t iColl) const |
| |
| virtual void | Print (Option_t *) const |
| |
| virtual void | Reset () |
| |
| virtual void | CopyClones (TClonesArray *cl1, TClonesArray *cl2, Int_t offset) |
| |
| virtual void | ConstructGeometry () |
| |
| virtual Bool_t | CheckIfSensitive (std::string name) |
| |
| void | SetToFile (Bool_t toFile) |
| |
| BmnEcalPoint * | AddHit (Int_t trackID, Int_t detID, Int_t copyNo, Int_t copyNoMother, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss) |
| |
| | BmnEcal () |
| |
| | BmnEcal (const char *name, Bool_t active) |
| |
| virtual | ~BmnEcal () |
| |
| virtual void | Initialize () |
| |
| virtual Bool_t | ProcessHits (FairVolume *vol=0) |
| |
| virtual void | EndOfEvent () |
| |
| virtual void | BeginEvent () |
| |
| virtual void | Register () |
| |
| virtual TClonesArray * | GetCollection (Int_t iColl) const |
| |
| virtual void | Print (Option_t *) const |
| |
| virtual void | Reset () |
| |
| virtual void | CopyClones (TClonesArray *cl1, TClonesArray *cl2, Int_t offset) |
| |
| virtual void | ConstructGeometry () |
| |
| virtual Bool_t | CheckIfSensitive (std::string name) |
| |
| void | SetToFile (Bool_t toFile) |
| |
| BmnEcalPoint * | AddHit (Int_t trackID, Int_t detID, Int_t copyNo, Int_t copyNoMother, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss) |
| |
Definition at line 24 of file BmnEcal.h.
◆ BmnEcal() [1/4]
◆ BmnEcal() [2/4]
| BmnEcal::BmnEcal |
( |
const char * |
name, |
|
|
Bool_t |
active |
|
) |
| |
Standard constructor.
- Parameters
-
| name | detetcor name |
| active | sensitivity flag |
Definition at line 49 of file BmnEcal.cxx.
◆ ~BmnEcal() [1/2]
◆ BmnEcal() [3/4]
◆ BmnEcal() [4/4]
| BmnEcal::BmnEcal |
( |
const char * |
name, |
|
|
Bool_t |
active |
|
) |
| |
Standard constructor.
- Parameters
-
| name | detetcor name |
| active | sensitivity flag |
◆ ~BmnEcal() [2/2]
| virtual BmnEcal::~BmnEcal |
( |
| ) |
|
|
virtual |
◆ AddHit() [1/2]
| BmnEcalPoint * BmnEcal::AddHit |
( |
Int_t |
trackID, |
|
|
Int_t |
detID, |
|
|
Int_t |
copyNo, |
|
|
Int_t |
copyNoMother, |
|
|
TVector3 |
pos, |
|
|
TVector3 |
mom, |
|
|
Double_t |
tof, |
|
|
Double_t |
length, |
|
|
Double_t |
eLoss |
|
) |
| |
◆ AddHit() [2/2]
| BmnEcalPoint * BmnEcal::AddHit |
( |
Int_t |
trackID, |
|
|
Int_t |
detID, |
|
|
Int_t |
copyNo, |
|
|
Int_t |
copyNoMother, |
|
|
TVector3 |
pos, |
|
|
TVector3 |
mom, |
|
|
Double_t |
tof, |
|
|
Double_t |
length, |
|
|
Double_t |
eLoss |
|
) |
| |
◆ BeginEvent() [1/2]
| void BmnEcal::BeginEvent |
( |
| ) |
|
|
virtual |
◆ BeginEvent() [2/2]
| virtual void BmnEcal::BeginEvent |
( |
| ) |
|
|
virtual |
◆ CheckIfSensitive() [1/2]
| Bool_t BmnEcal::CheckIfSensitive |
( |
std::string |
name | ) |
|
|
virtual |
◆ CheckIfSensitive() [2/2]
| virtual Bool_t BmnEcal::CheckIfSensitive |
( |
std::string |
name | ) |
|
|
virtual |
◆ ConstructGeometry() [1/2]
| void BmnEcal::ConstructGeometry |
( |
| ) |
|
|
virtual |
◆ ConstructGeometry() [2/2]
| virtual void BmnEcal::ConstructGeometry |
( |
| ) |
|
|
virtual |
Virtual method Construct geometry
◆ CopyClones() [1/2]
| void BmnEcal::CopyClones |
( |
TClonesArray * |
cl1, |
|
|
TClonesArray * |
cl2, |
|
|
Int_t |
offset |
|
) |
| |
|
virtual |
Virtual method CopyClones
Copies the hit collection with a given track index offset
- Parameters
-
| cl1 | Origin |
| cl2 | Target |
| offset | Index offset |
Definition at line 173 of file BmnEcal.cxx.
References i.
◆ CopyClones() [2/2]
| virtual void BmnEcal::CopyClones |
( |
TClonesArray * |
cl1, |
|
|
TClonesArray * |
cl2, |
|
|
Int_t |
offset |
|
) |
| |
|
virtual |
Virtual method CopyClones
Copies the hit collection with a given track index offset
- Parameters
-
| cl1 | Origin |
| cl2 | Target |
| offset | Index offset |
◆ EndOfEvent() [1/2]
| void BmnEcal::EndOfEvent |
( |
| ) |
|
|
virtual |
Virtual method EndOfEvent
If verbosity level is set, print hit collection at the end of the event and resets it afterwards.
Definition at line 133 of file BmnEcal.cxx.
References Print(), and Reset().
◆ EndOfEvent() [2/2]
| virtual void BmnEcal::EndOfEvent |
( |
| ) |
|
|
virtual |
Virtual method EndOfEvent
If verbosity level is set, print hit collection at the end of the event and resets it afterwards.
◆ GetCollection() [1/2]
| TClonesArray * BmnEcal::GetCollection |
( |
Int_t |
iColl | ) |
const |
|
virtual |
Accessor to the hit collection
Definition at line 146 of file BmnEcal.cxx.
◆ GetCollection() [2/2]
| virtual TClonesArray * BmnEcal::GetCollection |
( |
Int_t |
iColl | ) |
const |
|
virtual |
Accessor to the hit collection
◆ Initialize() [1/2]
| void BmnEcal::Initialize |
( |
| ) |
|
|
virtual |
Virtual method Initialize Initialises detector. Stores volume IDs for MUO detector and mirror.
Definition at line 66 of file BmnEcal.cxx.
◆ Initialize() [2/2]
| virtual void BmnEcal::Initialize |
( |
| ) |
|
|
virtual |
Virtual method Initialize Initialises detector. Stores volume IDs for MUO detector and mirror.
◆ Print() [1/2]
| void BmnEcal::Print |
( |
Option_t * |
| ) |
const |
|
virtual |
Virtual method Print
Screen output of hit collection.
Definition at line 154 of file BmnEcal.cxx.
References i.
Referenced by EndOfEvent().
◆ Print() [2/2]
| virtual void BmnEcal::Print |
( |
Option_t * |
| ) |
const |
|
virtual |
Virtual method Print
Screen output of hit collection.
◆ ProcessHits() [1/2]
| Bool_t BmnEcal::ProcessHits |
( |
FairVolume * |
vol = 0 | ) |
|
|
virtual |
Virtual method ProcessHits
Defines the action to be taken when a step is inside the active volume. Creates BmnEcalPoints and BmnEcalMirrorPoints and adds them to the collections.
- Parameters
-
| vol | Pointer to the active volume |
Definition at line 80 of file BmnEcal.cxx.
References AddHit(), and kECAL.
◆ ProcessHits() [2/2]
| virtual Bool_t BmnEcal::ProcessHits |
( |
FairVolume * |
vol = 0 | ) |
|
|
virtual |
Virtual method ProcessHits
Defines the action to be taken when a step is inside the active volume. Creates BmnEcalPoints and BmnEcalMirrorPoints and adds them to the collections.
- Parameters
-
| vol | Pointer to the active volume |
◆ Register() [1/2]
| void BmnEcal::Register |
( |
| ) |
|
|
virtual |
Virtual method Register
Registers the hit collection in the ROOT manager.
Definition at line 140 of file BmnEcal.cxx.
◆ Register() [2/2]
| virtual void BmnEcal::Register |
( |
| ) |
|
|
virtual |
Virtual method Register
Registers the hit collection in the ROOT manager.
◆ Reset() [1/2]
◆ Reset() [2/2]
| virtual void BmnEcal::Reset |
( |
| ) |
|
|
virtual |
Virtual method Reset
Clears the hit collection
◆ SetToFile() [1/2]
| void BmnEcal::SetToFile |
( |
Bool_t |
toFile | ) |
|
|
inline |
SetToFile
Allows to disable writing the brunch into the output tree
- Parameters
-
| toFile | if kFALSE, branch will NOT be saved to the tree |
Definition at line 116 of file BmnEcal.h.
◆ SetToFile() [2/2]
| void BmnEcal::SetToFile |
( |
Bool_t |
toFile | ) |
|
|
inline |
SetToFile
Allows to disable writing the brunch into the output tree
- Parameters
-
| toFile | if kFALSE, branch will NOT be saved to the tree |
Definition at line 116 of file BmnEcal.h.
The documentation for this class was generated from the following files: