CMS 3D CMS Logo

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 override
 
void setUnitADC (bool isADC)
 
- Public Member Functions inherited from HcalCondObjectContainer< HcalPedestalWidth >
bool addValues (const HcalPedestalWidth &myItem)
 
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 (const HcalTopology *)
 
 HcalCondObjectContainerBase (HcalCondObjectContainerBase &&)=default
 
 HcalCondObjectContainerBase (HcalCondObjectContainerBase const &o)
 
unsigned int indexFor (DetId) const
 
HcalCondObjectContainerBaseoperator= (HcalCondObjectContainerBase &&)=default
 
HcalCondObjectContainerBaseoperator= (HcalCondObjectContainerBase const &o)
 
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() [1/3]

HcalPedestalWidths::HcalPedestalWidths ( )
inline

Definition at line 21 of file HcalPedestalWidths.h.

◆ HcalPedestalWidths() [2/3]

HcalPedestalWidths::HcalPedestalWidths ( const HcalTopology topo)
inline

Definition at line 23 of file HcalPedestalWidths.h.

◆ HcalPedestalWidths() [3/3]

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

Member Function Documentation

◆ isADC()

bool HcalPedestalWidths::isADC ( ) const
inline

◆ myname()

std::string HcalPedestalWidths::myname ( ) const
inlineoverridevirtual

Reimplemented from HcalCondObjectContainer< HcalPedestalWidth >.

Definition at line 32 of file HcalPedestalWidths.h.

32 { return (std::string) "HcalPedestalWidths"; }

References AlCaHLTBitMon_QueryRunRegistry::string.

◆ serialize()

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

◆ setUnitADC()

void HcalPedestalWidths::setUnitADC ( bool  isADC)
inline

Definition at line 30 of file HcalPedestalWidths.h.

30 { unitIsADC = isADC; }

References isADC(), and unitIsADC.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 37 of file HcalPedestalWidths.h.

◆ cond::serialization::access

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

Definition at line 37 of file HcalPedestalWidths.h.

Member Data Documentation

◆ unitIsADC

bool HcalPedestalWidths::unitIsADC
private

Definition at line 35 of file HcalPedestalWidths.h.

Referenced by isADC(), and setUnitADC().

HcalCondObjectContainer< HcalPedestalWidth >
HcalPedestalWidths::unitIsADC
bool unitIsADC
Definition: HcalPedestalWidths.h:35
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HcalPedestalWidths::isADC
bool isADC() const
Definition: HcalPedestalWidths.h:28
HcalCondObjectContainerBase::topo
const HcalTopology * topo() const
Definition: HcalCondObjectContainer.h:22