BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnScWall Class Reference

#include <BmnScWall.h>

Inheritance diagram for BmnScWall:
Collaboration diagram for BmnScWall:

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.

Detailed Description

Definition at line 25 of file BmnScWall.h.

Constructor & Destructor Documentation

◆ BmnScWall() [1/6]

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=().

Here is the caller graph for this function:

◆ BmnScWall() [2/6]

BmnScWall::BmnScWall ( const char * name,
Bool_t active )

◆ ~BmnScWall() [1/2]

BmnScWall::~BmnScWall ( )
virtual

Definition at line 68 of file BmnScWall.cxx.

References fScWallCollection.

◆ BmnScWall() [3/6]

BmnScWall::BmnScWall ( const BmnScWall & )
privatedelete

References BmnScWall().

Here is the call graph for this function:

◆ BmnScWall() [4/6]

BmnScWall::BmnScWall ( )

◆ BmnScWall() [5/6]

BmnScWall::BmnScWall ( const char * name,
Bool_t active )
Parameters
namedetetcor name
activesensitivity flag

◆ ~BmnScWall() [2/2]

virtual BmnScWall::~BmnScWall ( )
virtual

◆ BmnScWall() [6/6]

BmnScWall::BmnScWall ( const BmnScWall & )
privatedelete

References BmnScWall().

Here is the call graph for this function:

Member Function Documentation

◆ AddHit() [1/2]

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AddHit() [2/2]

◆ BeginEvent() [1/2]

virtual void BmnScWall::BeginEvent ( )
inlinevirtual

Definition at line 62 of file BmnScWall.h.

◆ BeginEvent() [2/2]

virtual void BmnScWall::BeginEvent ( )
inlinevirtual

Definition at line 62 of file BmnScWall.h.

◆ BeginPrimary() [1/2]

virtual void BmnScWall::BeginPrimary ( )
inlinevirtual

Definition at line 65 of file BmnScWall.h.

◆ BeginPrimary() [2/2]

virtual void BmnScWall::BeginPrimary ( )
inlinevirtual

Definition at line 65 of file BmnScWall.h.

◆ CheckIfSensitive() [1/2]

Bool_t BmnScWall::CheckIfSensitive ( std::string name)
virtual

Definition at line 371 of file BmnScWall.cxx.

References TString::Contains().

Here is the call graph for this function:

◆ CheckIfSensitive() [2/2]

virtual Bool_t BmnScWall::CheckIfSensitive ( std::string name)
virtual

◆ ConstructGeometry() [1/2]

void BmnScWall::ConstructGeometry ( )
virtual

Definition at line 360 of file BmnScWall.cxx.

References TString::Data(), and TString::EndsWith().

Here is the call graph for this function:

◆ ConstructGeometry() [2/2]

virtual void BmnScWall::ConstructGeometry ( )
virtual

◆ EndOfEvent() [1/2]

void BmnScWall::EndOfEvent ( )
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().

Here is the call graph for this function:

◆ EndOfEvent() [2/2]

virtual void BmnScWall::EndOfEvent ( )
virtual

If verbosity level is set, print hit collection at the end of the event and resets it afterwards.

◆ FinishPrimary() [1/2]

virtual void BmnScWall::FinishPrimary ( )
inlinevirtual

Definition at line 63 of file BmnScWall.h.

◆ FinishPrimary() [2/2]

virtual void BmnScWall::FinishPrimary ( )
inlinevirtual

Definition at line 63 of file BmnScWall.h.

◆ FinishRun() [1/2]

virtual void BmnScWall::FinishRun ( )
inlinevirtual

Definition at line 64 of file BmnScWall.h.

◆ FinishRun() [2/2]

virtual void BmnScWall::FinishRun ( )
inlinevirtual

Definition at line 64 of file BmnScWall.h.

◆ GetCellLargeCutVolId() [1/2]

Int_t BmnScWall::GetCellLargeCutVolId ( )
inline

Definition at line 104 of file BmnScWall.h.

References fCellLargeCutVolId.

◆ GetCellLargeCutVolId() [2/2]

Int_t BmnScWall::GetCellLargeCutVolId ( )
inline

Definition at line 104 of file BmnScWall.h.

References fCellLargeCutVolId.

◆ GetCellLargeTrapVolId() [1/2]

Int_t BmnScWall::GetCellLargeTrapVolId ( )
inline

Definition at line 105 of file BmnScWall.h.

References fCellLargeTrapVolId.

◆ GetCellLargeTrapVolId() [2/2]

Int_t BmnScWall::GetCellLargeTrapVolId ( )
inline

Definition at line 105 of file BmnScWall.h.

References fCellLargeTrapVolId.

◆ GetCellSmallCutVolId() [1/2]

Int_t BmnScWall::GetCellSmallCutVolId ( )
inline

Definition at line 98 of file BmnScWall.h.

References fCellSmallCutVolId.

