CMS 3D CMS Logo

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

◆ PedestalContainer

Definition at line 25 of file CSCDBPedestals.h.

Member Enumeration Documentation

◆ factors

Enumerator
FPED 
FRMS 

Definition at line 23 of file CSCDBPedestals.h.

Constructor & Destructor Documentation

◆ CSCDBPedestals()

CSCDBPedestals::CSCDBPedestals ( )
inline

Definition at line 11 of file CSCDBPedestals.h.

11 {}

◆ ~CSCDBPedestals()

CSCDBPedestals::~CSCDBPedestals ( )
inline

Definition at line 12 of file CSCDBPedestals.h.

12 {}

Member Function Documentation

◆ item()

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

Definition at line 28 of file CSCDBPedestals.h.

References pedestals.

28 { return pedestals[index]; }
PedestalContainer pedestals

◆ pedestal()

short int CSCDBPedestals::pedestal ( int  index) const
inline

Definition at line 29 of file CSCDBPedestals.h.

References pedestals.

Referenced by CSCConditions::pedestal().

29 { return pedestals[index].ped; }
PedestalContainer pedestals

◆ pedestal_rms()

short int CSCDBPedestals::pedestal_rms ( int  index) const
inline

Definition at line 31 of file CSCDBPedestals.h.

References pedestals.

Referenced by CSCConditions::pedestalSigma().

31 { return pedestals[index].rms; }
PedestalContainer pedestals

◆ scale_ped()

int CSCDBPedestals::scale_ped ( ) const
inline

Definition at line 30 of file CSCDBPedestals.h.

References factor_ped.

Referenced by CSCConditions::pedestal().

30 { return factor_ped; }

◆ scale_rms()

int CSCDBPedestals::scale_rms ( ) const
inline

Definition at line 32 of file CSCDBPedestals.h.

References factor_rms.

Referenced by CSCConditions::pedestalSigma().

32 { return factor_rms; }

◆ serialize()

template<class Archive >
void CSCDBPedestals::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 34 of file CSCDBPedestals.h.

◆ cond::serialization::access

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

Definition at line 34 of file CSCDBPedestals.h.

Member Data Documentation

◆ factor_ped

int CSCDBPedestals::factor_ped

◆ factor_rms

int CSCDBPedestals::factor_rms

◆ pedestals

PedestalContainer CSCDBPedestals::pedestals