23 cout<<
"==============EmcID Test================="<<endl;
27 cout<<
"Identifier id="<<
id<<endl;
34 for (
int theta=-5; theta<=10; theta++ ) {
41 cout<<
"===============HltID Test================="<<endl;
46 cout<<
"Identifier id="<<
id<<endl;
static Identifier crystal_id(const unsigned int barrel_ec, const unsigned int theta_module, const unsigned int phi_module)
For a single crystal.
static unsigned int getENDCAP_WEST()
static unsigned int barrel_ec(const Identifier &id)
Values of different levels (failure returns 0)
static bool is_barrel(const Identifier &id)
Test for barrel.
static unsigned int getENDCAP_EAST()
static unsigned int theta_module(const Identifier &id)
static unsigned int getPHI_ENDCAP_MAX(const unsigned int theta)
static unsigned int phi_module(const Identifier &id)
static bool is_ef_result(const Identifier &id)
Test for data type.
static bool is_eventtype(const Identifier &id)
static Identifier data_type_id(const unsigned int detector, const unsigned int id_in_sub=0)
For a single data.
static unsigned int detector(const Identifier &id)
Values of different levels (failure returns 0)
static unsigned int getDETECTOR_MAX()
static bool is_algorithm(const Identifier &id)
static unsigned int getID_MDC_MAX()
static unsigned int id_sub_max(const Identifier &id)
static bool is_mdc_inf(const Identifier &id)
static unsigned int id_sub(const Identifier &id)
static bool is_energy(const Identifier &id)