CMS 3D CMS Logo

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

#include <CastorPedestalWidths.h>

Inheritance diagram for CastorPedestalWidths:
CastorCondObjectContainer< CastorPedestalWidth >

Public Member Functions

 CastorPedestalWidths ()
 
 CastorPedestalWidths (bool isADC)
 
bool isADC () const
 
std::string const myname ()
 
void setUnitADC (bool isADC)
 
- Public Member Functions inherited from CastorCondObjectContainer< CastorPedestalWidth >
bool addValues (const CastorPedestalWidth &myItem)
 
 CastorCondObjectContainer ()
 
const bool exists (DetId fId) const
 
std::vector< DetIdgetAllChannels () const
 
const CastorPedestalWidthgetValues (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
Radek Ofierzynski Modified by L.Mundim (Mar/2009) POOL container to store PedestalWidth values 4xCapId, using template

Definition at line 18 of file CastorPedestalWidths.h.

Constructor & Destructor Documentation

CastorPedestalWidths::CastorPedestalWidths ( )
inline
CastorPedestalWidths::CastorPedestalWidths ( bool  isADC)
inline

Member Function Documentation

bool CastorPedestalWidths::isADC ( ) const
inline

Definition at line 25 of file CastorPedestalWidths.h.

References unitIsADC.

Referenced by CastorDbService::buildCalibWidths(), and setUnitADC().

25 { return unitIsADC; }
std::string const CastorPedestalWidths::myname ( )
inline

Definition at line 29 of file CastorPedestalWidths.h.

References AlCaHLTBitMon_QueryRunRegistry::string.

29 { return (std::string) "CastorPedestalWidths"; }
template<class Archive >
void CastorPedestalWidths::serialize ( Archive &  ar,
const unsigned int  version 
)
private
void CastorPedestalWidths::setUnitADC ( bool  isADC)
inline

Definition at line 27 of file CastorPedestalWidths.h.

References isADC(), and unitIsADC.

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 34 of file CastorPedestalWidths.h.

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

Definition at line 34 of file CastorPedestalWidths.h.

Member Data Documentation

bool CastorPedestalWidths::unitIsADC
private

Definition at line 32 of file CastorPedestalWidths.h.

Referenced by isADC(), and setUnitADC().