#include <EcalLaserHandler.h>
Public Attributes | |
EcalCondDBInterface * | econn |
Private Attributes | |
bool | m_debug |
bool | m_fake |
std::string | m_maxtime |
std::string | m_name |
std::string | m_pass |
unsigned long | m_sequences |
std::string | m_sid |
std::string | m_user |
const EcalLaserAPDPNRatios * | myapdpns |
Additional Inherited Members | |
Public Types inherited from popcon::PopConSourceHandler< EcalLaserAPDPNRatios > | |
typedef std::vector< Triplet > | Container |
typedef std::vector< std::pair < EcalLaserAPDPNRatios *, cond::Time_t > > | OldContainer |
typedef PopConSourceHandler < EcalLaserAPDPNRatios > | self |
typedef cond::Summary | Summary |
typedef cond::Time_t | Time_t |
typedef EcalLaserAPDPNRatios | value_type |
Protected Member Functions inherited from popcon::PopConSourceHandler< EcalLaserAPDPNRatios > | |
int | add (value_type *payload, Summary *summary, Time_t time) |
Protected Attributes inherited from popcon::PopConSourceHandler< EcalLaserAPDPNRatios > | |
OldContainer | m_to_transfer |
std::string | m_userTextLog |
Definition at line 55 of file EcalLaserHandler.h.
popcon::EcalLaserHandler::~EcalLaserHandler | ( | ) |
Definition at line 37 of file EcalLaserHandler.cc.
popcon::EcalLaserHandler::EcalLaserHandler | ( | edm::ParameterSet const & | ps | ) |
Definition at line 13 of file EcalLaserHandler.cc.
References gather_cfg::cout, edm::ParameterSet::getParameter(), m_debug, m_fake, m_maxtime, m_pass, m_sequences, m_sid, m_user, and AlCaHLTBitMon_QueryRunRegistry::string.
bool popcon::EcalLaserHandler::checkAPDPN | ( | const EcalLaserAPDPNRatios::EcalLaserAPDPNpair & | old, |
const EcalLaserAPDPNRatios::EcalLaserAPDPNpair & | current, | ||
int | hashedIndex | ||
) |
Definition at line 63 of file EcalLaserHandler.cc.
References diffTreeTool::diff, EcalLaserAPDPNRatios::EcalLaserAPDPNpair::p1, EcalLaserAPDPNRatios::EcalLaserAPDPNpair::p2, EcalLaserAPDPNRatios::EcalLaserAPDPNpair::p3, and run_regression::ret.
bool popcon::EcalLaserHandler::checkAPDPNs | ( | const EcalLaserAPDPNRatios::EcalLaserAPDPNRatiosMap & | laserMap, |
const EcalLaserAPDPNRatios::EcalLaserAPDPNRatiosMap & | apdpns_popcon | ||
) |
Definition at line 82 of file EcalLaserHandler.cc.
References EcalCondObjectContainer< T >::barrel(), cond::rpcobimon::current, EcalCondObjectContainer< T >::endcap(), ecalpyutils::hashedIndex(), and run_regression::ret.
double popcon::EcalLaserHandler::diff | ( | float | x, |
float | old_x | ||
) |
Definition at line 42 of file EcalLaserHandler.cc.
void popcon::EcalLaserHandler::dumpBarrelPayload | ( | EcalLaserAPDPNRatios::EcalLaserAPDPNRatiosMap const & | laserMap | ) |
Definition at line 98 of file EcalLaserHandler.cc.
References EcalCondObjectContainer< T >::barrelItems(), trackerHits::c, dtNoiseDBValidation_cfg::cerr, gather_cfg::cout, alignCSCRings::e, edm::hlt::Exception, EcalCondDBInterface::getEcalLogicID(), i, EBDetId::ieta(), EBDetId::iphi(), EcalLogicID::NULLID, and EBDetId::unhashIndex().
void popcon::EcalLaserHandler::dumpEndcapPayload | ( | EcalLaserAPDPNRatios::EcalLaserAPDPNRatiosMap const & | laserMap | ) |
Definition at line 126 of file EcalLaserHandler.cc.
References trackerHits::c, dtNoiseDBValidation_cfg::cerr, gather_cfg::cout, alignCSCRings::e, EcalCondObjectContainer< T >::endcapItems(), edm::hlt::Exception, EcalCondDBInterface::getEcalLogicID(), i, EEDetId::ix(), EEDetId::iy(), EEDetId::unhashIndex(), and EEDetId::zside().
|
virtual |
Implements popcon::PopConSourceHandler< EcalLaserAPDPNRatios >.
Definition at line 154 of file EcalLaserHandler.cc.
References dtNoiseDBValidation_cfg::cerr, Tm::cmsNanoSeconds(), prof2calltree::count, gather_cfg::cout, data, LMFCorrCoefDat::debug(), alignCSCRings::e, edm::hlt::Exception, LMFCorrCoefDat::getCorrections(), ecalpyutils::hashedIndex(), i, Tm::microsTime(), EcalLogicID::NULLID, EcalLaserAPDPNRatios::EcalLaserAPDPNpair::p1, EcalLaserAPDPNRatios::EcalLaserAPDPNpair::p2, EcalLaserAPDPNRatios::EcalLaserAPDPNpair::p3, EcalLaserAPDPNRatios::setTime(), Tm::setToCurrentLocalTime(), Tm::setToString(), EcalLaserAPDPNRatios::setValue(), EcalCondObjectContainer< T >::size(), Tm::str(), EcalLaserAPDPNRatios::EcalLaserTimeStamp::t1, EcalLaserAPDPNRatios::EcalLaserTimeStamp::t2, EcalLaserAPDPNRatios::EcalLaserTimeStamp::t3, cond::timestamp, tmax, and edm::Timestamp::value().
|
inlinevirtual |
Implements popcon::PopConSourceHandler< EcalLaserAPDPNRatios >.
Definition at line 65 of file EcalLaserHandler.h.
References m_name.
void popcon::EcalLaserHandler::notifyProblems | ( | const EcalLaserAPDPNRatios::EcalLaserAPDPNpair & | old, |
const EcalLaserAPDPNRatios::EcalLaserAPDPNpair & | current, | ||
int | hashedIndex, | ||
const std::string & | reason | ||
) |
Definition at line 46 of file EcalLaserHandler.cc.
References gather_cfg::cout, EcalLaserAPDPNRatios::EcalLaserAPDPNpair::p1, EcalLaserAPDPNRatios::EcalLaserAPDPNpair::p2, EcalLaserAPDPNRatios::EcalLaserAPDPNpair::p3, EBDetId::unhashIndex(), and EEDetId::unhashIndex().
EcalCondDBInterface* popcon::EcalLaserHandler::econn |
Definition at line 64 of file EcalLaserHandler.h.
|
private |
Definition at line 86 of file EcalLaserHandler.h.
Referenced by EcalLaserHandler().
|
private |
Definition at line 87 of file EcalLaserHandler.h.
Referenced by EcalLaserHandler().
|
private |
Definition at line 85 of file EcalLaserHandler.h.
Referenced by EcalLaserHandler().
|
private |
Definition at line 84 of file EcalLaserHandler.h.
Referenced by id().
|
private |
Definition at line 83 of file EcalLaserHandler.h.
Referenced by EcalLaserHandler().
|
private |
Definition at line 80 of file EcalLaserHandler.h.
Referenced by EcalLaserHandler().
|
private |
Definition at line 81 of file EcalLaserHandler.h.
Referenced by EcalLaserHandler().
|
private |
Definition at line 82 of file EcalLaserHandler.h.
Referenced by EcalLaserHandler().
|
private |
Definition at line 79 of file EcalLaserHandler.h.