|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include <BmnHodo.h>
Public Member Functions | |
| BmnHodo () | |
| Default constructor. | |
| BmnHodo (const char *name, Bool_t active) | |
| Standard constructor. | |
| virtual | ~BmnHodo () |
| 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 | SetSpecialPhysicsCuts () |
| virtual void | BeginEvent () |
| virtual void | FinishPrimary () |
| virtual void | FinishRun () |
| virtual void | BeginPrimary () |
| virtual void | PostTrack () |
| virtual void | PreTrack () |
| 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 | ConstructGeometry () |
| Virtual method Construct geometry. | |
| virtual Bool_t | CheckIfSensitive (std::string name) |
| BmnHodoPoint * | GetHit (Int_t i) const |
| BmnHodoPoint * | GetHit (Int_t sticksens, Int_t stick) const |
| Int_t | GetHodoStickSensVolId () |
| BmnHodoPoint * | 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) |
| BmnHodo () | |
| Default constructor. | |
| BmnHodo (const char *name, Bool_t active) | |
| Standard constructor. | |
| virtual | ~BmnHodo () |
| 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 | SetSpecialPhysicsCuts () |
| virtual void | BeginEvent () |
| virtual void | FinishPrimary () |
| virtual void | FinishRun () |
| virtual void | BeginPrimary () |
| virtual void | PostTrack () |
| virtual void | PreTrack () |
| 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 | ConstructGeometry () |
| Virtual method Construct geometry. | |
| virtual Bool_t | CheckIfSensitive (std::string name) |
| BmnHodoPoint * | GetHit (Int_t i) const |
| BmnHodoPoint * | GetHit (Int_t sticksens, Int_t stick) const |
| Int_t | GetHodoStickSensVolId () |
| BmnHodoPoint * | 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. | |
| BmnHodo (const BmnHodo &)=delete | |
| BmnHodo | operator= (const BmnHodo &)=delete |
| void | ResetParameters () |
| Hit collection. | |
| BmnHodo (const BmnHodo &)=delete | |
| BmnHodo | operator= (const BmnHodo &)=delete |
Private Attributes | |
| Int_t | fTrackID |
| Int_t | fVolumeID |
| track index | |
| Int_t | fEventID |
| volume id | |
| Int_t | fHodoStickSensVolId |
| event id | |
| TVector3 | fPos |
| TVector3 | fMom |
| position (in) | |
| Double32_t | fTime |
| momentum (in) | |
| Double32_t | fLength |
| time | |
| Double32_t | fELoss |
| length | |
| Int_t | volDetector |
| energy loss | |
| TClonesArray * | fHodoCollection |
| MC volume ID of MUO. | |
| BmnHodo::BmnHodo | ( | ) |
Definition at line 31 of file BmnHodo.cxx.
References fEventID, fHodoCollection, fHodoStickSensVolId, and volDetector.
Referenced by BmnHodo(), and operator=().
| BmnHodo::BmnHodo | ( | const char * | name, |
| Bool_t | active ) |
| name | detetcor name |
| active | sensitivity flag |
Definition at line 40 of file BmnHodo.cxx.
References fEventID, fHodoCollection, fHodoStickSensVolId, and volDetector.
|
virtual |
Definition at line 51 of file BmnHodo.cxx.
References fHodoCollection.
|
privatedelete |
| BmnHodo::BmnHodo | ( | ) |
| BmnHodo::BmnHodo | ( | const char * | name, |
| Bool_t | active ) |
| name | detetcor name |
| active | sensitivity flag |
|
virtual |
|
privatedelete |
| BmnHodoPoint * BmnHodo::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 328 of file BmnHodo.cxx.
References fHodoCollection, and TObjArray::GetEntriesFast().
Referenced by ProcessHits().
| BmnHodoPoint * BmnHodo::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, fHodoCollection, fHodoStickSensVolId, fLength, fMom, fPos, fTime, fTrackID, fVolumeID, tof, and volDetector.
|
inlinevirtual |
Definition at line 94 of file BmnHodo.h.
References BmnHodoGeoPar::CheckIfSensitive().
|
inlinevirtual |
Definition at line 94 of file BmnHodo.h.
References BmnHodoGeoPar::CheckIfSensitive().
|
virtual |
Definition at line 317 of file BmnHodo.cxx.
References TString::Data(), and TString::EndsWith().
|
virtual |
|
virtual |
If verbosity level is set, print hit collection at the end of the event and resets it afterwards.
Definition at line 278 of file BmnHodo.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 292 of file BmnHodo.cxx.
References fHodoCollection.
|
virtual |
| BmnHodoPoint * BmnHodo::GetHit | ( | Int_t | i | ) | const |
Definition at line 72 of file BmnHodo.cxx.
References fHodoCollection, and i.
Referenced by GetHit(), and ProcessHits().
| BmnHodoPoint * BmnHodo::GetHit | ( | Int_t | i | ) | const |
References i.
| BmnHodoPoint * BmnHodo::GetHit | ( | Int_t | sticksens, |
| Int_t | stick ) const |
Definition at line 81 of file BmnHodo.cxx.
References fHodoCollection, BmnHodoPoint::GetCopy(), BmnHodoPoint::GetCopyMother(), GetHit(), and i.
| BmnHodoPoint * BmnHodo::GetHit | ( | Int_t | sticksens, |
| Int_t | stick ) const |
|
inline |
Definition at line 98 of file BmnHodo.h.
References fHodoStickSensVolId.
|
inline |
Definition at line 98 of file BmnHodo.h.
References fHodoStickSensVolId.
|
virtual |
Stores volume IDs for MUO detector and mirror.
Definition at line 60 of file BmnHodo.cxx.
References fHodoStickSensVolId.
|
virtual |
Stores volume IDs for MUO detector and mirror.
|
virtual |
Screen output of hit collection.
Definition at line 300 of file BmnHodo.cxx.
References fHodoCollection, 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 BmnBdPoints and BmnBdMirrorPoints and adds them to the collections.
| vol | Pointer to the active volume |
This method is called from the MC stepping
Definition at line 98 of file BmnHodo.cxx.
References AddHit(), BmnHodoPoint::AddSTICK(), fELoss, fHodoStickSensVolId, fLength, fMom, fPos, fTime, fTrackID, GetHit(), kHODO, 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 BmnBdPoints and BmnBdMirrorPoints and adds them to the collections.
| vol | Pointer to the active volume |
|
virtual |
Registers the hit collection in the ROOT manager.
Definition at line 286 of file BmnHodo.cxx.
References fHodoCollection.
|
virtual |
Registers the hit collection in the ROOT manager.
|
virtual |
Clears the hit collection
Definition at line 311 of file BmnHodo.cxx.
References fHodoCollection.
Referenced by EndOfEvent().
|
virtual |
Clears the hit collection
|
inlineprivate |
|
private |
|
inlinevirtual |
|
inlinevirtual |
|
private |
Definition at line 119 of file BmnHodo.h.
Referenced by AddHit(), ProcessHits(), and ResetParameters().
|
private |
|
private |
Definition at line 122 of file BmnHodo.h.
Referenced by BmnHodo(), BmnHodo(), ~BmnHodo(), AddHit(), GetCollection(), GetHit(), GetHit(), Print(), Register(), and Reset().
|
private |
Definition at line 114 of file BmnHodo.h.
Referenced by BmnHodo(), BmnHodo(), AddHit(), GetHodoStickSensVolId(), Initialize(), and ProcessHits().
|
private |
Definition at line 118 of file BmnHodo.h.
Referenced by AddHit(), ProcessHits(), and ResetParameters().
|
private |
Definition at line 116 of file BmnHodo.h.
Referenced by AddHit(), ProcessHits(), and ResetParameters().
|
private |
Definition at line 115 of file BmnHodo.h.
Referenced by AddHit(), ProcessHits(), and ResetParameters().
|
private |
Definition at line 117 of file BmnHodo.h.
Referenced by AddHit(), ProcessHits(), and ResetParameters().
|
private |
Definition at line 111 of file BmnHodo.h.
Referenced by AddHit(), ProcessHits(), and ResetParameters().
|
private |
Definition at line 112 of file BmnHodo.h.
Referenced by AddHit(), and ResetParameters().
|
private |