CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FEDNumbering.h
Go to the documentation of this file.
1 #ifndef FEDRawData_FEDNumbering_h
2 #define FEDRawData_FEDNumbering_h
3 
15 #include <vector>
16 #include <string>
17 
18 class FEDNumbering {
19 
20 
21  public:
22 
23  virtual ~FEDNumbering(){};
24 
25  static int lastFEDId();
26 
27  static void init();
28 
29  static bool inRange(int);
30  static bool inRangeNoGT(int);
31 
32  static const std::string &fromDet(int);
33 
34  enum {
36  MAXFEDID = 1023, // 10 bits
43  MINECALFEDID = 600,
44  MAXECALFEDID = 670,
47  MINHCALFEDID = 700,
48  MAXHCALFEDID = 731,
51  MINCSCFEDID = 750,
52  MAXCSCFEDID = 757,
55  MINDTFEDID = 770,
56  MAXDTFEDID = 779,
57  MINDTTFFEDID = 780,
58  MAXDTTFFEDID = 780,
59  MINRPCFEDID = 790,
60  MAXRPCFEDID = 795,
99  };
100  private:
101  static std::vector<std::string> from_;
102  static bool *in_;
103  static bool init_;
104 
105 };
106 
107 #endif // FEDNumbering_H
static void init()
Definition: FEDNumbering.cc:21
static bool * in_
Definition: FEDNumbering.h:102
virtual ~FEDNumbering()
Definition: FEDNumbering.h:23
static const std::string & fromDet(int)
static int lastFEDId()
Definition: FEDNumbering.cc:17
static bool inRange(int)
static std::vector< std::string > from_
Definition: FEDNumbering.h:101
static bool init_
Definition: FEDNumbering.h:103
static bool inRangeNoGT(int)