CMS 3D CMS Logo

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
 
const std::string 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() [1/2]

CastorPedestalWidths::CastorPedestalWidths ( )
inline

◆ CastorPedestalWidths() [2/2]

CastorPedestalWidths::CastorPedestalWidths ( bool  isADC)
inline

Member Function Documentation

◆ isADC()

bool CastorPedestalWidths::isADC ( ) const
inline

Definition at line 25 of file CastorPedestalWidths.h.

25 { return unitIsADC; }

References unitIsADC.

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

◆ myname()

const std::string CastorPedestalWidths::myname ( )
inline

Definition at line 29 of file CastorPedestalWidths.h.

29 { return (std::string) "CastorPedestalWidths"; }

References AlCaHLTBitMon_QueryRunRegistry::string.

◆ serialize()

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

◆ setUnitADC()

void CastorPedestalWidths::setUnitADC ( bool  isADC)
inline

Definition at line 27 of file CastorPedestalWidths.h.

27 { unitIsADC = isADC; }

References isADC(), and unitIsADC.

Referenced by CastorDbASCIIIO::getObject().

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 34 of file CastorPedestalWidths.h.

◆ cond::serialization::access

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

Definition at line 34 of file CastorPedestalWidths.h.

Member Data Documentation

◆ unitIsADC

bool CastorPedestalWidths::unitIsADC
private

Definition at line 32 of file CastorPedestalWidths.h.

Referenced by isADC(), and setUnitADC().

CastorPedestalWidths::unitIsADC
bool unitIsADC
Definition: CastorPedestalWidths.h:32
CastorPedestalWidths::isADC
bool isADC() const
Definition: CastorPedestalWidths.h:25
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
CastorCondObjectContainer< CastorPedestalWidth >