BmnRoot
Loading...
Searching...
No Matches
BmnRun8DetModel Class Reference

#include <BmnRun8DetModel.h>

Inheritance diagram for BmnRun8DetModel:
[legend]
Collaboration diagram for BmnRun8DetModel:
[legend]

Public Member Functions

virtual Int_t MaxModulesInStation () const noexcept override
 
virtual Int_t Alignables () const noexcept override
 
virtual Int_t IDfromHit (Int_t HitDetectorID) const noexcept override
 
 BmnRun8DetModel ()=default
 
virtual Int_t MaxModulesInStation () const noexcept override
 
virtual Int_t Alignables () const noexcept override
 
virtual Int_t IDfromHit (Int_t HitDetectorID) const noexcept override
 
 BmnRun8DetModel ()=default
 
- Public Member Functions inherited from BmnDetectorModel
 BmnDetectorModel ()=default
 
virtual ~BmnDetectorModel ()=default
 
Bool_t Init ()
 
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 ID) const
 

Protected Types

enum  { kFirst , kLast }
 
enum  { kFirst , kLast }
 

Protected Member Functions

virtual void Reset () noexcept override
 
virtual Int_t NextID () noexcept override
 
virtual void Reset () noexcept override
 
virtual Int_t NextID () noexcept override
 

Protected Attributes

Int_t fSystem {-1}
 
Int_t fStation {-1}
 
Int_t fModule {-1}
 

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 26 of file BmnRun8DetModel.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected
Enumerator
kFirst 
kLast 

Definition at line 31 of file BmnRun8DetModel.h.

◆ anonymous enum

anonymous enum
protected
Enumerator
kFirst 
kLast 

Definition at line 31 of file BmnRun8DetModel.h.

Constructor & Destructor Documentation

◆ BmnRun8DetModel() [1/2]

BmnRun8DetModel::BmnRun8DetModel ( )
default

◆ BmnRun8DetModel() [2/2]

BmnRun8DetModel::BmnRun8DetModel ( )
default

Member Function Documentation

◆ Alignables() [1/2]

Int_t BmnRun8DetModel::Alignables ( ) const
overridevirtualnoexcept

Implements BmnDetectorModel.

Reimplemented in BmnRun8cgDetModel, and BmnRun8cgDetModel.

Definition at line 40 of file BmnRun8DetModel.cxx.

References GEM_MODULES, GEM_STATION_CNT, i, SIL_MODULES, and SIL_STATION_CNT.

◆ Alignables() [2/2]

virtual Int_t BmnRun8DetModel::Alignables ( ) const
overridevirtualnoexcept

Implements BmnDetectorModel.

Reimplemented in BmnRun8cgDetModel, and BmnRun8cgDetModel.

◆ IDfromHit() [1/2]

Int_t BmnRun8DetModel::IDfromHit ( Int_t  HitDetectorID) const
overridevirtualnoexcept

Implements BmnDetectorModel.

Reimplemented in BmnRun8cgDetModel, and BmnRun8cgDetModel.

Definition at line 28 of file BmnRun8DetModel.cxx.

◆ IDfromHit() [2/2]

virtual Int_t BmnRun8DetModel::IDfromHit ( Int_t  HitDetectorID) const
overridevirtualnoexcept

Implements BmnDetectorModel.

Reimplemented in BmnRun8cgDetModel, and BmnRun8cgDetModel.

◆ MaxModulesInStation() [1/2]

Int_t BmnRun8DetModel::MaxModulesInStation ( ) const
overridevirtualnoexcept

Implements BmnDetectorModel.

Reimplemented in BmnRun8cgDetModel, and BmnRun8cgDetModel.

Definition at line 50 of file BmnRun8DetModel.cxx.

References GEM_MODULES, GEM_STATION_CNT, i, SIL_MODULES, and SIL_STATION_CNT.

◆ MaxModulesInStation() [2/2]

