#include <CastorCondObjectContainer.h>
Public Member Functions | |
bool | addValues (const Item &myItem) |
CastorCondObjectContainer () | |
const bool | exists (DetId fId) const |
std::vector< DetId > | getAllChannels () const |
const Item * | getValues (DetId fId, bool throwOnFail=true) const |
std::string | myname () const |
~CastorCondObjectContainer () | |
Private Member Functions | |
unsigned int | hashed_id (DetId fId) const |
void | initContainer () |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
std::vector< Item > | CASTORcontainer |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Definition at line 16 of file CastorCondObjectContainer.h.
CastorCondObjectContainer< Item >::CastorCondObjectContainer | ( | ) |
Definition at line 52 of file CastorCondObjectContainer.h.
CastorCondObjectContainer< Item >::~CastorCondObjectContainer | ( | ) |
Definition at line 57 of file CastorCondObjectContainer.h.
bool CastorCondObjectContainer< Item >::addValues | ( | const Item & | myItem | ) |
Definition at line 110 of file CastorCondObjectContainer.h.
References CastorCondObjectContainer< Item >::CASTORcontainer, Exception, CastorCondObjectContainer< Item >::hashed_id(), CastorCondObjectContainer< Item >::initContainer(), CastorCondObjectContainer< Item >::myname(), and summarizeEdmComparisonLogfiles::success.
Referenced by CastorPedestalAnalysis::CastorPedVal(), CastorDbXml::dumpObject(), CastorDbASCIIIO::getObject(), CastorPedestalAnalysis::GetPedConst(), and CastorPedestalsAnalysis::~CastorPedestalsAnalysis().
const bool CastorCondObjectContainer< Item >::exists | ( | DetId | fId | ) | const |
Definition at line 99 of file CastorCondObjectContainer.h.
References CastorCondObjectContainer< Item >::getValues().
Referenced by CastorDbASCIIIO::getObject().
std::vector< DetId > CastorCondObjectContainer< Item >::getAllChannels | ( | ) | const |
Definition at line 134 of file CastorCondObjectContainer.h.
References CastorCondObjectContainer< Item >::CASTORcontainer, and mps_fire::i.
Referenced by CastorDbService::buildCalibrations(), CastorDbService::buildCalibWidths(), CastorPedestalAnalysis::CastorPedVal(), CastorDbXml::dumpObject(), CastorDbASCIIIO::dumpObject(), RecHitCorrector::produce(), and CastorTowerProducer::produce().
const Item * CastorCondObjectContainer< Item >::getValues | ( | DetId | fId, |
bool | throwOnFail = true |
||
) | const |
Definition at line 74 of file CastorCondObjectContainer.h.
References DetId::Calo, CastorCondObjectContainer< Item >::CASTORcontainer, DetId::det(), Exception, CastorCondObjectContainer< Item >::hashed_id(), CastorCondObjectContainer< Item >::myname(), HcalCastorDetId::SubdetectorId, and DetId::subdetId().
Referenced by CastorPedestalAnalysis::CastorPedVal(), CastorDbXml::dumpObject(), CastorDbASCIIIO::dumpObject(), CastorCondObjectContainer< Item >::exists(), CastorDbService::getCastorChannelStatus(), CastorDbService::getGain(), CastorDbService::getGainWidth(), CastorDbService::getPedestal(), CastorDbService::getPedestalWidth(), CastorSimpleReconstructor::produce(), and RecHitCorrector::produce().
|
private |
Definition at line 149 of file CastorCondObjectContainer.h.
References HcalCastorDetId::module(), HcalCastorDetId::sector(), HcalCastorDetId::zside(), and ecaldqm::zside().
Referenced by CastorCondObjectContainer< Item >::addValues(), CastorCondObjectContainer< Item >::getValues(), and CastorCondObjectContainer< CastorQIECoder >::myname().
|
private |
Definition at line 62 of file CastorCondObjectContainer.h.
References CastorCondObjectContainer< Item >::CASTORcontainer, mps_fire::i, and HcalCastorDetId::kSizeForDenseIndexing.
Referenced by CastorCondObjectContainer< Item >::addValues(), and CastorCondObjectContainer< CastorQIECoder >::myname().
|
inline |
Definition at line 38 of file CastorCondObjectContainer.h.
Referenced by CastorCondObjectContainer< Item >::addValues(), and CastorCondObjectContainer< Item >::getValues().
|
private |
|
friend |
Definition at line 46 of file CastorCondObjectContainer.h.
|
friend |
Definition at line 46 of file CastorCondObjectContainer.h.
|
private |