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
HcalPedestalWidths Class Reference

#include <HcalPedestalWidths.h>

Inheritance diagram for HcalPedestalWidths:
HcalCondObjectContainer< HcalPedestalWidth > HcalCondObjectContainerBase

Public Member Functions

 HcalPedestalWidths ()
 
 HcalPedestalWidths (const HcalTopology *topo)
 
 HcalPedestalWidths (const HcalTopology *topo, bool isADC)
 
bool isADC () const
 
std::string myname () const
 
void setUnitADC (bool isADC)
 
- Public Member Functions inherited from HcalCondObjectContainer< HcalPedestalWidth >
bool addValues (const HcalPedestalWidth &myItem)
 
const bool exists (DetId fId) const
 
std::vector< DetIdgetAllChannels () const
 
const tAllContWithNames getAllContainers () const
 
const HcalPedestalWidthgetValues (DetId fId, bool throwOnFail=true) const
 
 HcalCondObjectContainer (const HcalTopology *topo)
 
virtual ~HcalCondObjectContainer ()
 
- Public Member Functions inherited from HcalCondObjectContainerBase
int getCreatorPackedIndexVersion () const
 
void setTopo (const HcalTopology *topo)
 
const HcalTopologytopo () const
 

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
 

Additional Inherited Members

- Public Types inherited from HcalCondObjectContainer< HcalPedestalWidth >
typedef std::vector< tHcalConttAllContWithNames
 
typedef std::pair< std::string,
std::vector< HcalPedestalWidth > > 
tHcalCont
 
- Protected Member Functions inherited from HcalCondObjectContainerBase
HcalOtherSubdetector extractOther (const DetId &id) const
 
 HcalCondObjectContainerBase (HcalCondObjectContainerBase const &o)
 
 HcalCondObjectContainerBase (HcalCondObjectContainerBase &&)=default
 
 HcalCondObjectContainerBase (const HcalTopology *)
 
unsigned int indexFor (DetId) const
 
HcalCondObjectContainerBaseoperator= (HcalCondObjectContainerBase const &o)
 
HcalCondObjectContainerBaseoperator= (HcalCondObjectContainerBase &&)=default
 
unsigned int sizeFor (DetId) const
 
std::string textForId (const DetId &id) const
 
- Protected Attributes inherited from HcalCondObjectContainerBase
int packedIndexVersion_
 

Detailed Description

Author
Radek Ofierzynski POOL container to store PedestalWidth values 4xCapId, using template

Definition at line 17 of file HcalPedestalWidths.h.

Constructor & Destructor Documentation

HcalPedestalWidths::HcalPedestalWidths ( )
inline
HcalPedestalWidths::HcalPedestalWidths ( const HcalTopology topo)
inline
HcalPedestalWidths::HcalPedestalWidths ( const HcalTopology topo,
bool  isADC 
)
inline

Member Function Documentation

bool HcalPedestalWidths::isADC ( ) const
inline

Definition at line 28 of file HcalPedestalWidths.h.

References unitIsADC.

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

28 {return unitIsADC;}
std::string HcalPedestalWidths::myname ( ) const
inlinevirtual

Reimplemented from HcalCondObjectContainer< HcalPedestalWidth >.

Definition at line 32 of file HcalPedestalWidths.h.

References AlCaHLTBitMon_QueryRunRegistry::string.

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

Definition at line 30 of file HcalPedestalWidths.h.

References isADC(), and unitIsADC.

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 38 of file HcalPedestalWidths.h.

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

Definition at line 38 of file HcalPedestalWidths.h.

Member Data Documentation

bool HcalPedestalWidths::unitIsADC
private

Definition at line 35 of file HcalPedestalWidths.h.

Referenced by isADC(), and setUnitADC().