#include <EcalPedestalsHandler.h>
Public Member Functions | |
bool | checkPedestal (EcalPedestals::Item *item) |
EcalPedestalsHandler (edm::ParameterSet const &) | |
void | getNewObjects () |
void | getNewObjectsH2 () |
void | getNewObjectsP5 () |
std::string | id () const |
~EcalPedestalsHandler () | |
Public Member Functions inherited from popcon::PopConSourceHandler< EcalPedestals > | |
void | convertFromOld () |
Summary * | dummySummary (typename OldContainer::value_type const &) const |
void | initialize (const cond::persistency::Session &dbSession, cond::TagInfo_t const &tagInfo, cond::LogDBEntry_t const &logDBEntry) |
Ref | lastPayload () const |
cond::LogDBEntry_t const & | logDBEntry () const |
std::pair< Container const *, std::string const > | operator() (const cond::persistency::Session &session, cond::TagInfo_t const &tagInfo, cond::LogDBEntry_t const &logDBEntry) const |
PopConSourceHandler () | |
Container const & | returnData () |
void | sort () |
cond::TagInfo_t const & | tagInfo () const |
std::string const & | userTextLog () const |
virtual | ~PopConSourceHandler () |
Public Attributes | |
EcalCondDBInterface * | econn |
Private Attributes | |
unsigned int | m_firstRun |
std::string | m_gentag |
unsigned int | m_lastRun |
std::string | m_location |
std::string | m_locationsource |
std::string | m_name |
std::string | m_pass |
std::string | m_sid |
std::string | m_user |
const EcalPedestals * | mypedestals |
Additional Inherited Members | |
Public Types inherited from popcon::PopConSourceHandler< EcalPedestals > | |
typedef std::vector< Triplet > | Container |
typedef std::vector< std::pair < EcalPedestals *, cond::Time_t > > | OldContainer |
typedef PopConSourceHandler < EcalPedestals > | self |
typedef cond::Summary | Summary |
typedef cond::Time_t | Time_t |
typedef EcalPedestals | value_type |
Protected Member Functions inherited from popcon::PopConSourceHandler< EcalPedestals > | |
int | add (value_type *payload, Summary *summary, Time_t time) |
Protected Attributes inherited from popcon::PopConSourceHandler< EcalPedestals > | |
OldContainer | m_to_transfer |
std::string | m_userTextLog |
Definition at line 55 of file EcalPedestalsHandler.h.
popcon::EcalPedestalsHandler::EcalPedestalsHandler | ( | edm::ParameterSet const & | ps | ) |
Definition at line 8 of file EcalPedestalsHandler.cc.
References gather_cfg::cout, edm::ParameterSet::getParameter(), m_firstRun, m_gentag, m_lastRun, m_location, m_locationsource, m_pass, m_sid, m_user, and AlCaHLTBitMon_QueryRunRegistry::string.
popcon::EcalPedestalsHandler::~EcalPedestalsHandler | ( | ) |
Definition at line 26 of file EcalPedestalsHandler.cc.
bool popcon::EcalPedestalsHandler::checkPedestal | ( | EcalPedestals::Item * | item | ) |
Definition at line 44 of file EcalPedestalsHandler.cc.
References EcalPedestal::mean_x1, EcalPedestal::mean_x12, EcalPedestal::mean_x6, query::result, EcalPedestal::rms_x1, EcalPedestal::rms_x12, and EcalPedestal::rms_x6.
|
virtual |
Implements popcon::PopConSourceHandler< EcalPedestals >.
Definition at line 31 of file EcalPedestalsHandler.cc.
References gather_cfg::cout.
void popcon::EcalPedestalsHandler::getNewObjectsH2 | ( | ) |
Definition at line 451 of file EcalPedestalsHandler.cc.
References gather_cfg::cout, EcalCondObjectContainer< T >::endcap(), edm::hlt::Exception, EcalLogicID::getID2(), MonPedestalsDat::getPedMeanG1(), MonPedestalsDat::getPedMeanG12(), MonPedestalsDat::getPedMeanG6(), MonPedestalsDat::getPedRMSG1(), MonPedestalsDat::getPedRMSG12(), MonPedestalsDat::getPedRMSG6(), MonRunList::getRuns(), EEDetId::hashedIndex(), EcalCondObjectContainer< T >::insert(), EcalPedestal::mean_x1, EcalPedestal::mean_x12, EcalPedestal::mean_x6, AlCaHLTBitMon_ParallelJobs::p, DetId::rawId(), EcalPedestal::rms_x1, EcalPedestal::rms_x12, EcalPedestal::rms_x6, RunTag::setGeneralTag(), MonRunTag::setGeneralTag(), LocationDef::setLocation(), RunTag::setLocationDef(), MonVersionDef::setMonitoringVersion(), MonRunList::setMonRunTag(), MonRunTag::setMonVersionDef(), MonRunList::setRunTag(), RunTypeDef::setRunType(), RunTag::setRunTypeDef(), and EEDetId::validDetId().
void popcon::EcalPedestalsHandler::getNewObjectsP5 | ( | ) |
Definition at line 56 of file EcalPedestalsHandler.cc.
References EcalCondObjectContainer< T >::barrel(), gather_cfg::cout, EcalCondObjectContainer< T >::endcap(), EBDetId::ETAPHIMODE, edm::hlt::Exception, EcalLogicID::getID1(), EcalLogicID::getID2(), EcalLogicID::getID3(), EcalLogicID::getName(), MonPedestalsDat::getPedMeanG1(), MonPedestalsDat::getPedMeanG12(), MonPedestalsDat::getPedMeanG6(), MonPedestalsDat::getPedRMSG1(), MonPedestalsDat::getPedRMSG12(), MonPedestalsDat::getPedRMSG6(), MonRunList::getRuns(), EBDetId::hashedIndex(), EEDetId::hashedIndex(), EcalCondObjectContainer< T >::insert(), EEDetId::IX_MAX, EEDetId::IX_MIN, EEDetId::IY_MAX, EEDetId::IY_MIN, EBDetId::MAX_IETA, EBDetId::MAX_IPHI, EcalPedestal::mean_x1, EcalPedestal::mean_x12, EcalPedestal::mean_x6, bookConverter::min, EBDetId::MIN_IPHI, AlCaHLTBitMon_ParallelJobs::p, DetId::rawId(), EcalPedestal::rms_x1, EcalPedestal::rms_x12, EcalPedestal::rms_x6, RunTag::setGeneralTag(), MonRunTag::setGeneralTag(), LocationDef::setLocation(), RunTag::setLocationDef(), MonVersionDef::setMonitoringVersion(), MonRunList::setMonRunTag(), MonRunTag::setMonVersionDef(), MonRunList::setRunTag(), RunTypeDef::setRunType(), RunTag::setRunTypeDef(), EBDetId::SMCRYSTALMODE, EBDetId::validDetId(), EEDetId::validDetId(), and x.
|
inlinevirtual |
Implements popcon::PopConSourceHandler< EcalPedestals >.
Definition at line 65 of file EcalPedestalsHandler.h.
References m_name.
EcalCondDBInterface* popcon::EcalPedestalsHandler::econn |
Definition at line 66 of file EcalPedestalsHandler.h.
|
private |
Definition at line 71 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler().
|
private |
Definition at line 75 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler().
|
private |
Definition at line 72 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler().
|
private |
Definition at line 74 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler().
|
private |
Definition at line 79 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler().
|
private |
Definition at line 80 of file EcalPedestalsHandler.h.
Referenced by id().
|
private |
Definition at line 78 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler().
|
private |
Definition at line 76 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler().
|
private |
Definition at line 77 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler().
|
private |
Definition at line 69 of file EcalPedestalsHandler.h.