CMS 3D CMS Logo

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 = 4096, // must be larger than largest used FED id
38  MAXSiPixelFEDID = 40, // increase from 39 for the pilot blade fed
53  MINECALFEDID = 600,
54  MAXECALFEDID = 670,
57  MINHCALFEDID = 700,
58  MAXHCALFEDID = 731,
61  MINCSCFEDID = 750,
62  MAXCSCFEDID = 757,
65  MINDTFEDID = 770,
66  MAXDTFEDID = 779,
67  MINDTTFFEDID = 780,
68  MAXDTTFFEDID = 780,
69  MINRPCFEDID = 790,
70  MAXRPCFEDID = 795,
117  MINRCTFEDID = 1350,
118  MAXRCTFEDID = 1359,
119  MINCalTrigUp = 1360,
120  MAXCalTrigUp = 1367,
133  MINGEMFEDID = 1467,
134  MAXGEMFEDID = 1472,
135  MINME0FEDID = 1473,
136  MAXME0FEDID = 1478,
139  };
140  private:
141  static std::vector<std::string> from_;
142  static bool *in_;
143  static bool init_;
144 
145 };
146 
147 #endif // FEDNumbering_H
static void init()
Definition: FEDNumbering.cc:21
static bool * in_
Definition: FEDNumbering.h:142
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:141
static bool init_
Definition: FEDNumbering.h:143
static bool inRangeNoGT(int)