56 const unsigned int layer,
58 const unsigned int end
69 const unsigned int module,
70 const unsigned int strip,
71 const unsigned int end
102 typedef std::vector<Identifier> id_vec;
103 typedef id_vec::const_iterator id_vec_it;
105 static const unsigned int BARREL_EC_INDEX = 14;
106 static const unsigned int BARREL_EC_MASK = 0x0000C000;
108 static const unsigned int LAYER_INDEX = 8;
109 static const unsigned int LAYER_MASK = 0x00000100;
111 static const unsigned int PHI_INDEX = 1;
112 static const unsigned int PHI_MASK = 0x000000FE;
114 static const unsigned int END_INDEX = 0;
115 static const unsigned int END_MASK = 0x00000001;
117 static const unsigned int LAYER_BARREL_MAX = 1;
118 static const unsigned int LAYER_ENDCAP_MAX = 0;
120 static const unsigned int PHI_BARREL_MAX = 87;
121 static const unsigned int PHI_ENDCAP_MAX = 47;
123 static const unsigned int BARREL_EC_MAX = 2;
124 static const unsigned int BARREL_EC_MIN = 0;
127 static const unsigned int ENDCAP_INDEX = 11;
128 static const unsigned int ENDCAP_MASK = 0x00000800;
130 static const unsigned int MODULE_INDEX = 5;
131 static const unsigned int MODULE_MASK = 0x000007E0;
133 static const unsigned int STRIP_INDEX = 1;
134 static const unsigned int STRIP_MASK = 0x0000001E;
136 static const unsigned int BARREL_EC_MRPC = 3;
137 static const unsigned int ENDCAP_MRPC_MAX = 1;
138 static const unsigned int MODULE_MRPC_MAX = 35;
139 static const unsigned int STRIP_MRPC_MAX = 11;
static int endcap(const Identifier &id)
static int strip(const Identifier &id)
static Identifier cell_id(int barrel_ec, int layer, int phi_module, int end)
For a single crystal.
static value_type getENDCAP_MRPC_MAX()
static bool is_scin(const Identifier &id)
static value_type getMODULE_MRPC_MAX()
static bool values_ok(const unsigned int barrel_ec, const unsigned int layer, const unsigned int phi_module, const unsigned int end)
static int end(const Identifier &id)
static value_type getPHI_BARREL_MAX()
static value_type getPHI_ENDCAP_MAX()
static value_type getSTRIP_MRPC_MAX()
static value_type getBARREL_EC_MIN()
static value_type getBARREL_EC_MAX()
static bool is_barrel(const Identifier &id)
Test for barrel.
static bool is_mrpc(const Identifier &id)
static int phi_module(const Identifier &id)
static int barrel_ec(const Identifier &id)
Values of different levels (failure returns 0)
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 getBARREL_EC_MRPC()
static value_type getIntID(int barrel_ec, int layer, int phi_module, int end)
static int layer(const Identifier &id)
Identifier::size_type size_type
Identifier::value_type value_type
int layer_max(const Identifier &id)
static value_type getLAYER_BARREL_MAX()