CGEM BOSS 6.6.5.i
BESIII Offline Software System
|
#include <BesDetectorID.h>
Public Member Functions | |
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 |
Protected Member Functions | |
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 | |
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 |
class BesDetectorID
This class provides an interface to generate or decode an identifier for the upper levels of the detector element hierarchy, i.e. BES III, the detector systems.
Definition at line 15 of file BesDetectorID.h.
BesDetectorID::BesDetectorID | ( | void | ) |
Definition at line 6 of file BesDetectorID.cxx.
BesDetectorID::~BesDetectorID | ( | void | ) |
Definition at line 16 of file BesDetectorID.cxx.
Identifier BesDetectorID::cgem | ( | void | ) | const |
Definition at line 55 of file BesDetectorID.cxx.
|
inlineprotected |
Definition at line 110 of file BesDetectorID.h.
Identifier BesDetectorID::emc | ( | void | ) | const |
Definition at line 65 of file BesDetectorID.cxx.
|
inlineprotected |
Definition at line 116 of file BesDetectorID.h.
|
protected |
Identifier BesDetectorID::hlt | ( | void | ) | const |
Definition at line 75 of file BesDetectorID.cxx.
|
inlineprotected |
Definition at line 122 of file BesDetectorID.h.
bool BesDetectorID::is_cgem | ( | const Identifier & | id | ) | const |
Definition at line 25 of file BesDetectorID.cxx.
bool BesDetectorID::is_emc | ( | const Identifier & | id | ) | const |
Definition at line 35 of file BesDetectorID.cxx.
bool BesDetectorID::is_hlt | ( | const Identifier & | id | ) | const |
Definition at line 45 of file BesDetectorID.cxx.
bool BesDetectorID::is_mdc | ( | const Identifier & | id | ) | const |
Definition at line 20 of file BesDetectorID.cxx.
bool BesDetectorID::is_mrpc | ( | const Identifier & | id | ) | const |
Referenced by TofID::barrel_ec(), TofID::end(), TofID::is_barrel(), TofID::layer(), and TofID::phi_module().
bool BesDetectorID::is_muc | ( | const Identifier & | id | ) | const |
Definition at line 40 of file BesDetectorID.cxx.
bool BesDetectorID::is_tof | ( | const Identifier & | id | ) | const |
Definition at line 30 of file BesDetectorID.cxx.
Identifier BesDetectorID::mdc | ( | void | ) | const |
Definition at line 50 of file BesDetectorID.cxx.
|
inlineprotected |
Provide efficient access to individual field values.
Definition at line 107 of file BesDetectorID.h.
Identifier BesDetectorID::mrpc | ( | void | ) | const |
|
inlineprotected |
Definition at line 125 of file BesDetectorID.h.
Identifier BesDetectorID::muc | ( | void | ) | const |
Definition at line 70 of file BesDetectorID.cxx.
|
inlineprotected |
Definition at line 119 of file BesDetectorID.h.
Identifier BesDetectorID::tof | ( | void | ) | const |
Definition at line 60 of file BesDetectorID.cxx.
|
inlineprotected |
Definition at line 113 of file BesDetectorID.h.
|
staticprotected |
Definition at line 86 of file BesDetectorID.h.
Referenced by CgemID::getIntID(), is_cgem(), and CgemID::strip_id().
|
staticprotected |
Definition at line 87 of file BesDetectorID.h.
Referenced by cgem(), CgemID::getIntID(), is_cgem(), and CgemID::strip_id().
|
staticprotected |
Definition at line 88 of file BesDetectorID.h.
Referenced by CgemID::getIntID(), and is_cgem().
|
staticprotected |
Definition at line 74 of file BesDetectorID.h.
Referenced by EmcID::crystal_id(), EmcID::getIntID(), and is_emc().
|
staticprotected |
Definition at line 75 of file BesDetectorID.h.
Referenced by EmcID::crystal_id(), emc(), EmcID::getIntID(), and is_emc().
|
staticprotected |
Definition at line 76 of file BesDetectorID.h.
Referenced by is_emc().
|
staticprotected |
Definition at line 82 of file BesDetectorID.h.
Referenced by HltID::data_type_id(), HltID::getIntID(), and is_hlt().
|
staticprotected |
Definition at line 83 of file BesDetectorID.h.
Referenced by HltID::data_type_id(), HltID::getIntID(), hlt(), and is_hlt().
|
staticprotected |
Definition at line 84 of file BesDetectorID.h.
Referenced by is_hlt().
|
staticprotected |
Definition at line 66 of file BesDetectorID.h.
Referenced by MdcID::getIntID(), MdcID::getIntID(), is_mdc(), and MdcID::wire_id().
|
staticprotected |
Definition at line 67 of file BesDetectorID.h.
Referenced by MdcID::getIntID(), MdcID::getIntID(), is_mdc(), mdc(), and MdcID::wire_id().
|
staticprotected |
Definition at line 68 of file BesDetectorID.h.
Referenced by MdcID::getIntID(), MdcID::getIntID(), and is_mdc().
|
staticprotected |
Definition at line 90 of file BesDetectorID.h.
Referenced by TofID::cell_id_mrpc(), TofID::cell_id_mrpc_mc(), TofID::getIntID_mrpc(), and TofID::is_mymrpc().
|
staticprotected |
Definition at line 91 of file BesDetectorID.h.
Referenced by TofID::cell_id_mrpc(), TofID::cell_id_mrpc_mc(), TofID::getIntID_mrpc(), and TofID::is_mymrpc().
|
staticprotected |
Definition at line 92 of file BesDetectorID.h.
|
staticprotected |
Definition at line 78 of file BesDetectorID.h.
Referenced by MucID::channel_id(), MucID::getIntID(), and is_muc().
|
staticprotected |
Definition at line 79 of file BesDetectorID.h.
Referenced by MucID::channel_id(), MucID::getIntID(), is_muc(), and muc().
|
staticprotected |
Definition at line 80 of file BesDetectorID.h.
Referenced by is_muc().
|
staticprotected |
Definition at line 70 of file BesDetectorID.h.
Referenced by TofID::cell_id(), TofID::getIntID(), and is_tof().
|
staticprotected |
Definition at line 71 of file BesDetectorID.h.
Referenced by TofID::cell_id(), TofID::getIntID(), is_tof(), and tof().
|
staticprotected |
Definition at line 72 of file BesDetectorID.h.
Referenced by is_tof().