CMS 3D CMS Logo

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

#include <CSCDBGains.h>

Classes

struct  Item
 

Public Types

enum  factors { FGAIN = 1000 }
 
typedef std::vector< ItemGainContainer
 

Public Member Functions

 CSCDBGains ()
 
short int gain (int index) const
 
const Itemitem (int index) const
 
int scale () const
 
 ~CSCDBGains ()
 

Public Attributes

int factor_gain
 
GainContainer gains
 

Private Member Functions

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

Friends

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

Detailed Description

Definition at line 9 of file CSCDBGains.h.

Member Typedef Documentation

◆ GainContainer

typedef std::vector<Item> CSCDBGains::GainContainer

Definition at line 23 of file CSCDBGains.h.

Member Enumeration Documentation

◆ factors

Enumerator
FGAIN 

Definition at line 21 of file CSCDBGains.h.

21 { FGAIN = 1000 };

Constructor & Destructor Documentation

◆ CSCDBGains()

CSCDBGains::CSCDBGains ( )
inline

Definition at line 11 of file CSCDBGains.h.

11 {}

◆ ~CSCDBGains()

CSCDBGains::~CSCDBGains ( )
inline

Definition at line 12 of file CSCDBGains.h.

12 {}

Member Function Documentation

◆ gain()

short int CSCDBGains::gain ( int  index) const
inline

Definition at line 27 of file CSCDBGains.h.

27 { return gains[index].gain_slope; }

References gains.

Referenced by CSCConditions::gain().

◆ item()

const Item& CSCDBGains::item ( int  index) const
inline

Definition at line 26 of file CSCDBGains.h.

26 { return gains[index]; }

References gains.

◆ scale()

int CSCDBGains::scale ( ) const
inline

Definition at line 28 of file CSCDBGains.h.

28 { return factor_gain; }

References factor_gain.

Referenced by CSCConditions::averageGain(), and CSCConditions::gain().

◆ serialize()

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

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 30 of file CSCDBGains.h.

◆ cond::serialization::access

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

Definition at line 30 of file CSCDBGains.h.

Member Data Documentation

◆ factor_gain

int CSCDBGains::factor_gain

◆ gains

GainContainer CSCDBGains::gains
CSCDBGains::FGAIN
Definition: CSCDBGains.h:21
CSCDBGains::gains
GainContainer gains
Definition: CSCDBGains.h:24
CSCDBGains::factor_gain
int factor_gain
Definition: CSCDBGains.h:19
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46