6#include "Identifier/BesDetectorID.h"
28 unsigned int f_strip_type,
29 unsigned int f_strip);
41 const unsigned int f_sheet,
42 const unsigned int f_strip_type,
43 const unsigned int f_strip);
53 typedef std::vector<Identifier> id_vec;
54 typedef id_vec::const_iterator id_vec_it;
58 static const unsigned int LAYER_INDEX = 0;
59 static const unsigned int LAYER_MASK = 0x00000007;
62 static const unsigned int SHEET_INDEX = 3;
63 static const unsigned int SHEET_MASK = 0x00000038;
66 static const unsigned int XSTRIP_TYPE = 0;
67 static const unsigned int VSTRIP_TYPE = 1;
69 static const unsigned int STRIP_TYPE_INDEX = 6;
70 static const unsigned int STRIP_TYPE_MASK = 0x00000040;
72 static const unsigned int STRIP_INDEX = 7;
73 static const unsigned int STRIP_MASK = 0x0007FF80;
76 static const unsigned int LAYER_MAX = 3;
77 static const unsigned int SHEET_MAX = 2;
78 static const unsigned int XSTRIP_MAX[3] ;
79 static const unsigned int VSTRIP_MAX[3] ;
static value_type getXSTRIP_TYPE()
static value_type getVSTRIP_TYPE()
Identifier::size_type size_type
static value_type getVSTRIP_MAX(unsigned int f_layer)
static int sheet(const Identifier &id)
static value_type getSHEET_MAX()
static value_type getXSTRIP_MAX(unsigned int f_layer)
static int layer(const Identifier &id)
static bool is_xstrip(const Identifier &id)
static value_type getLAYER_MAX()
static int strip(const Identifier &id)
static value_type getIntID(unsigned int f_layer, unsigned int f_sheet, unsigned int f_strip_type, unsigned int f_strip)
Identifier::value_type value_type
static Identifier strip_id(int f_layer, int f_sheet, int f_strip_type, int f_strip)
static bool values_ok(const unsigned int f_layer, const unsigned int f_sheet, const unsigned int f_strip_type, const unsigned int f_strip)