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
CSCDBPedestals Class Reference

#include <CSCDBPedestals.h>

Classes

struct  Item
 

Public Types

enum  factors { FPED =10, FRMS =1000 }
 
typedef std::vector< ItemPedestalContainer
 

Public Member Functions

 CSCDBPedestals ()
 
const Itemitem (int index) const
 
short int pedestal (int index) const
 
short int pedestal_rms (int index) const
 
int scale_ped () const
 
int scale_rms () const
 
 ~CSCDBPedestals ()
 

Public Attributes

int factor_ped
 
int factor_rms
 
PedestalContainer pedestals
 

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 CSCDBPedestals.h.

Member Typedef Documentation

Definition at line 25 of file CSCDBPedestals.h.

Member Enumeration Documentation

Enumerator
FPED 
FRMS 

Definition at line 23 of file CSCDBPedestals.h.

Constructor & Destructor Documentation

CSCDBPedestals::CSCDBPedestals ( )
inline

Definition at line 11 of file CSCDBPedestals.h.

11 {}
CSCDBPedestals::~CSCDBPedestals ( )
inline

Definition at line 12 of file CSCDBPedestals.h.

12 {}

Member Function Documentation

const Item& CSCDBPedestals::item ( int  index) const
inline
short int CSCDBPedestals::pedestal ( int  index) const
inline

Definition at line 29 of file CSCDBPedestals.h.

References cmsHarvester::index, and pedestals.

29 { return pedestals[index].ped; }
PedestalContainer pedestals
short int CSCDBPedestals::pedestal_rms ( int  index) const
inline

Definition at line 31 of file CSCDBPedestals.h.

References cmsHarvester::index, and pedestals.

31 { return pedestals[index].rms; }
PedestalContainer pedestals
int CSCDBPedestals::scale_ped ( ) const
inline

Definition at line 30 of file CSCDBPedestals.h.

References factor_ped.

30 { return factor_ped; }
int CSCDBPedestals::scale_rms ( ) const
inline

Definition at line 32 of file CSCDBPedestals.h.

References factor_rms.

32 { return factor_rms; }
template<class Archive >
void CSCDBPedestals::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 34 of file CSCDBPedestals.h.

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

Definition at line 34 of file CSCDBPedestals.h.

Member Data Documentation

int CSCDBPedestals::factor_ped
int CSCDBPedestals::factor_rms
PedestalContainer CSCDBPedestals::pedestals