#include <BmnArmTrig.h>
|
| | BmnArmTrig () |
| |
| | BmnArmTrig (const char *name, Bool_t active) |
| |
| virtual | ~BmnArmTrig () |
| |
| 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 void | ConstructAsciiGeometry () |
| |
| virtual Bool_t | CheckIfSensitive (std::string name) |
| |
| BmnArmTrigPoint * | AddHit (Int_t trackID, Int_t detID, Int_t copyNo, TVector3 posIn, TVector3 posOut, TVector3 momIn, TVector3 momOut, Double_t tof, Double_t length, Double_t eLoss, Bool_t isPrimary, Double_t charge, Int_t pdgId, Double_t timeIn, Double_t timeOut, Double_t lengthtrack) |
| |
| | BmnArmTrig () |
| |
| | BmnArmTrig (const char *name, Bool_t active) |
| |
| virtual | ~BmnArmTrig () |
| |
| 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 void | ConstructAsciiGeometry () |
| |
| virtual Bool_t | CheckIfSensitive (std::string name) |
| |
| BmnArmTrigPoint * | AddHit (Int_t trackID, Int_t detID, Int_t copyNo, TVector3 posIn, TVector3 posOut, TVector3 momIn, TVector3 momOut, Double_t tof, Double_t length, Double_t eLoss, Bool_t isPrimary, Double_t charge, Int_t pdgId, Double_t timeIn, Double_t timeOut, Double_t lengthtrack) |
| |
Definition at line 30 of file BmnArmTrig.h.
◆ BmnArmTrig() [1/4]
| BmnArmTrig::BmnArmTrig |
( |
| ) |
|
◆ BmnArmTrig() [2/4]
| BmnArmTrig::BmnArmTrig |
( |
const char * |
name, |
|
|
Bool_t |
active |
|
) |
| |
Standard constructor.
- Parameters
-
| name | detetcor name |
| active | sensitivity flag |
Definition at line 48 of file BmnArmTrig.cxx.
◆ ~BmnArmTrig() [1/2]
| BmnArmTrig::~BmnArmTrig |
( |
| ) |
|
|
virtual |
◆ BmnArmTrig() [3/4]
| BmnArmTrig::BmnArmTrig |
( |
| ) |
|
◆ BmnArmTrig() [4/4]
| BmnArmTrig::BmnArmTrig |
( |
const char * |
name, |
|
|
Bool_t |
active |
|
) |
| |
Standard constructor.
- Parameters
-
| name | detetcor name |
| active | sensitivity flag |
◆ ~BmnArmTrig() [2/2]
| virtual BmnArmTrig::~BmnArmTrig |
( |
| ) |
|
|
virtual |
◆ AddHit() [1/2]
| BmnArmTrigPoint * BmnArmTrig::AddHit |
( |
Int_t |
trackID, |
|
|
Int_t |
detID, |
|
|
Int_t |
copyNo, |
|
|
TVector3 |
posIn, |
|
|
TVector3 |
posOut, |
|
|
TVector3 |
momIn, |
|
|
TVector3 |
momOut, |
|
|
Double_t |
tof, |
|
|
Double_t |
length, |
|
|
Double_t |
eLoss, |
|
|
Bool_t |
isPrimary, |
|
|
Double_t |
charge, |
|
|
Int_t |
pdgId, |
|
|
Double_t |
timeIn, |
|
|
Double_t |
timeOut, |
|
|
Double_t |
lengthtrack |
|
) |
| |
◆ AddHit() [2/2]
| BmnArmTrigPoint * BmnArmTrig::AddHit |
( |
Int_t |
trackID, |
|
|
Int_t |
detID, |
|
|
Int_t |
copyNo, |
|
|
TVector3 |
posIn, |
|
|
TVector3 |
posOut, |
|
|
TVector3 |
momIn, |
|
|
TVector3 |
momOut, |
|
|
Double_t |
tof, |
|
|
Double_t |
length, |
|
|
Double_t |
eLoss, |
|
|
Bool_t |
isPrimary, |
|
|
Double_t |
charge, |
|
|
Int_t |
pdgId, |
|
|
Double_t |
timeIn, |
|
|
Double_t |
timeOut, |
|
|
Double_t |
lengthtrack |
|
) |
| |
◆ BeginEvent() [1/2]
| void BmnArmTrig::BeginEvent |
( |
| ) |
|
|
virtual |
◆ BeginEvent() [2/2]
| virtual void BmnArmTrig::BeginEvent |
( |
| ) |
|
|
virtual |
◆ CheckIfSensitive() [1/2]
| Bool_t BmnArmTrig::CheckIfSensitive |
( |
std::string |
name | ) |
|
|
virtual |
◆ CheckIfSensitive() [2/2]
| virtual Bool_t BmnArmTrig::CheckIfSensitive |
( |
std::string |
name | ) |
|
|
virtual |
◆ ConstructAsciiGeometry() [1/2]
| void BmnArmTrig::ConstructAsciiGeometry |
( |
| ) |
|
|
virtual |
◆ ConstructAsciiGeometry() [2/2]
| virtual void BmnArmTrig::ConstructAsciiGeometry |
( |
| ) |
|
|
virtual |
◆ ConstructGeometry() [1/2]
| void BmnArmTrig::ConstructGeometry |
( |
| ) |
|
|
virtual |
◆ ConstructGeometry() [2/2]
| virtual void BmnArmTrig::ConstructGeometry |
( |
| ) |
|
|
virtual |
Virtual method Construct geometry
◆ CopyClones() [1/2]
| void BmnArmTrig::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 217 of file BmnArmTrig.cxx.
References i.
◆ CopyClones() [2/2]
| virtual void BmnArmTrig::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 BmnArmTrig::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 175 of file BmnArmTrig.cxx.
References Print(), and Reset().
◆ EndOfEvent() [2/2]
| virtual void BmnArmTrig::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 * BmnArmTrig::GetCollection |
( |
Int_t |
iColl | ) |
const |
|
virtual |
◆ GetCollection() [2/2]
| virtual TClonesArray * BmnArmTrig::GetCollection |
( |
Int_t |
iColl | ) |
const |
|
virtual |
Accessor to the hit collection
◆ Initialize() [1/2]
| void BmnArmTrig::Initialize |
( |
| ) |
|
|
virtual |
Virtual method Initialize Initialises detector. Stores volume IDs for MUO detector and mirror.
Definition at line 75 of file BmnArmTrig.cxx.
◆ Initialize() [2/2]
| virtual void BmnArmTrig::Initialize |
( |
| ) |
|
|
virtual |
Virtual method Initialize Initialises detector. Stores volume IDs for MUO detector and mirror.
◆ Print() [1/2]
| void BmnArmTrig::Print |
( |
Option_t * |
| ) |
const |
|
virtual |
◆ Print() [2/2]
| virtual void BmnArmTrig::Print |
( |
Option_t * |
| ) |
const |
|
virtual |
Virtual method Print
Screen output of hit collection.
◆ ProcessHits() [1/2]
| Bool_t BmnArmTrig::ProcessHits |
( |
FairVolume * |
vol = 0 | ) |
|
|
virtual |
Virtual method ProcessHits
Defines the action to be taken when a step is inside the active volume. Creates BmnArmTrigPoints and adds them to the collections.
- Parameters
-
| vol | Pointer to the active volume |
Definition at line 92 of file BmnArmTrig.cxx.
References AddHit(), and kARMTRIG.
◆ ProcessHits() [2/2]
| virtual Bool_t BmnArmTrig::ProcessHits |
( |
FairVolume * |
vol = 0 | ) |
|
|
virtual |
Virtual method ProcessHits
Defines the action to be taken when a step is inside the active volume. Creates BmnArmTrigPoints and adds them to the collections.
- Parameters
-
| vol | Pointer to the active volume |
◆ Register() [1/2]
| void BmnArmTrig::Register |
( |
| ) |
|
|
virtual |
Virtual method Register
Registers the hit collection in the ROOT manager.
Definition at line 182 of file BmnArmTrig.cxx.
◆ Register() [2/2]
| virtual void BmnArmTrig::Register |
( |
| ) |
|
|
virtual |
Virtual method Register
Registers the hit collection in the ROOT manager.
◆ Reset() [1/2]
| void BmnArmTrig::Reset |
( |
| ) |
|
|
virtual |
◆ Reset() [2/2]
| virtual void BmnArmTrig::Reset |
( |
| ) |
|
|
virtual |
Virtual method Reset
Clears the hit collection
The documentation for this class was generated from the following files: