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.

23 { FPED = 10, FRMS = 1000 };

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.

28 { return pedestals[index]; }

References pedestals.

◆ pedestal()

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

Definition at line 29 of file CSCDBPedestals.h.

29 { return pedestals[index].ped; }

References pedestals.

Referenced by CSCConditions::pedestal().

◆ pedestal_rms()

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

Definition at line 31 of file CSCDBPedestals.h.

31 { return pedestals[index].rms; }

References pedestals.

Referenced by CSCConditions::pedestalSigma().

◆ scale_ped()

int CSCDBPedestals::scale_ped ( ) const
inline

Definition at line 30 of file CSCDBPedestals.h.

30 { return factor_ped; }

References factor_ped.

Referenced by CSCConditions::pedestal().

◆ scale_rms()

int CSCDBPedestals::scale_rms ( ) const
inline

Definition at line 32 of file CSCDBPedestals.h.

32 { return factor_rms; }

References factor_rms.

Referenced by CSCConditions::pedestalSigma().

◆ 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
CSCDBPedestals::pedestals
PedestalContainer pedestals
Definition: CSCDBPedestals.h:26
CSCDBPedestals::factor_ped
int factor_ped
Definition: CSCDBPedestals.h:20
CSCDBPedestals::FPED
Definition: CSCDBPedestals.h:23
CSCDBPedestals::FRMS
Definition: CSCDBPedestals.h:23
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
CSCDBPedestals::factor_rms
int factor_rms
Definition: CSCDBPedestals.h:21