BmnRoot 26.10.0-210-gc52d34b0
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnRun8DM Class Reference

#include <BmnRun8DM.h>

Inheritance diagram for BmnRun8DM:
Collaboration diagram for BmnRun8DM:

Public Member Functions

virtual Int_t MaxModulesInStation () const noexcept override
virtual Int_t Alignables () const noexcept override
virtual Int_t IDfromHit (Int_t CbmDetectorID) const noexcept override
virtual std::string DecodeID (Int_t id) const override
 BmnRun8DM ()
virtual ~BmnRun8DM () override
Public Member Functions inherited from BmnDetectorModel
virtual Bool_t IgnoreHit (Int_t) const
virtual Bool_t IgnoresSome () const
virtual std::vector< Composite > Composites () const
virtual Int_t TargetID () const
 BmnDetectorModel ()=default
virtual ~BmnDetectorModel ()=default
Bool_t Init (const char *targetGeoFile=nullptr)
Bool_t Initialized () const
Int_t EncodedID (Int_t idx) const
Int_t Idx (Int_t ID) const
Int_t IdxFromHit (Int_t hitID) const
Bool_t UnknownID (Int_t hitID) const
const std::string & Description () const
const std::vector< Plane > & Geometry () const
const Layer & Target () const
Double_t TargetShift () const noexcept
void ShiftTarget (Double_t dz)

Protected Types

enum  { kFirst , kLast }

Protected Member Functions

Int_t StationModules (Int_t station) const noexcept
virtual Int_t StationAlignables (Int_t station) const noexcept
virtual Int_t FirstModule (Int_t) const noexcept
virtual Int_t FirstStation () const noexcept
virtual Int_t LastStation () const noexcept
virtual void Reset () noexcept override
virtual Int_t NextID () noexcept override
Protected Member Functions inherited from BmnDetectorModel
virtual Bool_t LoadGeometry (const char *)

Protected Attributes

Int_t fSystem {-1}
Int_t fStation {-1}
Int_t fModule {-1}
Protected Attributes inherited from BmnDetectorModel
std::string fDescription {"no description"}
std::vector< Plane > fPlanes
Layer fTarget {0.0, 0.0}

Static Protected Attributes

static constexpr const Int_t SIL_SYSTEM_ID {DetectorId::kSILICON}
static constexpr const Int_t GEM_SYSTEM_ID {DetectorId::kGEM}
static constexpr const Int_t SIL_STATION_CNT {4}
static constexpr const Int_t GEM_STATION_CNT {7}
static constexpr const Int_t STA_NUM_START {1}
static constexpr const Int_t MOD_NUM_START {1}
static constexpr const Int_t SIL_STATION_IDX [2] {STA_NUM_START, STA_NUM_START + SIL_STATION_CNT - 1}
static constexpr const Int_t GEM_STATION_IDX [2] {SIL_STATION_IDX[kLast] + 1, SIL_STATION_IDX[kLast] + GEM_STATION_CNT}
static constexpr const Int_t SIL_MODULES [SIL_STATION_CNT] {6, 10, 14, 18}
static constexpr const Int_t GEM_MODULES [GEM_STATION_CNT] {8, 8, 8, 8, 8, 8, 8}

Detailed Description

Definition at line 40 of file BmnRun8DM.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected
Enumerator
kFirst 
kLast 

Definition at line 45 of file BmnRun8DM.h.

Constructor & Destructor Documentation

◆ BmnRun8DM()

BmnRun8DM::BmnRun8DM ( )
inline

Definition at line 167 of file BmnRun8DM.h.

References BmnDetectorModel::fDescription.

◆ ~BmnRun8DM()

BmnRun8DM::~BmnRun8DM ( )
overridevirtualdefault

Member Function Documentation

◆ Alignables()

virtual Int_t BmnRun8DM::Alignables ( ) const
inlineoverridevirtualnoexcept

Implements BmnDetectorModel.

Definition at line 139 of file BmnRun8DM.h.

References FirstStation(), i, LastStation(), and StationAlignables().

Referenced by expandS(), expdataNN(), histo(), and mp2prep().

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

◆ DecodeID()

virtual std::string BmnRun8DM::DecodeID ( Int_t id) const
inlineoverridevirtual

Implements BmnDetectorModel.

Definition at line 160 of file BmnRun8DM.h.

References TString::Data(), and BmnDetectorList::GetSystemNameCaps().

Referenced by histo().

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

◆ FirstModule()

virtual Int_t BmnRun8DM::FirstModule ( Int_t ) const
inlineprotectedvirtualnoexcept

Reimplemented in BmnRun8HalfDM.

Definition at line 74 of file BmnRun8DM.h.

References MOD_NUM_START.

Referenced by NextID(), and Reset().

Here is the caller graph for this function:

◆ FirstStation()

virtual Int_t BmnRun8DM::FirstStation ( ) const
inlineprotectedvirtualnoexcept

Reimplemented in BmnRun8GemBotDM, and BmnRun8GemTopDM.

Definition at line 78 of file BmnRun8DM.h.

Referenced by Alignables(), BmnRun8HalfDM::Composites(), MaxModulesInStation(), and Reset().

Here is the caller graph for this function:

◆ IDfromHit()

virtual Int_t BmnRun8DM::IDfromHit ( Int_t CbmDetectorID) const
inlineoverridevirtualnoexcept

Implements BmnDetectorModel.

Reimplemented in BmnRun8cgDM.

