|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include <BmnZdc.h>
Public Member Functions | |
| BmnZdc () | |
| Default constructor. | |
| BmnZdc (const char *name, Bool_t active) | |
| Standard constructor. | |
| virtual | ~BmnZdc () |
| Destructor. | |
| virtual void | Initialize () |
| Virtual method Initialize Initialises detector. | |
| virtual Bool_t | ProcessHits (FairVolume *vol=0) |
| Virtual method ProcessHits. | |
| virtual void | EndOfEvent () |
| Virtual method EndOfEvent. | |
| virtual void | BeginEvent () |
| virtual void | Register () |
| Virtual method Register. | |
| virtual TClonesArray * | GetCollection (Int_t iColl) const |
| Accessor to the hit collection. | |
| virtual void | Print (Option_t *) const |
| Virtual method Print. | |
| virtual void | Reset () |
| Virtual method Reset. | |
| virtual void | CopyClones (TClonesArray *cl1, TClonesArray *cl2, Int_t offset) |
| Virtual method CopyClones. | |
| virtual void | ConstructGeometry () |
| Virtual method Construct geometry. | |
| virtual Bool_t | CheckIfSensitive (std::string name) |
| BmnZdcPoint * | 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) |
| BmnZdc () | |
| Default constructor. | |
| BmnZdc (const char *name, Bool_t active) | |
| Standard constructor. | |
| virtual | ~BmnZdc () |
| Destructor. | |
| virtual void | Initialize () |
| Virtual method Initialize Initialises detector. | |
| virtual Bool_t | ProcessHits (FairVolume *vol=0) |
| Virtual method ProcessHits. | |
| virtual void | EndOfEvent () |
| Virtual method EndOfEvent. | |
| virtual void | BeginEvent () |
| virtual void | Register () |
| Virtual method Register. | |
| virtual TClonesArray * | GetCollection (Int_t iColl) const |
| Accessor to the hit collection. | |
| virtual void | Print (Option_t *) const |
| Virtual method Print. | |
| virtual void | Reset () |
| Virtual method Reset. | |
| virtual void | CopyClones (TClonesArray *cl1, TClonesArray *cl2, Int_t offset) |
| Virtual method CopyClones. | |
| virtual void | ConstructGeometry () |
| Virtual method Construct geometry. | |
| virtual Bool_t | CheckIfSensitive (std::string name) |
| BmnZdcPoint * | 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) |
Private Member Functions | |
| void | ResetParameters () |
| Hit collection. | |
| void | ResetParameters () |
| Hit collection. | |
Private Attributes | |
| Int_t | fTrackID |
| Int_t | fVolumeID |
| track index | |
| Int_t | fEventID |
| volume id | |
| TLorentzVector | fPos |
| event id | |
| TLorentzVector | fMom |
| position | |
| Double32_t | fTime |
| momentum | |
| Double32_t | fLength |
| time | |
| Double32_t | fELoss |
| length | |
| Int_t | fVSCVolId |
| energy loss | |
| Int_t | fVSCVolId_after |
| Int_t | fPosIndex |
| Int_t | volDetector |
| TClonesArray * | fZdcCollection |
| MC volume ID of MUO. | |
| BmnZdc::BmnZdc | ( | ) |
Definition at line 42 of file BmnZdc.cxx.
References fEventID, fPosIndex, fVSCVolId, fVSCVolId_after, fZdcCollection, and volDetector.
Referenced by ResetParameters().
| BmnZdc::BmnZdc | ( | const char * | name, |
| Bool_t | active ) |
| name | detetcor name |
| active | sensitivity flag |
Definition at line 57 of file BmnZdc.cxx.
References fEventID, fPosIndex, fVSCVolId, fVSCVolId_after, fZdcCollection, and volDetector.
|
virtual |
Definition at line 73 of file BmnZdc.cxx.
References fZdcCollection.
| BmnZdc::BmnZdc | ( | ) |
| BmnZdc::BmnZdc | ( | const char * | name, |
| Bool_t | active ) |
| name | detetcor name |
| active | sensitivity flag |
|
virtual |
| BmnZdcPoint * BmnZdc::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 520 of file BmnZdc.cxx.
References fZdcCollection, and TObjArray::GetEntriesFast().
Referenced by ProcessHits().
| BmnZdcPoint * BmnZdc::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 ) |
References fELoss, fEventID, fLength, fMom, fPos, fPosIndex, fTime, fTrackID, fVolumeID, fVSCVolId, fVSCVolId_after, fZdcCollection, tof, and volDetector.
|
virtual |
Definition at line 96 of file BmnZdc.cxx.
|
virtual |
|
virtual |
Definition at line 508 of file BmnZdc.cxx.
References TString::Contains().
|
virtual |
|
virtual |
Definition at line 459 of file BmnZdc.cxx.
References TObjArray::AddLast(), TString::Data(), TString::EndsWith(), BmnZdcGeoPar::GetGeoPassiveNodes(), BmnZdcGeoPar::GetGeoSensitiveNodes(), and TListIter::Next().
|
virtual |
|
virtual |
Copies the hit collection with a given track index offset
| cl1 | Origin |
| cl2 | Target |
| offset | Index offset |
Definition at line 441 of file BmnZdc.cxx.
References TObjArray::At(), fPosIndex, TObjArray::GetEntriesFast(), and i.
|
virtual |
Copies the hit collection with a given track index offset
| cl1 | Origin |
| cl2 | Target |
| offset | Index offset |
|
virtual |
If verbosity level is set, print hit collection at the end of the event and resets it afterwards.
Definition at line 398 of file BmnZdc.cxx.
References Print(), and Reset().
|
virtual |
If verbosity level is set, print hit collection at the end of the event and resets it afterwards.
|
virtual |
Definition at line 412 of file BmnZdc.cxx.
References fZdcCollection.
|
virtual |
|
virtual |
Stores volume IDs for MUO detector and mirror.
Definition at line 83 of file BmnZdc.cxx.
References fVSCVolId, and fVSCVolId_after.
|
virtual |
Stores volume IDs for MUO detector and mirror.
|
virtual |
Screen output of hit collection.
Definition at line 421 of file BmnZdc.cxx.
References fZdcCollection, and i.
Referenced by EndOfEvent().
|
virtual |
Screen output of hit collection.
|
virtual |
Defines the action to be taken when a step is inside the active volume. Creates BmnZdcPoints and BmnZdcMirrorPoints and adds them to the collections.
| vol | Pointer to the active volume |
Definition at line 103 of file BmnZdc.cxx.
References AddHit(), fELoss, fEventID, fTrackID, fVSCVolId, fVSCVolId_after, kZDC, TLorentzVector::Px(), TLorentzVector::Py(), TLorentzVector::Pz(), ResetParameters(), TLorentzVector::X(), TLorentzVector::Y(), and TLorentzVector::Z().
|
virtual |
Defines the action to be taken when a step is inside the active volume. Creates BmnZdcPoints and BmnZdcMirrorPoints and adds them to the collections.
| vol | Pointer to the active volume |
|
virtual |
Registers the hit collection in the ROOT manager.
Definition at line 406 of file BmnZdc.cxx.
References fZdcCollection.
|
virtual |
Registers the hit collection in the ROOT manager.
|
virtual |
Clears the hit collection
Definition at line 432 of file BmnZdc.cxx.
References fPosIndex, and fZdcCollection.
Referenced by EndOfEvent().
|
virtual |
Clears the hit collection
|
inlineprivate |
|
private |
|
private |
Definition at line 125 of file BmnZdc.h.
Referenced by AddHit(), ProcessHits(), and ResetParameters().
|
private |
|
private |
Definition at line 124 of file BmnZdc.h.
Referenced by AddHit(), and ResetParameters().
|
private |
Definition at line 122 of file BmnZdc.h.
Referenced by AddHit(), and ResetParameters().
|
private |
Definition at line 121 of file BmnZdc.h.
Referenced by AddHit(), and ResetParameters().
|
private |
Definition at line 128 of file BmnZdc.h.
Referenced by BmnZdc(), BmnZdc(), AddHit(), CopyClones(), Reset(), and ResetParameters().
|
private |
Definition at line 123 of file BmnZdc.h.
Referenced by AddHit(), and ResetParameters().
|
private |
Definition at line 118 of file BmnZdc.h.
Referenced by AddHit(), ProcessHits(), and ResetParameters().
|
private |
Definition at line 119 of file BmnZdc.h.
Referenced by AddHit(), and ResetParameters().
|
private |
Definition at line 126 of file BmnZdc.h.
Referenced by BmnZdc(), BmnZdc(), AddHit(), Initialize(), and ProcessHits().
|
private |
Definition at line 127 of file BmnZdc.h.
Referenced by BmnZdc(), BmnZdc(), AddHit(), Initialize(), and ProcessHits().
|
private |
Definition at line 131 of file BmnZdc.h.
Referenced by BmnZdc(), BmnZdc(), ~BmnZdc(), AddHit(), GetCollection(), Print(), Register(), and Reset().
|
private |