CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
L1TMuonBarrelParams.h
Go to the documentation of this file.
1 
10 #ifndef L1TBMTFParams_h
11 #define L1TBMTFParams_h
12 
13 #include <memory>
14 #include <iostream>
15 #include <vector>
16 
22 
24 public:
26  enum { Version = 1 };
27 
28  class Node {
29  public:
31  unsigned version_;
33  std::vector<double> dparams_;
34  std::vector<unsigned> uparams_;
35  std::vector<int> iparams_;
36  std::vector<std::string> sparams_;
37  Node() {
38  type_ = "unspecified";
39  version_ = 0;
40  }
42  };
43  enum { CONFIG = 0, NUM_BMTF_PARAM_NODES = 2 };
44 
45  enum {
62  };
63 
64  // after initial integration with downstream code, a small update will change:
67  // to this:
68  //L1MuDTTFParameters & l1mudttfparams(){return l1mudttfparams_[0]; }
69  //L1MuDTTFMasks & l1mudttfmasks(){return l1mudttfmasks_[0]; }
70 
72  typedef std::map<short, short, std::less<short> > LUT;
74  typedef std::pair<short, short> LUTID;
75  typedef std::pair<short, std::vector<short> > LUTCONT;
76  typedef std::map<LUTID, LUTCONT> qpLUT;
78  typedef std::map<short, L1MuDTEtaPattern, std::less<short> > etaLUT;
79 
80  class LUTParams {
81  public:
82  std::vector<LUT> pta_lut_;
83  std::vector<LUT> phi_lut_;
84  std::vector<int> pta_threshold_;
87 
88  // helper class for extrapolation look-up tables
89  class extLUT {
90  public:
94  };
95  std::vector<extLUT> ext_lut_;
98  };
99 
101 
102 public:
103  unsigned version_;
104  unsigned fwVersion_;
105 
106  std::vector<Node> pnodes_;
107  // std::vector here is just so we can use "blob" in DB and evade max size limitations...
108  std::vector<L1MuDTTFParameters> l1mudttfparams_;
109  std::vector<L1MuDTTFMasks> l1mudttfmasks_;
111 
113 };
114 #endif
L1MuDTTFParameters l1mudttfparams
std::map< LUTID, LUTCONT > qpLUT
std::pair< short, short > LUTID
Qual Pattern LUT.
std::vector< double > dparams_
L1MuDTTFMasks l1mudttfmasks
std::vector< unsigned > uparams_
Definition: LUT.h:29
std::map< short, short, std::less< short > > LUT
L1MuBMPtaLut.
#define COND_SERIALIZABLE
Definition: Serializable.h:39
std::pair< short, std::vector< short > > LUTCONT
std::vector< std::string > sparams_
std::vector< Node > pnodes_
std::vector< L1MuDTTFParameters > l1mudttfparams_
std::vector< L1MuDTTFMasks > l1mudttfmasks_
std::map< short, L1MuDTEtaPattern, std::less< short > > etaLUT
Eta Pattern LUT.