CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
HcalPedestals Class Reference

#include <HcalPedestals.h>

Inheritance diagram for HcalPedestals:
HcalCondObjectContainer< HcalPedestal > HcalCondObjectContainerBase

Public Member Functions

 HcalPedestals ()
 
 HcalPedestals (const HcalTopology *topo)
 
 HcalPedestals (const HcalTopology *topo, bool isADC)
 
bool isADC () const
 
std::string myname () const override
 
void setUnitADC (bool isADC)
 
- Public Member Functions inherited from HcalCondObjectContainer< HcalPedestal >
bool addValues (const HcalPedestal &myItem)
 
const bool exists (DetId fId) const
 
std::vector< DetIdgetAllChannels () const
 
const tAllContWithNames getAllContainers () const
 
const HcalPedestalgetValues (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< HcalPedestal >
typedef std::vector< tHcalConttAllContWithNames
 
typedef std::pair< std::string, std::vector< HcalPedestal > > 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 Pedestal values 4xCapId, using template

Definition at line 20 of file HcalPedestals.h.

Constructor & Destructor Documentation

◆ HcalPedestals() [1/3]

HcalPedestals::HcalPedestals ( )
inline

Definition at line 24 of file HcalPedestals.h.

◆ HcalPedestals() [2/3]

HcalPedestals::HcalPedestals ( const HcalTopology topo)
inline

Definition at line 26 of file HcalPedestals.h.

◆ HcalPedestals() [3/3]

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

Member Function Documentation

◆ isADC()

bool HcalPedestals::isADC ( ) const
inline

◆ myname()

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

Reimplemented from HcalCondObjectContainer< HcalPedestal >.

Definition at line 34 of file HcalPedestals.h.

34 { return (std::string) "HcalPedestals"; }

References AlCaHLTBitMon_QueryRunRegistry::string.

◆ serialize()

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

◆ setUnitADC()

void HcalPedestals::setUnitADC ( bool  isADC)
inline

Definition at line 32 of file HcalPedestals.h.

32 { unitIsADC = isADC; }

References isADC(), and unitIsADC.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 39 of file HcalPedestals.h.

◆ cond::serialization::access

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

Definition at line 39 of file HcalPedestals.h.

Member Data Documentation

◆ unitIsADC

bool HcalPedestals::unitIsADC
private

Definition at line 37 of file HcalPedestals.h.

Referenced by isADC(), and setUnitADC().

HcalPedestals::unitIsADC
bool unitIsADC
Definition: HcalPedestals.h:37
HcalCondObjectContainer< HcalPedestal >
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HcalCondObjectContainerBase::topo
const HcalTopology * topo() const
Definition: HcalCondObjectContainer.h:22
HcalPedestals::isADC
bool isADC() const
Definition: HcalPedestals.h:30