39 const unsigned int layer,
46 static bool values_ok_mrpc(
const unsigned int partID,
const unsigned int scinNum);
47 static bool values_ok_mrpc_mc(
const unsigned int partID,
const unsigned int scinNum);
73 typedef std::vector<Identifier> id_vec;
74 typedef id_vec::const_iterator id_vec_it;
76 static const unsigned int BARREL_EC_INDEX = 14;
77 static const unsigned int BARREL_EC_MASK = 0x0000C000;
80 static const unsigned int LAYER_INDEX = 8;
81 static const unsigned int LAYER_MASK = 0x00000100;
83 static const unsigned int PHI_INDEX = 1;
84 static const unsigned int PHI_MASK = 0x000000FE;
86 static const unsigned int END_INDEX = 0;
87 static const unsigned int END_MASK = 0x00000001;
89 static const unsigned int LAYER_BARREL_MAX = 1;
90 static const unsigned int LAYER_ENDCAP_MAX = 0;
92 static const unsigned int PHI_BARREL_MAX = 87;
93 static const unsigned int PHI_ENDCAP_MAX = 47;
95 static const unsigned int BARREL_EC_MAX = 2;
96 static const unsigned int BARREL_EC_MIN = 0;
102 static const unsigned int BARRELCODE =1;
106 static const unsigned int PARTID_INDEX =12;
109 static const unsigned int PARTID_MASK =0x7000;
110 static const unsigned int SCINNUM_MASK =0xFFF;
static Identifier cell_id(int barrel_ec, int layer, int phi_module, int end)
For a single crystal.
static value_type getIntID_mrpc(int partID, int scinNum)
Identifier::size_type size_type
static bool values_ok_mrpc(const unsigned int partID, const unsigned int scinNum)
static int end(const Identifier &id)
static value_type getPHI_BARREL_MAX()
static value_type getPHI_ENDCAP_MAX()
static bool values_ok_mrpc_mc(const unsigned int partID, const unsigned int scinNum)
static value_type getBARREL_EC_MIN()
static value_type getBARREL_EC_MAX()
static bool is_barrel(const Identifier &id)
Test for barrel.
static Identifier cell_id_mrpc(int partID, int scinNum)
static int phi_module(const Identifier &id)
static int barrel_ec(const Identifier &id)
Values of different levels (failure returns 0)
static bool values_ok(const unsigned int barrel_ec, const unsigned int layer, const unsigned int phi_module, const unsigned int)
int phi_module_max(const Identifier &id)
Max/Min values for each field (error returns -999)
static value_type getLAYER_ENDCAP_MAX()
static value_type getIntID(int barrel_ec, int layer, int phi_module, int end)
static bool is_mymrpc(const Identifier &id)
Identifier::value_type value_type
static Identifier cell_id_mrpc_mc(int partID, int scinNum)
static int layer(const Identifier &id)
int layer_max(const Identifier &id)
static value_type getLAYER_BARREL_MAX()