4#include "Identifier/BesDetectorID.h"
34 static Identifier convert(
const unsigned int id,
const int nmdc=0,
const int ncgem=0,
const int ntof=0,
35 const int nemc=0,
const int nmuc=0);
39 static unsigned int getIntID (
const unsigned int detector,
const unsigned int id_in_sub=0);
84 static const unsigned int DETECTOR_INDEX = 8;
85 static const unsigned int DETECTOR_MASK = 0x00000F00;
87 static const unsigned int ID_SUB_INDEX = 0;
88 static const unsigned int ID_SUB_MASK = 0x000000FF;
89 static const unsigned int ID_MDC_MAX = 19;
90 static const unsigned int ID_CGEM_MAX = 19;
91 static const unsigned int ID_TOF_MAX = 4;
92 static const unsigned int ID_EMC_MAX = 21;
93 static const unsigned int ID_MUC_MAX = 2;
94 static const unsigned int ID_HLT_MAX = 5;
96 static const unsigned int DETECTOR_MAX = 5;
97 static const unsigned int DETECTOR_MIN = 0;
static bool is_tof_inf(const Identifier &id)
static unsigned int getID_MUC_MAX()
static unsigned int getID_HLT_MAX()
static Identifier convert(const unsigned int id, const int nmdc=0, const int ncgem=0, const int ntof=0, const int nemc=0, const int nmuc=0)
convert global id to sub-id(Identifier)
static bool is_cgem_inf(const Identifier &id)
static unsigned int getID_CGEM_MAX()
static unsigned int getID_EMC_MAX()
static bool is_energy(const Identifier &id)
static bool is_version(const Identifier &id)
static bool values_ok(const unsigned int detector, const unsigned int id_in_sub=0)
Identifier::size_type size_type
static bool is_ef_result(const Identifier &id)
Test for data type.
static unsigned int getIntID(const unsigned int detector, const unsigned int id_in_sub=0)
static unsigned int id_sub_max(const Identifier &id)
static bool is_mdc_inf(const Identifier &id)
static bool is_number(const Identifier &id)
static unsigned int getDETECTOR_MIN()
static bool is_ncon(const Identifier &id)
static unsigned int detector(const Identifier &id)
Values of different levels (failure returns 0)
static bool is_muc_inf(const Identifier &id)
static bool is_hlt_inf(const Identifier &id)
static unsigned int getDETECTOR_MAX()
Identifier::value_type value_type
static bool is_eventtype(const Identifier &id)
static bool is_con_inf(const Identifier &id)
static bool is_emc_inf(const Identifier &id)
static unsigned int getID_MDC_MAX()
static Identifier data_type_id(const unsigned int detector, const unsigned int id_in_sub=0)
For a single data.
static unsigned int getID_TOF_MAX()
static unsigned int id_sub(const Identifier &id)
static bool is_ef_result(const Identifier &id)
Test for data type.
static unsigned int detector(const Identifier &id)
Values of different levels (failure returns 0)
static bool is_algorithm(const Identifier &id)
static bool is_criteria(const Identifier &id)