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 // Collaborating Class Declarations --
32 //------------------------------------
33 
36 
37 // ---------------------
38 // -- Class Interface --
39 // ---------------------
40 
42 public:
43  typedef std::map<short, L1MuDTEtaPattern, std::less<short> > LUT;
44  typedef LUT::const_iterator ETFLut_iter;
45  typedef LUT::iterator ETFLut_Iter;
46 
49 
51  virtual ~L1MuBMTEtaPatternLut();
52 
54  void reset();
55 
57  int load();
58 
60  void print() const;
61 
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 public:
78 
80 };
81 
82 #endif
L1MuDTEtaPattern
Definition: L1MuDTEtaPattern.h:46
L1MuBMTEtaPatternLut::begin
ETFLut_iter begin() const
return iterator which points to the first entry of the LUT
Definition: L1MuBMTEtaPatternLut.h:71
L1MuBMTEtaPatternLut::print
void print() const
print pattern look-up table
Definition: L1MuBMTEtaPatternLut.cc:127
L1MuBMTEtaPatternLut::~L1MuBMTEtaPatternLut
virtual ~L1MuBMTEtaPatternLut()
destructor
Definition: L1MuBMTEtaPatternLut.cc:61
L1TriggerLutFile
Definition: L1TriggerLutFile.h:37
L1MuBMTEtaPatternLut::LUT
std::map< short, L1MuDTEtaPattern, std::less< short > > LUT
Definition: L1MuBMTEtaPatternLut.h:43
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
L1MuBMTEtaPatternLut
Definition: L1MuBMTEtaPatternLut.h:41
L1MuBMTEtaPatternLut::L1MuBMTEtaPatternLut
L1MuBMTEtaPatternLut()
constructor
Definition: L1MuBMTEtaPatternLut.cc:49
L1MuBMTEtaPatternLut::m_lut
LUT m_lut
Definition: L1MuBMTEtaPatternLut.h:77
L1MuBMTEtaPatternLut::reset
void reset()
reset pattern look-up table
Definition: L1MuBMTEtaPatternLut.cc:70
geometryDiff.file
file
Definition: geometryDiff.py:13
L1MuBMTEtaPatternLut::ETFLut_iter
LUT::const_iterator ETFLut_iter
Definition: L1MuBMTEtaPatternLut.h:44
Serializable.h
L1MuBMTEtaPatternLut::getIgnoredLines
int getIgnoredLines(L1TriggerLutFile file) const
Definition: L1MuBMTEtaPatternLut.cc:158
L1MuBMTEtaPatternLut::getPattern
L1MuDTEtaPattern getPattern(int id) const
get pattern with a given ID
Definition: L1MuBMTEtaPatternLut.cc:149
L1MuBMTEtaPatternLut::ETFLut_Iter
LUT::iterator ETFLut_Iter
Definition: L1MuBMTEtaPatternLut.h:45
L1MuBMTEtaPatternLut::load
int load()
load pattern look-up table
Definition: L1MuBMTEtaPatternLut.cc:75
L1MuDTEtaPattern.h
L1TriggerLutFile.h
L1MuBMTEtaPatternLut::size
int size() const
return number of entries in the LUT
Definition: L1MuBMTEtaPatternLut.h:68
L1MuBMTEtaPatternLut::end
ETFLut_iter end() const
return iterator which points to the one-past-last entry of the LUT
Definition: L1MuBMTEtaPatternLut.h:74