CGEM BOSS 6.6.5.g
BESIII Offline Software System
|
#include <MuonID.h>
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 |
MuonID::MuonID | ( | ) |
constructor
MuonID::~MuonID | ( | ) |
destructor
|
static |
Values of different levels.
|
static |
|
static |
For a single crystal.
int MuonID::channel_max | ( | const Identifier & | id | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Test for barrel.
|
static |
int MuonID::layer_max | ( | const Identifier & | id | ) |
|
static |
int MuonID::segment_max | ( | const Identifier & | id | ) |
Max/Min values for each field.
|
static |