#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) |
cond::persistency::Session & | dbSession () const |
Protected Attributes inherited from popcon::PopConSourceHandler< EcalLaserAPDPNRatios > | |
OldContainer | m_to_transfer |
std::string | m_userTextLog |
Definition at line 51 of file EcalLaserHandler.h.
|
override |
Definition at line 35 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 57 of file EcalLaserHandler.cc.
References change_name::diff, ecalpyutils::hashedIndex(), EcalLaserAPDPNRatios::EcalLaserAPDPNpair::p1, EcalLaserAPDPNRatios::EcalLaserAPDPNpair::p2, EcalLaserAPDPNRatios::EcalLaserAPDPNpair::p3, and runTheMatrix::ret.
bool popcon::EcalLaserHandler::checkAPDPNs | ( | const EcalLaserAPDPNRatios::EcalLaserAPDPNRatiosMap & | laserMap, |
const EcalLaserAPDPNRatios::EcalLaserAPDPNRatiosMap & | apdpns_popcon | ||
) |
Definition at line 76 of file EcalLaserHandler.cc.
References EcalCondObjectContainer< T >::barrel(), EcalCondObjectContainer< T >::endcap(), ecalpyutils::hashedIndex(), and runTheMatrix::ret.
double popcon::EcalLaserHandler::diff | ( | float | x, |
float | old_x | ||
) |
Definition at line 39 of file EcalLaserHandler.cc.
References a, funct::abs(), and b.
void popcon::EcalLaserHandler::dumpBarrelPayload | ( | EcalLaserAPDPNRatios::EcalLaserAPDPNRatiosMap const & | laserMap | ) |
Definition at line 92 of file EcalLaserHandler.cc.
References EcalCondObjectContainer< T >::barrelItems(), HltBtagPostValidation_cff::c, beam_dqm_sourceclient-live_cfg::cerr, gather_cfg::cout, MillePedeFileConverter_cfg::e, test_db_connect::econn, Exception, alignBH_cfg::fixed, mps_fire::i, EBDetId::ieta(), EBDetId::iphi(), EcalLogicID::NULLID, and EBDetId::unhashIndex().
void popcon::EcalLaserHandler::dumpEndcapPayload | ( | EcalLaserAPDPNRatios::EcalLaserAPDPNRatiosMap const & | laserMap | ) |
Definition at line 123 of file EcalLaserHandler.cc.
References HltBtagPostValidation_cff::c, beam_dqm_sourceclient-live_cfg::cerr, gather_cfg::cout, MillePedeFileConverter_cfg::e, test_db_connect::econn, EcalCondObjectContainer< T >::endcapItems(), Exception, alignBH_cfg::fixed, mps_fire::i, EEDetId::ix(), EEDetId::iy(), EEDetId::unhashIndex(), and EEDetId::zside().
|
overridevirtual |
Implements popcon::PopConSourceHandler< EcalLaserAPDPNRatios >.
Definition at line 154 of file EcalLaserHandler.cc.
References beam_dqm_sourceclient-live_cfg::cerr, Tm::cmsNanoSeconds(), KineDebug3::count(), gather_cfg::cout, ztail::d, data, MillePedeFileConverter_cfg::e, test_db_connect::econn, Exception, ecalpyutils::hashedIndex(), mps_fire::i, L1TowerCalibrationProducer_cfi::iEta, EcalLogicID::NULLID, EcalLaserAPDPNRatios::EcalLaserAPDPNpair::p1, EcalLaserAPDPNRatios::EcalLaserAPDPNpair::p2, EcalLaserAPDPNRatios::EcalLaserAPDPNpair::p3, jets_cff::payload, EcalLaserAPDPNRatios::setTime(), EcalLaserAPDPNRatios::setValue(), EcalCondObjectContainer< T >::size(), contentValuesCheck::ss, EcalLaserAPDPNRatios::EcalLaserTimeStamp::t1, EcalLaserAPDPNRatios::EcalLaserTimeStamp::t2, EcalLaserAPDPNRatios::EcalLaserTimeStamp::t3, dumpRecoGeometry_cfg::tagInfo, cond::timestamp, tmax, muonTiming_cfi::tmin, and edm::Timestamp::value().
|
inlineoverridevirtual |
Implements popcon::PopConSourceHandler< EcalLaserAPDPNRatios >.
Definition at line 59 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 41 of file EcalLaserHandler.cc.
References gather_cfg::cout, ecalpyutils::hashedIndex(), EcalLaserAPDPNRatios::EcalLaserAPDPNpair::p1, EcalLaserAPDPNRatios::EcalLaserAPDPNpair::p2, EcalLaserAPDPNRatios::EcalLaserAPDPNpair::p3, PixelMapPlotter::reason, EBDetId::unhashIndex(), and EEDetId::unhashIndex().
EcalCondDBInterface* popcon::EcalLaserHandler::econn |
Definition at line 58 of file EcalLaserHandler.h.
|
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 80 of file EcalLaserHandler.h.
Referenced by EcalLaserHandler().
|
private |
Definition at line 79 of file EcalLaserHandler.h.
Referenced by id().
|
private |
Definition at line 78 of file EcalLaserHandler.h.
Referenced by EcalLaserHandler().
|
private |
Definition at line 75 of file EcalLaserHandler.h.
Referenced by EcalLaserHandler().
|
private |
Definition at line 76 of file EcalLaserHandler.h.
Referenced by EcalLaserHandler().
|
private |
Definition at line 77 of file EcalLaserHandler.h.
Referenced by EcalLaserHandler().
|
private |
Definition at line 74 of file EcalLaserHandler.h.