CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
CastorPedestals Class Reference

#include <CastorPedestals.h>

Inheritance diagram for CastorPedestals:
CastorCondObjectContainer< CastorPedestal >

Public Member Functions

 CastorPedestals ()
 
 CastorPedestals (bool isADC)
 
bool isADC () const
 
void setUnitADC (bool isADC)
 
- Public Member Functions inherited from CastorCondObjectContainer< CastorPedestal >
bool addValues (const CastorPedestal &myItem)
 
 CastorCondObjectContainer ()
 
const bool exists (DetId fId) const
 
std::vector< DetIdgetAllChannels () const
 
const CastorPedestalgetValues (DetId fId, bool throwOnFail=true) const
 
std::string myname () const
 
 ~CastorCondObjectContainer ()
 

Private Member Functions

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

Private Attributes

bool unitIsADC
 

Friends

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

Detailed Description

Author
Panos Katsas (UoA) Modified by L.Mundim (Mar/2009) POOL container to store Pedestal values 4xCapId $Author: katsas
Panos Katsas (UoA) Modified by L.Mundim (Mar/2009) POOL object to store Pedestal values 4xCapId

Definition at line 18 of file CastorPedestals.h.

Constructor & Destructor Documentation

CastorPedestals::CastorPedestals ( )
inline
CastorPedestals::CastorPedestals ( bool  isADC)
inline

Member Function Documentation

bool CastorPedestals::isADC ( ) const
inline

Definition at line 26 of file CastorPedestals.h.

References unitIsADC.

Referenced by CastorDbService::buildCalibrations(), CastorDbXml::dumpObject(), and setUnitADC().

26 {return unitIsADC;}
template<class Archive >
void CastorPedestals::serialize ( Archive &  ar,
const unsigned int  version 
)
private
void CastorPedestals::setUnitADC ( bool  isADC)
inline

Definition at line 28 of file CastorPedestals.h.

References isADC(), and unitIsADC.

28 {unitIsADC = isADC;}
bool isADC() const

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 34 of file CastorPedestals.h.

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

Definition at line 34 of file CastorPedestals.h.

Member Data Documentation

bool CastorPedestals::unitIsADC
private

Definition at line 31 of file CastorPedestals.h.

Referenced by isADC(), and setUnitADC().