|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include <BmnScWall.h>
Public Member Functions | |
| BmnScWall () | |
| Default constructor. | |
| BmnScWall (const char *name, Bool_t active) | |
| Standard constructor. | |
| virtual | ~BmnScWall () |
| 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 | 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) |
| BmnScWallPoint * | GetHit (Int_t i) const |
| BmnScWallPoint * | GetHit (Int_t slice, Int_t cell) const |
| Int_t | GetCellSmallCutVolId () |
| Int_t | GetCellSmallCutVolId_10mm () |
| Int_t | GetCellSmallCutVolId_20mm () |
| Int_t | GetCellSmallTrapVolId () |
| Int_t | GetCellSmallTrapVolId_10mm () |
| Int_t | GetCellSmallTrapVolId_20mm () |
| Int_t | GetCellLargeCutVolId () |
| Int_t | GetCellLargeTrapVolId () |
| BmnScWallPoint * | 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) |
| BmnScWall () | |
| Default constructor. | |
| BmnScWall (const char *name, Bool_t active) | |
| Standard constructor. | |
| virtual | ~BmnScWall () |
| 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 | 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) |
| BmnScWallPoint * | GetHit (Int_t i) const |
| BmnScWallPoint * | GetHit (Int_t slice, Int_t cell) const |
| Int_t | GetCellSmallCutVolId () |
| Int_t | GetCellSmallCutVolId_10mm () |
| Int_t | GetCellSmallCutVolId_20mm () |
| Int_t | GetCellSmallTrapVolId () |
| Int_t | GetCellSmallTrapVolId_10mm () |
| Int_t | GetCellSmallTrapVolId_20mm () |
| Int_t | GetCellLargeCutVolId () |
| Int_t | GetCellLargeTrapVolId () |
| BmnScWallPoint * | 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. | |
| BmnScWall (const BmnScWall &)=delete | |
| BmnScWall | operator= (const BmnScWall &)=delete |
| void | ResetParameters () |
| Hit collection. | |
| BmnScWall (const BmnScWall &)=delete | |
| BmnScWall | operator= (const BmnScWall &)=delete |
Private Attributes | |
| Int_t | fTrackID |
| Int_t | fVolumeID |
| track index | |
| Int_t | fEventID |
| volume id | |
| Int_t | fCellSmallCutVolId |
| event id | |
| Int_t | fCellSmallCutVolId_10mm |
| Int_t | fCellSmallCutVolId_20mm |
| Int_t | fCellSmallTrapVolId |
| Int_t | fCellSmallTrapVolId_10mm |
| Int_t | fCellSmallTrapVolId_20mm |
| Int_t | fCellLargeCutVolId |
| Int_t | fCellLargeTrapVolId |
| 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 * | fScWallCollection |
| MC volume ID of MUO. | |
Definition at line 25 of file BmnScWall.h.
| BmnScWall::BmnScWall | ( | ) |
Definition at line 31 of file BmnScWall.cxx.
References fCellLargeCutVolId, fCellLargeTrapVolId, fCellSmallCutVolId, fCellSmallCutVolId_10mm, fCellSmallCutVolId_20mm, fCellSmallTrapVolId, fCellSmallTrapVolId_10mm, fCellSmallTrapVolId_20mm, fEventID, fScWallCollection, and volDetector.
Referenced by BmnScWall(), and operator=().
| BmnScWall::BmnScWall | ( | const char * | name, |
| Bool_t | active ) |
| name | detetcor name |
| active | sensitivity flag |
Definition at line 50 of file BmnScWall.cxx.
References fCellLargeCutVolId, fCellLargeTrapVolId, fCellSmallCutVolId, fCellSmallCutVolId_10mm, fCellSmallCutVolId_20mm, fCellSmallTrapVolId, fCellSmallTrapVolId_10mm, fCellSmallTrapVolId_20mm, fEventID, fScWallCollection, and volDetector.
|
virtual |
Definition at line 68 of file BmnScWall.cxx.
References fScWallCollection.
|
privatedelete |
| BmnScWall::BmnScWall | ( | ) |
| BmnScWall::BmnScWall | ( | const char * | name, |
| Bool_t | active ) |
| name | detetcor name |
| active | sensitivity flag |
|
virtual |
|
privatedelete |
| BmnScWallPoint * BmnScWall::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 380 of file BmnScWall.cxx.
References fScWallCollection, and TObjArray::GetEntriesFast().
Referenced by ProcessHits().
| BmnScWallPoint * BmnScWall::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 fCellLargeCutVolId, fCellLargeTrapVolId, fCellSmallCutVolId, fCellSmallCutVolId_10mm, fCellSmallCutVolId_20mm, fCellSmallTrapVolId, fCellSmallTrapVolId_10mm, fCellSmallTrapVolId_20mm, fELoss, fEventID, fLength, fMom, fPos, fScWallCollection, fTime, fTrackID, fVolumeID, tof, and volDetector.
|
inlinevirtual |
Definition at line 62 of file BmnScWall.h.
|
inlinevirtual |
Definition at line 62 of file BmnScWall.h.
|
inlinevirtual |
Definition at line 65 of file BmnScWall.h.
|
inlinevirtual |
Definition at line 65 of file BmnScWall.h.
|
virtual |
Definition at line 371 of file BmnScWall.cxx.
References TString::Contains().
|
virtual |
|
virtual |
Definition at line 360 of file BmnScWall.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 321 of file BmnScWall.cxx.
References Print(), and Reset().
|
virtual |
If verbosity level is set, print hit collection at the end of the event and resets it afterwards.
|
inlinevirtual |
Definition at line 63 of file BmnScWall.h.
|
inlinevirtual |
Definition at line 63 of file BmnScWall.h.
|
inlinevirtual |
Definition at line 64 of file BmnScWall.h.
|
inlinevirtual |
Definition at line 64 of file BmnScWall.h.
|
inline |
Definition at line 104 of file BmnScWall.h.
References fCellLargeCutVolId.
|
inline |
Definition at line 104 of file BmnScWall.h.
References fCellLargeCutVolId.
|
inline |
Definition at line 105 of file BmnScWall.h.
References fCellLargeTrapVolId.
|
inline |
Definition at line 105 of file BmnScWall.h.
References fCellLargeTrapVolId.
|
inline |
Definition at line 98 of file BmnScWall.h.
References fCellSmallCutVolId.
|
inline |
Definition at line 98 of file BmnScWall.h.
References fCellSmallCutVolId.
|
inline |
Definition at line 99 of file BmnScWall.h.
References fCellSmallCutVolId_10mm.
|
inline |
Definition at line 99 of file BmnScWall.h.
References fCellSmallCutVolId_10mm.
|
inline |
Definition at line 100 of file BmnScWall.h.
References fCellSmallCutVolId_20mm.
|
inline |
Definition at line 100 of file BmnScWall.h.
References fCellSmallCutVolId_20mm.
|
inline |
Definition at line 101 of file BmnScWall.h.
References fCellSmallTrapVolId.
|
inline |
Definition at line 101 of file BmnScWall.h.
References fCellSmallTrapVolId.
|
inline |
Definition at line 102 of file BmnScWall.h.
References fCellSmallTrapVolId_10mm.
|
inline |
Definition at line 102 of file BmnScWall.h.
References fCellSmallTrapVolId_10mm.
|
inline |
Definition at line 103 of file BmnScWall.h.
References fCellSmallTrapVolId_20mm.
|
inline |
Definition at line 103 of file BmnScWall.h.
References fCellSmallTrapVolId_20mm.
|
virtual |
Definition at line 335 of file BmnScWall.cxx.
References fScWallCollection.
|
virtual |
| BmnScWallPoint * BmnScWall::GetHit | ( | Int_t | i | ) | const |
Definition at line 98 of file BmnScWall.cxx.
References fScWallCollection, and i.
Referenced by GetHit(), and ProcessHits().
| BmnScWallPoint * BmnScWall::GetHit | ( | Int_t | i | ) | const |
References i.
| BmnScWallPoint * BmnScWall::GetHit | ( | Int_t | slice, |
| Int_t | cell ) const |
Definition at line 107 of file BmnScWall.cxx.
References fScWallCollection, BmnScWallPoint::GetCopy(), BmnScWallPoint::GetCopyMother(), GetHit(), and i.
| BmnScWallPoint * BmnScWall::GetHit | ( | Int_t | slice, |
| Int_t | cell ) const |
|
virtual |
Stores volume IDs for MUO detector and mirror.
Definition at line 77 of file BmnScWall.cxx.
References fCellLargeCutVolId, fCellLargeTrapVolId, fCellSmallCutVolId, fCellSmallCutVolId_10mm, fCellSmallCutVolId_20mm, fCellSmallTrapVolId, fCellSmallTrapVolId_10mm, fCellSmallTrapVolId_20mm, BmnScWallGeoPar::scwallSensitiveCell_name_large_cutted, BmnScWallGeoPar::scwallSensitiveCell_name_large_trap, BmnScWallGeoPar::scwallSensitiveCell_name_small_cutted, BmnScWallGeoPar::scwallSensitiveCell_name_small_cutted_10mm, BmnScWallGeoPar::scwallSensitiveCell_name_small_cutted_20mm, BmnScWallGeoPar::scwallSensitiveCell_name_small_trap, BmnScWallGeoPar::scwallSensitiveCell_name_small_trap_10mm, and BmnScWallGeoPar::scwallSensitiveCell_name_small_trap_20mm.
|
virtual |
Stores volume IDs for MUO detector and mirror.
|
inlinevirtual |
Definition at line 66 of file BmnScWall.h.
|
inlinevirtual |
Definition at line 66 of file BmnScWall.h.
|
inlinevirtual |
Definition at line 67 of file BmnScWall.h.
|
inlinevirtual |
Definition at line 67 of file BmnScWall.h.
|
virtual |
Screen output of hit collection.
Definition at line 343 of file BmnScWall.cxx.
References fScWallCollection, 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 124 of file BmnScWall.cxx.
References BmnScWallPoint::AddCELL(), AddHit(), fCellLargeCutVolId, fCellLargeTrapVolId, fCellSmallCutVolId, fCellSmallCutVolId_10mm, fCellSmallCutVolId_20mm, fCellSmallTrapVolId, fCellSmallTrapVolId_10mm, fCellSmallTrapVolId_20mm, fELoss, fLength, fMom, fPos, fTime, fTrackID, GetHit(), kSCWALL, 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 329 of file BmnScWall.cxx.
References fScWallCollection.
|
virtual |
Registers the hit collection in the ROOT manager.
|
virtual |
Clears the hit collection
Definition at line 354 of file BmnScWall.cxx.
References fScWallCollection.
Referenced by EndOfEvent().
|
virtual |
Clears the hit collection
|
inlineprivate |
Definition at line 147 of file BmnScWall.h.
References fELoss, fLength, fMom, fPos, fTime, fTrackID, and fVolumeID.
Referenced by ProcessHits().
|
private |
|
private |
Definition at line 127 of file BmnScWall.h.
Referenced by BmnScWall(), BmnScWall(), AddHit(), GetCellLargeCutVolId(), Initialize(), and ProcessHits().
|
private |
Definition at line 128 of file BmnScWall.h.
Referenced by BmnScWall(), BmnScWall(), AddHit(), GetCellLargeTrapVolId(), Initialize(), and ProcessHits().
|
private |
Definition at line 121 of file BmnScWall.h.
Referenced by BmnScWall(), BmnScWall(), AddHit(), GetCellSmallCutVolId(), Initialize(), and ProcessHits().
|
private |
Definition at line 122 of file BmnScWall.h.
Referenced by BmnScWall(), BmnScWall(), AddHit(), GetCellSmallCutVolId_10mm(), Initialize(), and ProcessHits().
|
private |
Definition at line 123 of file BmnScWall.h.
Referenced by BmnScWall(), BmnScWall(), AddHit(), GetCellSmallCutVolId_20mm(), Initialize(), and ProcessHits().
|
private |
Definition at line 124 of file BmnScWall.h.
Referenced by BmnScWall(), BmnScWall(), AddHit(), GetCellSmallTrapVolId(), Initialize(), and ProcessHits().
|
private |
Definition at line 125 of file BmnScWall.h.
Referenced by BmnScWall(), BmnScWall(), AddHit(), GetCellSmallTrapVolId_10mm(), Initialize(), and ProcessHits().
|
private |
Definition at line 126 of file BmnScWall.h.
Referenced by BmnScWall(), BmnScWall(), AddHit(), GetCellSmallTrapVolId_20mm(), Initialize(), and ProcessHits().
|
private |
Definition at line 133 of file BmnScWall.h.
Referenced by AddHit(), ProcessHits(), and ResetParameters().
|
private |
Definition at line 120 of file BmnScWall.h.
Referenced by BmnScWall(), BmnScWall(), and AddHit().
|
private |
Definition at line 132 of file BmnScWall.h.
Referenced by AddHit(), ProcessHits(), and ResetParameters().
|
private |
Definition at line 130 of file BmnScWall.h.
Referenced by AddHit(), ProcessHits(), and ResetParameters().
|
private |
Definition at line 129 of file BmnScWall.h.
Referenced by AddHit(), ProcessHits(), and ResetParameters().
|
private |
Definition at line 136 of file BmnScWall.h.
Referenced by BmnScWall(), BmnScWall(), ~BmnScWall(), AddHit(), GetCollection(), GetHit(), GetHit(), Print(), Register(), and Reset().
|
private |
Definition at line 131 of file BmnScWall.h.
Referenced by AddHit(), ProcessHits(), and ResetParameters().
|
private |
Definition at line 118 of file BmnScWall.h.
Referenced by AddHit(), ProcessHits(), and ResetParameters().
|
private |
Definition at line 119 of file BmnScWall.h.
Referenced by AddHit(), and ResetParameters().
|
private |
Definition at line 134 of file BmnScWall.h.
Referenced by BmnScWall(), BmnScWall(), and AddHit().