CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends
CSCL1TPLookupTableCCLUT Class Reference

#include <CSCL1TPLookupTableCCLUT.h>

Public Types

typedef std::unordered_map< unsigned, std::vector< unsigned > > t_lut
 

Public Member Functions

unsigned cclutPosition (unsigned pattern, unsigned code) const
 
unsigned cclutSlope (unsigned pattern, unsigned code) const
 
 CSCL1TPLookupTableCCLUT ()
 
void set_cclutPosition (t_lut lut)
 
void set_cclutSlope (t_lut lut)
 
 ~CSCL1TPLookupTableCCLUT ()
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

t_lut cclutPosition_
 
t_lut cclutSlope_
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Definition at line 8 of file CSCL1TPLookupTableCCLUT.h.

Member Typedef Documentation

◆ t_lut

typedef std::unordered_map<unsigned, std::vector<unsigned> > CSCL1TPLookupTableCCLUT::t_lut

Definition at line 13 of file CSCL1TPLookupTableCCLUT.h.

Constructor & Destructor Documentation

◆ CSCL1TPLookupTableCCLUT()

CSCL1TPLookupTableCCLUT::CSCL1TPLookupTableCCLUT ( )

Definition at line 3 of file CSCL1TPLookupTableCCLUT.cc.

References cclutPosition_, and cclutSlope_.

3  {
4  cclutPosition_.reserve(5);
5  cclutSlope_.reserve(5);
6 }

◆ ~CSCL1TPLookupTableCCLUT()

CSCL1TPLookupTableCCLUT::~CSCL1TPLookupTableCCLUT ( )
inline

Definition at line 11 of file CSCL1TPLookupTableCCLUT.h.

11 {}

Member Function Documentation

◆ cclutPosition()

unsigned CSCL1TPLookupTableCCLUT::cclutPosition ( unsigned  pattern,
unsigned  code 
) const

◆ cclutSlope()

unsigned CSCL1TPLookupTableCCLUT::cclutSlope ( unsigned  pattern,
unsigned  code 
) const

◆ serialize()

template<class Archive >
void CSCL1TPLookupTableCCLUT::serialize ( Archive &  ar,
const unsigned int  version 
)
private

◆ set_cclutPosition()

void CSCL1TPLookupTableCCLUT::set_cclutPosition ( t_lut  lut)

Definition at line 8 of file CSCL1TPLookupTableCCLUT.cc.

References cclutPosition_, and eostools::move().

8 { cclutPosition_ = std::move(lut); }
def move(src, dest)
Definition: eostools.py:511

◆ set_cclutSlope()

void CSCL1TPLookupTableCCLUT::set_cclutSlope ( t_lut  lut)

Definition at line 10 of file CSCL1TPLookupTableCCLUT.cc.

References cclutSlope_, and eostools::move().

10 { cclutSlope_ = std::move(lut); }
def move(src, dest)
Definition: eostools.py:511

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 27 of file CSCL1TPLookupTableCCLUT.h.

◆ cond::serialization::access

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 27 of file CSCL1TPLookupTableCCLUT.h.

Member Data Documentation

◆ cclutPosition_

t_lut CSCL1TPLookupTableCCLUT::cclutPosition_
private

◆ cclutSlope_

t_lut CSCL1TPLookupTableCCLUT::cclutSlope_
private

Definition at line 25 of file CSCL1TPLookupTableCCLUT.h.

Referenced by cclutSlope(), CSCL1TPLookupTableCCLUT(), and set_cclutSlope().