CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
MuonID Class Reference

#include <MuonID.h>

+ Inheritance diagram for MuonID:

Public Types

typedef Identifier::size_type size_type
 
typedef Identifier::value_type value_type
 

Public Member Functions

 MuonID ()
 constructor
 
 ~MuonID ()
 destructor
 
int segment_max (const Identifier &id)
 Max/Min values for each field.
 
int layer_max (const Identifier &id)
 
int channel_max (const Identifier &id)
 
- Public Member Functions inherited from BesDetectorID
 BesDetectorID (void)
 
 ~BesDetectorID (void)
 
Identifier mdc (void) const
 
Identifier tof (void) const
 
Identifier emc (void) const
 
Identifier muc (void) const
 
Identifier hlt (void) const
 
Identifier mrpc (void) const
 
Identifier cgem (void) const
 
bool is_mdc (const Identifier &id) const
 
bool is_tof (const Identifier &id) const
 
bool is_emc (const Identifier &id) const
 
bool is_muc (const Identifier &id) const
 
bool is_hlt (const Identifier &id) const
 
bool is_mrpc (const Identifier &id) const
 
bool is_cgem (const Identifier &id) const
 

Static Public Member Functions

static Identifier channel_id (int barrel_ec, int segment, int layer, int channel)
 For a single crystal.
 
static value_type getIntID (int barrel_ec, int segment, int layer, int channel)
 
static value_type getSEGMENT_BARREL_MAX ()
 
static value_type getSEGMENT_ENDCAP_MAX ()
 
static value_type getLAYER_BARREL_MAX ()
 
static value_type getLAYER_ENDCAP_MAX ()
 
static value_type getCHANNEL_BARREL_MAX ()
 
static value_type getCHANNEL_ENDCAP_MAX ()
 
static value_type getBARREL_EC_MAX ()
 
static value_type getBARREL_EC_MIN ()
 
static bool values_ok (const unsigned int barrel_ec, const unsigned int segment, const unsigned int layer, const unsigned int channel)
 
static bool is_barrel (const Identifier &id)
 Test for barrel.
 
static int barrel_ec (const Identifier &id)
 Values of different levels.
 
static int segment (const Identifier &id)
 
static int layer (const Identifier &id)
 
static int channel (const Identifier &id)
 

Additional Inherited Members

- Protected Member Functions inherited from BesDetectorID
int mdc_field_value () const
 Provide efficient access to individual field values.
 
int cgem_field_value () const
 
int tof_field_value () const
 
int emc_field_value () const
 
int muc_field_value () const
 
int hlt_field_value () const
 
int mrpc_field_value () const
 
int get_detectorID (const Identifier &id) const
 
- Static Protected Attributes inherited from BesDetectorID
static const unsigned int MDC_ID = 0x10
 
static const unsigned int MDC_INDEX = 24
 
static const unsigned int MDC_MASK = 0xFF000000
 
static const unsigned int TOF_ID = 0x20
 
static const unsigned int TOF_INDEX = 24
 
static const unsigned int TOF_MASK = 0xFF000000
 
static const unsigned int EMC_ID = 0x30
 
static const unsigned int EMC_INDEX = 24
 
static const unsigned int EMC_MASK = 0xFF000000
 
static const unsigned int MUC_ID = 0x40
 
static const unsigned int MUC_INDEX = 24
 
static const unsigned int MUC_MASK = 0xFF000000
 
static const unsigned int HLT_ID = 0x50
 
static const unsigned int HLT_INDEX = 24
 
static const unsigned int HLT_MASK = 0xFF000000
 
static const unsigned int CGEM_ID = 0x60
 
static const unsigned int CGEM_INDEX = 24
 
static const unsigned int CGEM_MASK = 0xFF000000
 
static const unsigned int MRPC_ID = 0x70
 
static const unsigned int MRPC_INDEX = 24
 
static const unsigned int MRPC_MASK = 0xFF000000
 

Detailed Description

Definition at line 8 of file MuonID.h.

Member Typedef Documentation

◆ size_type

Definition at line 11 of file MuonID.h.

◆ value_type

Definition at line 12 of file MuonID.h.

Constructor & Destructor Documentation

◆ MuonID()

MuonID::MuonID ( )

constructor

◆ ~MuonID()

MuonID::~MuonID ( )

destructor

Member Function Documentation

◆ barrel_ec()

static int MuonID::barrel_ec ( const Identifier id)
static

Values of different levels.

◆ channel()

static int MuonID::channel ( const Identifier id)
static

◆ channel_id()

static Identifier MuonID::channel_id ( int  barrel_ec,
int  segment,
int  layer,
int  channel 
)
static

For a single crystal.

◆ channel_max()

int MuonID::channel_max ( const Identifier id)

◆ getBARREL_EC_MAX()

static value_type MuonID::getBARREL_EC_MAX ( )
static

◆ getBARREL_EC_MIN()

static value_type MuonID::getBARREL_EC_MIN ( )
static

◆ getCHANNEL_BARREL_MAX()

static value_type MuonID::getCHANNEL_BARREL_MAX ( )
static

◆ getCHANNEL_ENDCAP_MAX()

static value_type MuonID::getCHANNEL_ENDCAP_MAX ( )
static

◆ getIntID()

static value_type MuonID::getIntID ( int  barrel_ec,
int  segment,
int  layer,
int  channel 
)
static

◆ getLAYER_BARREL_MAX()

static value_type MuonID::getLAYER_BARREL_MAX ( )
static

◆ getLAYER_ENDCAP_MAX()

static value_type MuonID::getLAYER_ENDCAP_MAX ( )
static

◆ getSEGMENT_BARREL_MAX()

static value_type MuonID::getSEGMENT_BARREL_MAX ( )
static

◆ getSEGMENT_ENDCAP_MAX()

static value_type MuonID::getSEGMENT_ENDCAP_MAX ( )
static

◆ is_barrel()

static bool MuonID::is_barrel ( const Identifier id)
static

Test for barrel.

◆ layer()

static int MuonID::layer ( const Identifier id)
static

◆ layer_max()

int MuonID::layer_max ( const Identifier id)

◆ segment()

static int MuonID::segment ( const Identifier id)
static

◆ segment_max()

int MuonID::segment_max ( const Identifier id)

Max/Min values for each field.

◆ values_ok()

static bool MuonID::values_ok ( const unsigned int  barrel_ec,
const unsigned int  segment,
const unsigned int  layer,
const unsigned int  channel 
)
static

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