BOSS 6.6.4.p01
BESIII Offline Software System
|
#include <HltID.h>
Public Types | |
enum | Header { EVENTTYPE =0 , ALGORITHM , CRITERIA , VERSION , ENERGY , NUMSUB , NUMCON } |
enum | SubID { HLT =0 , MDC , TOF , EMC , MUC , CON } |
enum | MdcData { NMDC =0x100 , NTRK , PMAX1 , COST1 , VZ1 , PHI1 , VR1 , TRKHIT1 , TRKSHIT1 , PMAX2 , COST2 , VZ2 , PHI2 , VR2 , TRKHIT2 , TRKSHIT2 , ACOL } |
enum | TofData { NTOF =0x200 , DELTAT , DELTAPHI } |
enum | EmcData { NEMC =0x300 , ETOT , EBAR , EEND , EBAL , EEAST , EWEST , NSEC , NSHW , EMAX1 , ECOST1 , EPHI1 , EMAX2 , ECOST2 , EPHI2 , EACOP , EACOL , EMAX12 , EMAX3 , ECOST3 , EPHI3 } |
enum | MucData { NMUC =0x400 } |
enum | ConData { NCON =0x500 } |
typedef Identifier::size_type | size_type |
typedef Identifier::value_type | value_type |
Public Member Functions | |
HltID (void) | |
constructor | |
~HltID (void) | |
destructor | |
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 |
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 |
Static Public Member Functions | |
static Identifier | convert (const unsigned int id, const int nmdc=0, const int ntof=0, const int nemc=0, const int nmuc=0) |
convert global id to sub-id(Identifier) | |
static Identifier | data_type_id (const unsigned int detector, const unsigned int id_in_sub=0) |
For a single data. | |
static unsigned int | getIntID (const unsigned int detector, const unsigned int id_in_sub=0) |
static bool | values_ok (const unsigned int detector, const unsigned int id_in_sub=0) |
static bool | is_ef_result (const Identifier &id) |
Test for data type. | |
static bool | is_eventtype (const Identifier &id) |
static bool | is_algorithm (const Identifier &id) |
static bool | is_criteria (const Identifier &id) |
static bool | is_version (const Identifier &id) |
static bool | is_energy (const Identifier &id) |
static bool | is_number (const Identifier &id) |
static bool | is_ncon (const Identifier &id) |
static bool | is_mdc_inf (const Identifier &id) |
static bool | is_tof_inf (const Identifier &id) |
static bool | is_emc_inf (const Identifier &id) |
static bool | is_muc_inf (const Identifier &id) |
static bool | is_con_inf (const Identifier &id) |
static bool | is_hlt_inf (const Identifier &id) |
static unsigned int | detector (const Identifier &id) |
Values of different levels (failure returns 0) | |
static unsigned int | id_sub (const Identifier &id) |
static unsigned int | id_sub_max (const Identifier &id) |
static unsigned int | getID_MDC_MAX () |
static unsigned int | getID_TOF_MAX () |
static unsigned int | getID_EMC_MAX () |
static unsigned int | getID_MUC_MAX () |
static unsigned int | getID_HLT_MAX () |
static unsigned int | getDETECTOR_MIN () |
static unsigned int | getDETECTOR_MAX () |
Additional Inherited Members | |
Protected Member Functions inherited from BesDetectorID | |
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 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 | MRPC_ID = 0x70 |
static const unsigned int | MRPC_INDEX = 24 |
static const unsigned int | MRPC_MASK = 0xFF000000 |
enum HltID::ConData |
enum HltID::EmcData |
enum HltID::Header |
enum HltID::MdcData |
enum HltID::MucData |
enum HltID::SubID |
enum HltID::TofData |
|
static |
convert global id to sub-id(Identifier)
Definition at line 11 of file HltID.cxx.
Referenced by RawDataHltRawCnv::createObj(), and EFtoTDS::execute().
|
static |
For a single data.
Definition at line 171 of file HltID.cxx.
Referenced by convert(), HltInf::getDataVec(), and main().
|
static |
Values of different levels (failure returns 0)
Definition at line 139 of file HltID.cxx.
Referenced by data_type_id(), getIntID(), main(), and values_ok().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 65 of file HltID.h.
Referenced by EFTest::initialize(), DstHltInfCnv::TObjectToDataObject(), and HltInfCnv::TObjectToDataObject().
|
inlinestatic |
|
inlinestatic |
Definition at line 63 of file HltID.h.
Referenced by EFTest::initialize(), main(), DstHltInfCnv::TObjectToDataObject(), and HltInfCnv::TObjectToDataObject().
|
inlinestatic |
Definition at line 66 of file HltID.h.
Referenced by EFTest::initialize(), DstHltInfCnv::TObjectToDataObject(), and HltInfCnv::TObjectToDataObject().
|
inlinestatic |
Definition at line 64 of file HltID.h.
Referenced by EFTest::initialize(), DstHltInfCnv::TObjectToDataObject(), and HltInfCnv::TObjectToDataObject().
|
static |
|
static |
Definition at line 144 of file HltID.cxx.
Referenced by HltInf::getData(), main(), and HltInf::setData().
|
static |
Definition at line 149 of file HltID.cxx.
Referenced by main().
|
static |
Definition at line 77 of file HltID.cxx.
Referenced by HltEventMaker::execute(), EFtoTDS::execute(), main(), and HltBuilder::pack().
|
static |
Definition at line 133 of file HltID.cxx.
Referenced by HltEventMaker::execute(), HltInf::getData(), HltInf::getDataVec(), and HltInf::setData().
|
static |
Definition at line 83 of file HltID.cxx.
Referenced by HltEventMaker::execute(), EFtoTDS::execute(), and HltBuilder::pack().
|
static |
Test for data type.
Definition at line 66 of file HltID.cxx.
Referenced by id_sub_max(), is_hlt_inf(), and main().
|
static |
Definition at line 123 of file HltID.cxx.
Referenced by HltEventMaker::execute(), HltInf::getData(), HltInf::getDataVec(), id_sub_max(), and HltInf::setData().
|
static |
Definition at line 95 of file HltID.cxx.
Referenced by HltEventMaker::execute(), EFtoTDS::execute(), main(), and HltBuilder::pack().
|
static |
Definition at line 71 of file HltID.cxx.
Referenced by HltEventMaker::execute(), EFtoTDS::execute(), main(), and HltBuilder::pack().
|
inlinestatic |
|
static |
Definition at line 113 of file HltID.cxx.
Referenced by HltEventMaker::execute(), HltInf::getData(), HltInf::getDataVec(), id_sub_max(), main(), and HltInf::setData().
|
static |
Definition at line 128 of file HltID.cxx.
Referenced by HltEventMaker::execute(), HltInf::getData(), HltInf::getDataVec(), id_sub_max(), and HltInf::setData().
|
static |
Definition at line 107 of file HltID.cxx.
Referenced by HltEventMaker::execute().
|
static |
Definition at line 101 of file HltID.cxx.
Referenced by RawDataHltRawCnv::createObj(), and HltEventMaker::execute().
|
static |
Definition at line 118 of file HltID.cxx.
Referenced by HltEventMaker::execute(), HltInf::getData(), HltInf::getDataVec(), id_sub_max(), and HltInf::setData().
|
static |
Definition at line 89 of file HltID.cxx.
Referenced by HltEventMaker::execute(), EFtoTDS::execute(), and HltBuilder::pack().
|
static |
Definition at line 33 of file HltID.cxx.
Referenced by data_type_id(), and getIntID().