#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) |
cond::persistency::Session & | dbSession () const |
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 & | ) |
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, mps_fire::result, EcalPedestal::rms_x1, EcalPedestal::rms_x12, and EcalPedestal::rms_x6.
Referenced by getNewObjectsP5().
|
virtual |
Implements popcon::PopConSourceHandler< EcalPedestals >.
Definition at line 31 of file EcalPedestalsHandler.cc.
References gather_cfg::cout, getNewObjectsH2(), getNewObjectsP5(), and m_locationsource.
void popcon::EcalPedestalsHandler::getNewObjectsH2 | ( | ) |
Definition at line 451 of file EcalPedestalsHandler.cc.
References gather_cfg::cout, econn, EcalCondObjectContainer< T >::endcap(), Exception, EcalCondDBInterface::fetchDataSet(), EcalCondDBInterface::fetchMonRunList(), EcalLogicID::getID2(), MonPedestalsDat::getPedMeanG1(), MonPedestalsDat::getPedMeanG12(), MonPedestalsDat::getPedMeanG6(), MonPedestalsDat::getPedRMSG1(), MonPedestalsDat::getPedRMSG12(), MonPedestalsDat::getPedRMSG6(), MonRunList::getRuns(), EEDetId::hashedIndex(), EcalCondObjectContainer< T >::insert(), cond::TagInfo_t::lastInterval, popcon::PopConSourceHandler< EcalPedestals >::lastPayload(), m_lastRun, m_pass, m_sid, popcon::PopConSourceHandler< EcalPedestals >::m_to_transfer, m_user, 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(), popcon::PopConSourceHandler< EcalPedestals >::tagInfo(), and EEDetId::validDetId().
Referenced by getNewObjects().
void popcon::EcalPedestalsHandler::getNewObjectsP5 | ( | ) |
Definition at line 56 of file EcalPedestalsHandler.cc.
References EcalCondObjectContainer< T >::barrel(), checkPedestal(), gather_cfg::cout, econn, EcalCondObjectContainer< T >::endcap(), EBDetId::ETAPHIMODE, Exception, EcalCondDBInterface::fetchDataSet(), EcalCondDBInterface::fetchMonRunList(), 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, cond::TagInfo_t::lastInterval, popcon::PopConSourceHandler< EcalPedestals >::lastPayload(), m_firstRun, m_gentag, m_lastRun, m_location, m_pass, m_sid, popcon::PopConSourceHandler< EcalPedestals >::m_to_transfer, m_user, popcon::PopConSourceHandler< EcalPedestals >::m_userTextLog, EBDetId::MAX_IETA, EBDetId::MAX_IPHI, EcalPedestal::mean_x1, EcalPedestal::mean_x12, EcalPedestal::mean_x6, 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, popcon::PopConSourceHandler< EcalPedestals >::tagInfo(), EBDetId::validDetId(), EEDetId::validDetId(), and x().
Referenced by getNewObjects().
|
inlinevirtual |
Implements popcon::PopConSourceHandler< EcalPedestals >.
Definition at line 65 of file EcalPedestalsHandler.h.
EcalCondDBInterface* popcon::EcalPedestalsHandler::econn |
Definition at line 66 of file EcalPedestalsHandler.h.
Referenced by getNewObjectsH2(), and getNewObjectsP5().
|
private |
Definition at line 71 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler(), and getNewObjectsP5().
|
private |
Definition at line 75 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler(), and getNewObjectsP5().
|
private |
Definition at line 72 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler(), getNewObjectsH2(), and getNewObjectsP5().
|
private |
Definition at line 74 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler(), and getNewObjectsP5().
|
private |
Definition at line 79 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler(), and getNewObjects().
|
private |
Definition at line 80 of file EcalPedestalsHandler.h.
|
private |
Definition at line 78 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler(), getNewObjectsH2(), and getNewObjectsP5().
|
private |
Definition at line 76 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler(), getNewObjectsH2(), and getNewObjectsP5().
|
private |
Definition at line 77 of file EcalPedestalsHandler.h.
Referenced by EcalPedestalsHandler(), getNewObjectsH2(), and getNewObjectsP5().
|
private |
Definition at line 69 of file EcalPedestalsHandler.h.