CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1MuDTEtaPatternLut.h
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
13 //
14 //--------------------------------------------------
15 #ifndef L1MUDT_ETAPATTERN_LUT_H
16 #define L1MUDT_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 
36 
37 // ---------------------
38 // -- Class Interface --
39 // ---------------------
40 
42 
43  public:
44 
45  typedef std::map<short, L1MuDTEtaPattern, std::less<short> > LUT;
46  typedef LUT::const_iterator ETFLut_iter;
47  typedef LUT::iterator ETFLut_Iter;
48 
51 
53  virtual ~L1MuDTEtaPatternLut();
54 
56  void reset();
57 
59  int load();
60 
62  void print() const;
63 
65  L1MuDTEtaPattern getPattern(int id) const;
66 
68  inline int size() const { return m_lut.size(); }
69 
71  inline ETFLut_iter begin() const { return m_lut.begin(); }
72 
74  inline ETFLut_iter end() const { return m_lut.end(); }
75 
76  private:
77 
79 
80 
82 };
83 
84 #endif
L1MuDTEtaPatternLut()
constructor
LUT::const_iterator ETFLut_iter
void reset()
reset pattern look-up table
int load()
load pattern look-up table
L1MuDTEtaPattern getPattern(int id) const
get pattern with a given ID
int size() const
return number of entries in the LUT
virtual ~L1MuDTEtaPatternLut()
destructor
ETFLut_iter begin() const
return iterator which points to the first entry of the LUT
std::map< short, L1MuDTEtaPattern, std::less< short > > LUT
void print() const
print pattern look-up table
#define COND_SERIALIZABLE
Definition: Serializable.h:37
ETFLut_iter end() const
return iterator which points to the one-past-last entry of the LUT