CMS 3D CMS Logo

L1MuBMTEtaPatternLut.h
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
13 //
14 //--------------------------------------------------
15 #ifndef L1MUBMT_ETAPATTERN_LUT_H
16 #define L1MUBMT_ETAPATTERN_LUT_H
17 
18 //---------------
19 // C++ Headers --
20 //---------------
21 
23 
24 #include <map>
25 
26 //----------------------
27 // Base Class Headers --
28 //----------------------
29 
30 
31 //------------------------------------
32 // Collaborating Class Declarations --
33 //------------------------------------
34 
37 
38 // ---------------------
39 // -- Class Interface --
40 // ---------------------
41 
43 
44  public:
45 
46  typedef std::map<short, L1MuDTEtaPattern, std::less<short> > LUT;
47  typedef LUT::const_iterator ETFLut_iter;
48  typedef LUT::iterator ETFLut_Iter;
49 
52 
54  virtual ~L1MuBMTEtaPatternLut();
55 
57  void reset();
58 
60  int load();
61 
63  void print() const;
64 
66 
68  L1MuDTEtaPattern getPattern(int id) const;
69 
71  inline int size() const { return m_lut.size(); }
72 
74  inline ETFLut_iter begin() const { return m_lut.begin(); }
75 
77  inline ETFLut_iter end() const { return m_lut.end(); }
78 
79  public:
80 
81  LUT m_lut;
82 
83 
85 };
86 
87 #endif
L1MuBMTEtaPatternLut()
constructor
int load()
load pattern look-up table
ETFLut_iter begin() const
return iterator which points to the first entry of the LUT
L1MuDTEtaPattern getPattern(int id) const
get pattern with a given ID
virtual ~L1MuBMTEtaPatternLut()
destructor
int size() const
return number of entries in the LUT
int getIgnoredLines(L1TriggerLutFile file) const
void print() const
print pattern look-up table
#define COND_SERIALIZABLE
Definition: Serializable.h:38
std::map< short, L1MuDTEtaPattern, std::less< short > > LUT
LUT::const_iterator ETFLut_iter
void reset()
reset pattern look-up table
ETFLut_iter end() const
return iterator which points to the one-past-last entry of the LUT