CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CSCL1TPLookupTableCCLUT.h
Go to the documentation of this file.
1 #ifndef CondFormats_CSCObjects_CSCL1TPLookupTableCCLUT_h
2 #define CondFormats_CSCObjects_CSCL1TPLookupTableCCLUT_h
3 
5 #include <vector>
6 #include <unordered_map>
7 
9 public:
12 
13  typedef std::unordered_map<unsigned, std::vector<unsigned> > t_lut;
14 
15  // setters
16  void set_cclutPosition(t_lut lut);
17  void set_cclutSlope(t_lut lut);
18 
19  // getters
20  unsigned cclutPosition(unsigned pattern, unsigned code) const;
21  unsigned cclutSlope(unsigned pattern, unsigned code) const;
22 
23 private:
26 
28 };
29 
30 #endif
std::unordered_map< unsigned, std::vector< unsigned > > t_lut
unsigned cclutPosition(unsigned pattern, unsigned code) const
#define COND_SERIALIZABLE
Definition: Serializable.h:39
unsigned cclutSlope(unsigned pattern, unsigned code) const