Definition at line 148 of file BmnRun8DM.h.

References GEM_SYSTEM_ID, and MOD_NUM_START.

◆ LastStation()

virtual Int_t BmnRun8DM::LastStation ( ) const
inlineprotectedvirtualnoexcept

Definition at line 79 of file BmnRun8DM.h.

References GEM_STATION_CNT, and SIL_STATION_CNT.

Referenced by Alignables(), BmnRun8HalfDM::Composites(), MaxModulesInStation(), and NextID().

Here is the caller graph for this function:

◆ MaxModulesInStation()

virtual Int_t BmnRun8DM::MaxModulesInStation ( ) const
inlineoverridevirtualnoexcept

Implements BmnDetectorModel.

Definition at line 130 of file BmnRun8DM.h.

References FirstStation(), i, LastStation(), and StationAlignables().

Here is the call graph for this function:

◆ NextID()

virtual Int_t BmnRun8DM::NextID ( )
inlineoverrideprotectedvirtualnoexcept

Implements BmnDetectorModel.

Reimplemented in BmnRun8cgDM, and BmnRun8cgHalfDM.

Definition at line 92 of file BmnRun8DM.h.

References FirstModule(), fModule, fStation, fSystem, GEM_SYSTEM_ID, kLast, LastStation(), SIL_STATION_IDX, STA_NUM_START, and StationAlignables().

Here is the call graph for this function:

◆ Reset()

virtual void BmnRun8DM::Reset ( )
inlineoverrideprotectedvirtualnoexcept

Implements BmnDetectorModel.

Reimplemented in BmnRun8cgDM, and BmnRun8cgHalfDM.

Definition at line 82 of file BmnRun8DM.h.

References FirstModule(), FirstStation(), fModule, fStation, fSystem, GEM_SYSTEM_ID, SIL_STATION_CNT, SIL_SYSTEM_ID, and STA_NUM_START.

Here is the call graph for this function:

◆ StationAlignables()

virtual Int_t BmnRun8DM::StationAlignables ( Int_t station) const
inlineprotectedvirtualnoexcept

Reimplemented in BmnRun8cgDM, BmnRun8cgHalfDM, and BmnRun8HalfDM.

Definition at line 69 of file BmnRun8DM.h.

References SIL_STATION_CNT, and StationModules().

Referenced by Alignables(), MaxModulesInStation(), NextID(), and BmnRun8HalfDM::StationAlignables().

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

◆ StationModules()

Int_t BmnRun8DM::StationModules ( Int_t station) const
inlineprotectednoexcept

Definition at line 62 of file BmnRun8DM.h.

References GEM_MODULES, SIL_MODULES, and SIL_STATION_CNT.

Referenced by BmnRun8cgDM::BmnRun8cgDM(), BmnRun8HalfDM::FirstModule(), BmnRun8cgHalfDM::IgnoreHit(), BmnRun8HalfDM::IgnoreHit(), BmnRun8cgDM::NextID(), BmnRun8cgHalfDM::NextID(), and StationAlignables().

Here is the caller graph for this function:

Member Data Documentation

◆ fModule

Int_t BmnRun8DM::fModule {-1}
protected

◆ fStation

Int_t BmnRun8DM::fStation {-1}
protected

◆ fSystem

Int_t BmnRun8DM::fSystem {-1}
protected

◆ GEM_MODULES

const Int_t BmnRun8DM::GEM_MODULES[GEM_STATION_CNT] {8, 8, 8, 8, 8, 8, 8}
staticprotected

Definition at line 57 of file BmnRun8DM.h.

Referenced by StationModules().

◆ GEM_STATION_CNT

const Int_t BmnRun8DM::GEM_STATION_CNT {7}
staticprotected

Definition at line 52 of file BmnRun8DM.h.

Referenced by BmnRun8cgDM::BmnRun8cgDM(), and LastStation().

◆ GEM_STATION_IDX

const Int_t BmnRun8DM::GEM_STATION_IDX[2] {SIL_STATION_IDX[kLast] + 1, SIL_STATION_IDX[kLast] + GEM_STATION_CNT}
staticprotected

Definition at line 56 of file BmnRun8DM.h.

Referenced by BmnRun8cgDM::NextID(), and BmnRun8cgHalfDM::NextID().

◆ GEM_SYSTEM_ID

const Int_t BmnRun8DM::GEM_SYSTEM_ID {DetectorId::kGEM}
staticprotected

Definition at line 51 of file BmnRun8DM.h.

Referenced by IDfromHit(), BmnRun8cgDM::NextID(), BmnRun8cgHalfDM::NextID(), NextID(), and Reset().

◆ MOD_NUM_START

◆ SIL_MODULES

const Int_t BmnRun8DM::SIL_MODULES[SIL_STATION_CNT] {6, 10, 14, 18}
staticprotected

Definition at line 57 of file BmnRun8DM.h.

Referenced by StationModules().

◆ SIL_STATION_CNT

const Int_t BmnRun8DM::SIL_STATION_CNT {4}
staticprotected

◆ SIL_STATION_IDX

const Int_t BmnRun8DM::SIL_STATION_IDX[2] {STA_NUM_START, STA_NUM_START + SIL_STATION_CNT - 1}
staticprotected

◆ SIL_SYSTEM_ID

const Int_t BmnRun8DM::SIL_SYSTEM_ID {DetectorId::kSILICON}
staticconstexprprotected

◆ STA_NUM_START


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