#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::map< Time_t, std::shared_ptr< EcalLaserAPDPNRatios > > | Container |
typedef std::unique_ptr< EcalLaserAPDPNRatios > | Ref |
typedef PopConSourceHandler< EcalLaserAPDPNRatios > | self |
typedef cond::Time_t | Time_t |
typedef EcalLaserAPDPNRatios | value_type |
Protected Member Functions inherited from popcon::PopConSourceHandler< EcalLaserAPDPNRatios > | |
cond::persistency::Session & | dbSession () const |
Protected Attributes inherited from popcon::PopConSourceHandler< EcalLaserAPDPNRatios > | |
Container | m_iovs |
std::vector< std::pair< EcalLaserAPDPNRatios *, Time_t > > | 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 | ||
) |
void popcon::EcalLaserHandler::dumpBarrelPayload | ( | EcalLaserAPDPNRatios::EcalLaserAPDPNRatiosMap const & | laserMap | ) |
Definition at line 92 of file EcalLaserHandler.cc.
References EcalCondObjectContainer< T >::barrelItems(), HltBtagPostValidation_cff::c, DMR_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, DMR_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 DMR_cfg::cerr, Tm::cmsNanoSeconds(), submitPVResolutionJobs::count, gather_cfg::cout, ztail::d, data, MillePedeFileConverter_cfg::e, test_db_connect::econn, Exception, ecalpyutils::hashedIndex(), mps_fire::i, l1tPhase2CaloJetEmulator_cfi::iEta, EcalLogicID::NULLID, EcalLaserAPDPNRatios::EcalLaserAPDPNpair::p1, EcalLaserAPDPNRatios::EcalLaserAPDPNpair::p2, EcalLaserAPDPNRatios::EcalLaserAPDPNpair::p3, jetsAK4_Puppi_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.