test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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

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

Definition at line 23 of file CSCDBGains.h.

Member Enumeration Documentation

Enumerator
FGAIN 

Definition at line 21 of file CSCDBGains.h.

21 {FGAIN=1000};

Constructor & Destructor Documentation

CSCDBGains::CSCDBGains ( )
inline

Definition at line 11 of file CSCDBGains.h.

11 {}
CSCDBGains::~CSCDBGains ( )
inline

Definition at line 12 of file CSCDBGains.h.

12 {}

Member Function Documentation

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

Definition at line 27 of file CSCDBGains.h.

References gains, and cmsHarvester::index.

27 { return gains[index].gain_slope; }
GainContainer gains
Definition: CSCDBGains.h:24
const Item& CSCDBGains::item ( int  index) const
inline
int CSCDBGains::scale ( void  ) const
inline
template<class Archive >
void CSCDBGains::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 30 of file CSCDBGains.h.

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

Definition at line 30 of file CSCDBGains.h.

Member Data Documentation

int CSCDBGains::factor_gain
GainContainer CSCDBGains::gains