9 {
11 id = 0;
12
13 int x = 1, y = 2, z = 3;
14
15 cout << id;
16
17 cout.width( 8 );
18 cout.fill( '*' );
19 cout << "Hello" << endl;
20
21 cout << "==============EmcID Test=================" << endl;
22
24
25 cout << "Identifier id=" << id << endl;
26
31
32 for ( int theta = -5; theta <= 10; theta++ )
34
37
38 cout << "===============HltID Test=================" << endl;
39
40 x = 0;
41 y = 2;
43
44 cout << "Identifier id=" << id << endl;
45
53
58}
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)