BOSS 6.6.4.p03
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 |
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 |
Protected Member Functions | |
int | mdc_field_value () const |
Provide efficient access to individual field values. | |
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 | 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::emc | ( | void | ) | const |
Definition at line 63 of file BesDetectorID.cxx.
|
inlineprotected |
Definition at line 111 of file BesDetectorID.h.
|
protected |
Identifier BesDetectorID::hlt | ( | void | ) | const |
Definition at line 73 of file BesDetectorID.cxx.
|
inlineprotected |
Definition at line 117 of file BesDetectorID.h.
bool BesDetectorID::is_emc | ( | const Identifier & | id | ) | const |
Definition at line 30 of file BesDetectorID.cxx.
bool BesDetectorID::is_hlt | ( | const Identifier & | id | ) | const |
Definition at line 40 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 |
Definition at line 46 of file BesDetectorID.cxx.
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 35 of file BesDetectorID.cxx.
bool BesDetectorID::is_tof | ( | const Identifier & | id | ) | const |
Definition at line 25 of file BesDetectorID.cxx.
Identifier BesDetectorID::mdc | ( | void | ) | const |
Definition at line 53 of file BesDetectorID.cxx.
|
inlineprotected |
Provide efficient access to individual field values.
Definition at line 105 of file BesDetectorID.h.
Identifier BesDetectorID::mrpc | ( | void | ) | const |
Definition at line 78 of file BesDetectorID.cxx.
|
inlineprotected |
Definition at line 120 of file BesDetectorID.h.
Identifier BesDetectorID::muc | ( | void | ) | const |
Definition at line 68 of file BesDetectorID.cxx.
|
inlineprotected |
Definition at line 114 of file BesDetectorID.h.
Identifier BesDetectorID::tof | ( | void | ) | const |
Definition at line 58 of file BesDetectorID.cxx.
|
inlineprotected |
Definition at line 108 of file BesDetectorID.h.
|
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(), is_mdc(), and MdcID::wire_id().
|
staticprotected |
Definition at line 67 of file BesDetectorID.h.
Referenced by MdcID::getIntID(), is_mdc(), mdc(), and MdcID::wire_id().
|
staticprotected |
Definition at line 68 of file BesDetectorID.h.
Referenced by MdcID::getIntID(), and is_mdc().
|
staticprotected |
Definition at line 86 of file BesDetectorID.h.
Referenced by TofID::cell_id_mrpc(), TofID::cell_id_mrpc_mc(), TofID::getIntID_mrpc(), is_mrpc(), and TofID::is_mymrpc().
|
staticprotected |
Definition at line 87 of file BesDetectorID.h.
Referenced by TofID::cell_id_mrpc(), TofID::cell_id_mrpc_mc(), TofID::getIntID_mrpc(), is_mrpc(), TofID::is_mymrpc(), and mrpc().
|
staticprotected |
Definition at line 88 of file BesDetectorID.h.
Referenced by is_mrpc().
|
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().