virtual Int_t BmnRun8DetModel::MaxModulesInStation ( ) const
overridevirtualnoexcept

Implements BmnDetectorModel.

Reimplemented in BmnRun8cgDetModel, and BmnRun8cgDetModel.

◆ NextID() [1/2]

Int_t BmnRun8DetModel::NextID ( )
overrideprotectedvirtualnoexcept

◆ NextID() [2/2]

virtual Int_t BmnRun8DetModel::NextID ( )
overrideprotectedvirtualnoexcept

Implements BmnDetectorModel.

Reimplemented in BmnRun8cgDetModel, and BmnRun8cgDetModel.

◆ Reset() [1/2]

void BmnRun8DetModel::Reset ( )
overrideprotectedvirtualnoexcept

Implements BmnDetectorModel.

Reimplemented in BmnRun8cgDetModel, and BmnRun8cgDetModel.

Definition at line 62 of file BmnRun8DetModel.cxx.

References fModule, fStation, fSystem, kFirst, MOD_NUM_START, SIL_STATION_IDX, and SIL_SYSTEM_ID.

◆ Reset() [2/2]

virtual void BmnRun8DetModel::Reset ( )
overrideprotectedvirtualnoexcept

Implements BmnDetectorModel.

Reimplemented in BmnRun8cgDetModel, and BmnRun8cgDetModel.

Member Data Documentation

◆ fModule

Int_t BmnRun8DetModel::fModule {-1}
protected

◆ fStation

Int_t BmnRun8DetModel::fStation {-1}
protected

◆ fSystem

Int_t BmnRun8DetModel::fSystem {-1}
protected

◆ GEM_MODULES

static constexpr const Int_t BmnRun8DetModel::GEM_MODULES {8, 8, 8, 8, 8, 8, 8}
staticprotected

◆ GEM_STATION_CNT

static constexpr const Int_t BmnRun8DetModel::GEM_STATION_CNT {7}
staticprotected

◆ GEM_STATION_IDX

static constexpr const Int_t BmnRun8DetModel::GEM_STATION_IDX {SIL_STATION_IDX[kLast] + 1, SIL_STATION_IDX[kLast] + GEM_STATION_CNT}
staticprotected

Definition at line 42 of file BmnRun8DetModel.h.

Referenced by BmnRun8cgDetModel::NextID(), and NextID().

◆ GEM_SYSTEM_ID

static constexpr const Int_t BmnRun8DetModel::GEM_SYSTEM_ID {DetectorId::kGEM}
staticprotected

Definition at line 37 of file BmnRun8DetModel.h.

Referenced by BmnRun8cgDetModel::NextID(), and NextID().

◆ MOD_NUM_START

static constexpr const Int_t BmnRun8DetModel::MOD_NUM_START {1}
staticprotected

◆ SIL_MODULES

static constexpr const Int_t BmnRun8DetModel::SIL_MODULES {6, 10, 14, 18}
staticprotected

◆ SIL_STATION_CNT

static constexpr const Int_t BmnRun8DetModel::SIL_STATION_CNT {4}
staticprotected

◆ SIL_STATION_IDX

static constexpr const Int_t BmnRun8DetModel::SIL_STATION_IDX {STA_NUM_START, STA_NUM_START + SIL_STATION_CNT - 1}
staticprotected

◆ SIL_SYSTEM_ID

static constexpr const Int_t BmnRun8DetModel::SIL_SYSTEM_ID {DetectorId::kSILICON}
staticconstexprprotected

Definition at line 37 of file BmnRun8DetModel.h.

Referenced by BmnRun8cgDetModel::Reset(), and Reset().

◆ STA_NUM_START

static constexpr const Int_t BmnRun8DetModel::STA_NUM_START {1}
staticprotected

Definition at line 38 of file BmnRun8DetModel.h.

Referenced by BmnRun8cgDetModel::NextID(), and BmnRun8cgDetModel::Reset().


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