CMS 3D CMS Logo

CSCL1TPLookupTableCCLUT.cc
Go to the documentation of this file.
2 
4  cclutPosition_.reserve(5);
5  cclutSlope_.reserve(5);
6 }
7 
9 
11 
12 unsigned CSCL1TPLookupTableCCLUT::cclutPosition(unsigned pattern, unsigned code) const {
13  return cclutPosition_.at(pattern)[code];
14 }
15 
16 unsigned CSCL1TPLookupTableCCLUT::cclutSlope(unsigned pattern, unsigned code) const {
17  return cclutSlope_.at(pattern)[code];
18 }
std::unordered_map< unsigned, std::vector< unsigned > > t_lut
unsigned cclutSlope(unsigned pattern, unsigned code) const
def move(src, dest)
Definition: eostools.py:511
unsigned cclutPosition(unsigned pattern, unsigned code) const