46 static bool values_ok (
const unsigned int wireType,
47 const unsigned int layer,
48 const unsigned int wire
65 typedef std::vector<Identifier> id_vec;
66 typedef id_vec::const_iterator id_vec_it;
68 static const unsigned int AXIAL_WIRE = 0;
69 static const unsigned int STEREO_WIRE = 1;
71 static const unsigned int WIRETYPE_INDEX = 15;
72 static const unsigned int WIRETYPE_MASK = 0x00008000;
75 static const unsigned int LAYER_INDEX = 9;
76 static const unsigned int LAYER_MASK = 0x00007E00;
79 static const unsigned int WIRE_INDEX = 0;
80 static const unsigned int WIRE_MASK = 0x000001FF;
82 static const unsigned int AXIAL_LAYER_MAX = 18;
83 static const unsigned int INNER_AXIAL_LAYER_MAX = 12;
84 static const unsigned int OUTER_AXIAL_LAYER_MAX = 7;
86 static const unsigned int LAYER_MAX = 43;
89 static const unsigned int STEREO_LAYER_MAX = 23;
90 static const unsigned int INNER_STEREO_LAYER_MAX = 8;
91 static const unsigned int OUTER_STEREO_LAYER_MAX =16;
93 static const unsigned int AXIAL_WIRE_MAX = 287;
94 static const unsigned int STEREO_WIRE_MAX = 239;
static value_type getAXIAL_LAYER_MAX()
static Identifier wire_id(int wireType, int layer, int wire)
For a single wire.
int layer_max(const Identifier &id)
Max/Min values for each field (error returns -999)
bool is_axial(const Identifier &id)
Test for axial and stereo wire.
static value_type getSTEREO_WIRE()
static bool values_ok(const unsigned int wireType, const unsigned int layer, const unsigned int wire)
Identifier::size_type size_type
static int layer(const Identifier &id)
Values of different levels (failure returns 0)
int wire_max(const Identifier &id)
static value_type getAXIAL_WIRE_MAX()
static int wire(const Identifier &id)
static value_type getIntID(unsigned int wireType, unsigned int layer, unsigned int wire)
Identifier::value_type value_type
static value_type getSTEREO_WIRE_MAX()
static value_type getSTEREO_LAYER_MAX()
static value_type getAXIAL_WIRE()