◆ GetCellSmallCutVolId() [2/2]

Int_t BmnScWall::GetCellSmallCutVolId ( )
inline

Definition at line 98 of file BmnScWall.h.

References fCellSmallCutVolId.

◆ GetCellSmallCutVolId_10mm() [1/2]

Int_t BmnScWall::GetCellSmallCutVolId_10mm ( )
inline

Definition at line 99 of file BmnScWall.h.

References fCellSmallCutVolId_10mm.

◆ GetCellSmallCutVolId_10mm() [2/2]

Int_t BmnScWall::GetCellSmallCutVolId_10mm ( )
inline

Definition at line 99 of file BmnScWall.h.

References fCellSmallCutVolId_10mm.

◆ GetCellSmallCutVolId_20mm() [1/2]

Int_t BmnScWall::GetCellSmallCutVolId_20mm ( )
inline

Definition at line 100 of file BmnScWall.h.

References fCellSmallCutVolId_20mm.

◆ GetCellSmallCutVolId_20mm() [2/2]

Int_t BmnScWall::GetCellSmallCutVolId_20mm ( )
inline

Definition at line 100 of file BmnScWall.h.

References fCellSmallCutVolId_20mm.

◆ GetCellSmallTrapVolId() [1/2]

Int_t BmnScWall::GetCellSmallTrapVolId ( )
inline

Definition at line 101 of file BmnScWall.h.

References fCellSmallTrapVolId.

◆ GetCellSmallTrapVolId() [2/2]

Int_t BmnScWall::GetCellSmallTrapVolId ( )
inline

Definition at line 101 of file BmnScWall.h.

References fCellSmallTrapVolId.

◆ GetCellSmallTrapVolId_10mm() [1/2]

Int_t BmnScWall::GetCellSmallTrapVolId_10mm ( )
inline

Definition at line 102 of file BmnScWall.h.

References fCellSmallTrapVolId_10mm.

◆ GetCellSmallTrapVolId_10mm() [2/2]

Int_t BmnScWall::GetCellSmallTrapVolId_10mm ( )
inline

Definition at line 102 of file BmnScWall.h.

References fCellSmallTrapVolId_10mm.

◆ GetCellSmallTrapVolId_20mm() [1/2]

Int_t BmnScWall::GetCellSmallTrapVolId_20mm ( )
inline

Definition at line 103 of file BmnScWall.h.

References fCellSmallTrapVolId_20mm.

◆ GetCellSmallTrapVolId_20mm() [2/2]

Int_t BmnScWall::GetCellSmallTrapVolId_20mm ( )
inline

Definition at line 103 of file BmnScWall.h.

References fCellSmallTrapVolId_20mm.

◆ GetCollection() [1/2]

TClonesArray * BmnScWall::GetCollection ( Int_t iColl) const
virtual

Definition at line 335 of file BmnScWall.cxx.

References fScWallCollection.

◆ GetCollection() [2/2]

virtual TClonesArray * BmnScWall::GetCollection ( Int_t iColl) const
virtual

◆ GetHit() [1/4]

BmnScWallPoint * BmnScWall::GetHit ( Int_t i) const

Definition at line 98 of file BmnScWall.cxx.

References fScWallCollection, and i.

Referenced by GetHit(), and ProcessHits().

Here is the caller graph for this function:

◆ GetHit() [2/4]

BmnScWallPoint * BmnScWall::GetHit ( Int_t i) const

References i.

◆ GetHit() [3/4]

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.

Here is the call graph for this function:

◆ GetHit() [4/4]

BmnScWallPoint * BmnScWall::GetHit ( Int_t slice,
Int_t cell ) const

◆ Initialize() [1/2]

◆ Initialize() [2/2]

virtual void BmnScWall::Initialize ( )
virtual

Stores volume IDs for MUO detector and mirror.

◆ operator=() [1/2]

BmnScWall BmnScWall::operator= ( const BmnScWall & )
privatedelete

References BmnScWall().

Here is the call graph for this function:

◆ operator=() [2/2]

BmnScWall BmnScWall::operator= ( const BmnScWall & )
privatedelete

References BmnScWall().

Here is the call graph for this function:

◆ PostTrack() [1/2]

virtual void BmnScWall::PostTrack ( )
inlinevirtual

Definition at line 66 of file BmnScWall.h.

◆ PostTrack() [2/2]

virtual void BmnScWall::PostTrack ( )
inlinevirtual

Definition at line 66 of file BmnScWall.h.

◆ PreTrack() [1/2]

virtual void BmnScWall::PreTrack ( )
inlinevirtual

Definition at line 67 of file BmnScWall.h.

◆ PreTrack() [2/2]

virtual void BmnScWall::PreTrack ( )
inlinevirtual

Definition at line 67 of file BmnScWall.h.

◆ Print() [1/2]

void BmnScWall::Print ( Option_t * ) const
virtual

Screen output of hit collection.

Definition at line 343 of file BmnScWall.cxx.

References fScWallCollection, and i.

Referenced by EndOfEvent().

Here is the caller graph for this function:

◆ Print() [2/2]

virtual void BmnScWall::Print ( Option_t * ) const
virtual

Screen output of hit collection.

◆ ProcessHits() [1/2]

Bool_t BmnScWall::ProcessHits ( FairVolume * vol = 0)
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.

Parameters
volPointer 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().

Here is the call graph for this function:

◆ ProcessHits() [2/2]

virtual Bool_t BmnScWall::ProcessHits ( FairVolume * vol = 0)
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.

Parameters
volPointer to the active volume

◆ Register() [1/2]

void BmnScWall::Register ( )
virtual

Registers the hit collection in the ROOT manager.

Definition at line 329 of file BmnScWall.cxx.

References fScWallCollection.

◆ Register() [2/2]

virtual void BmnScWall::Register ( )
virtual

Registers the hit collection in the ROOT manager.

◆ Reset() [1/2]

void BmnScWall::Reset ( )
virtual

Clears the hit collection

Definition at line 354 of file BmnScWall.cxx.

References fScWallCollection.

Referenced by EndOfEvent().

Here is the caller graph for this function:

◆ Reset() [2/2]

virtual void BmnScWall::Reset ( )
virtual

Clears the hit collection

◆ ResetParameters() [1/2]

void BmnScWall::ResetParameters ( )
inlineprivate

Definition at line 147 of file BmnScWall.h.

References fELoss, fLength, fMom, fPos, fTime, fTrackID, and fVolumeID.

Referenced by ProcessHits().

Here is the caller graph for this function:

◆ ResetParameters() [2/2]

void BmnScWall::ResetParameters ( )
private

Member Data Documentation

◆ fCellLargeCutVolId

Int_t BmnScWall::fCellLargeCutVolId
private

Definition at line 127 of file BmnScWall.h.

Referenced by BmnScWall(), BmnScWall(), AddHit(), GetCellLargeCutVolId(), Initialize(), and ProcessHits().

◆ fCellLargeTrapVolId

Int_t BmnScWall::fCellLargeTrapVolId
private

◆ fCellSmallCutVolId

Int_t BmnScWall::fCellSmallCutVolId
private

Definition at line 121 of file BmnScWall.h.

Referenced by BmnScWall(), BmnScWall(), AddHit(), GetCellSmallCutVolId(), Initialize(), and ProcessHits().

◆ fCellSmallCutVolId_10mm

Int_t BmnScWall::fCellSmallCutVolId_10mm
private

◆ fCellSmallCutVolId_20mm

Int_t BmnScWall::fCellSmallCutVolId_20mm
private

◆ fCellSmallTrapVolId

Int_t BmnScWall::fCellSmallTrapVolId
private

◆ fCellSmallTrapVolId_10mm

Int_t BmnScWall::fCellSmallTrapVolId_10mm
private

◆ fCellSmallTrapVolId_20mm

Int_t BmnScWall::fCellSmallTrapVolId_20mm
private

◆ fELoss

Double32_t BmnScWall::fELoss
private

Definition at line 133 of file BmnScWall.h.

Referenced by AddHit(), ProcessHits(), and ResetParameters().

◆ fEventID

Int_t BmnScWall::fEventID
private

Definition at line 120 of file BmnScWall.h.

Referenced by BmnScWall(), BmnScWall(), and AddHit().

◆ fLength

Double32_t BmnScWall::fLength
private

Definition at line 132 of file BmnScWall.h.

Referenced by AddHit(), ProcessHits(), and ResetParameters().

◆ fMom

TVector3 BmnScWall::fMom
private

Definition at line 130 of file BmnScWall.h.

Referenced by AddHit(), ProcessHits(), and ResetParameters().

◆ fPos

TVector3 BmnScWall::fPos
private

Definition at line 129 of file BmnScWall.h.

Referenced by AddHit(), ProcessHits(), and ResetParameters().

◆ fScWallCollection

TClonesArray * BmnScWall::fScWallCollection
private

◆ fTime

Double32_t BmnScWall::fTime
private

Definition at line 131 of file BmnScWall.h.

Referenced by AddHit(), ProcessHits(), and ResetParameters().

◆ fTrackID

Int_t BmnScWall::fTrackID
private

Definition at line 118 of file BmnScWall.h.

Referenced by AddHit(), ProcessHits(), and ResetParameters().

◆ fVolumeID

Int_t BmnScWall::fVolumeID
private

Definition at line 119 of file BmnScWall.h.

Referenced by AddHit(), and ResetParameters().

◆ volDetector

Int_t BmnScWall::volDetector
private

Definition at line 134 of file BmnScWall.h.

Referenced by BmnScWall(), BmnScWall(), and AddHit().


The documentation for this class was generated from the following files: