#include <EcalTestDevDB.h>
Private Attributes | |
std::map< std::string, unsigned long long > | m_cacheIDs |
unsigned long | m_firstRun |
unsigned int | m_interval |
unsigned long | m_lastRun |
std::map< std::string, std::string > | m_records |
std::string | m_timetype |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
void | resetItemsToGetFrom (BranchType iType) |
Definition at line 41 of file EcalTestDevDB.h.
|
explicit |
Definition at line 24 of file EcalTestDevDB.cc.
References edm::ParameterSet::getParameter(), mps_fire::i, m_cacheIDs, m_firstRun, m_interval, m_lastRun, m_records, AlCaHarvesting_cff::record, AlCaHLTBitMon_QueryRunRegistry::string, and makeGlobalPositionRcd_cfg::tag.
|
override |
Definition at line 44 of file EcalTestDevDB.cc.
|
overridevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 46 of file EcalTestDevDB.cc.
References cond::service::PoolDBOutputService::appendOneIOV(), cond::service::PoolDBOutputService::beginOfTime(), cond::service::PoolDBOutputService::createOneIOV(), edm::IOVSyncValue::endOfTime(), edm::IOVSyncValue::eventID(), Exception, generateEcalADCToGeVConstant(), generateEcalGainRatios(), generateEcalIntercalibConstants(), generateEcalLaserAlphas(), generateEcalLaserAPDPNRatios(), generateEcalLaserAPDPNRatiosRef(), generateEcalLinearCorrections(), generateEcalPedestals(), generateEcalTBWeights(), generateEcalWeightXtalGroups(), mps_fire::i, edm::Service< T >::isAvailable(), cond::service::PoolDBOutputService::isNewTagRequest(), m_firstRun, m_interval, m_lastRun, m_records, AlCaHarvesting_cff::record, align_cfg::recordName, edm::EventID::run(), and AlCaHLTBitMon_QueryRunRegistry::string.
std::shared_ptr< EcalADCToGeVConstant > EcalTestDevDB::generateEcalADCToGeVConstant | ( | ) |
Definition at line 230 of file EcalTestDevDB.cc.
References alignCSCRings::r.
Referenced by analyze().
std::shared_ptr< EcalGainRatios > EcalTestDevDB::generateEcalGainRatios | ( | ) |
Definition at line 319 of file EcalTestDevDB.cc.
References hcalRecHitTable_cff::ieta, hcalRecHitTable_cff::iphi, EBDetId::MAX_IETA, EBDetId::MAX_IPHI, EBDetId::MIN_IPHI, alignCSCRings::r, DetId::rawId(), EcalMGPAGainRatio::setGain12Over6(), and EcalMGPAGainRatio::setGain6Over1().
Referenced by analyze().
std::shared_ptr< EcalIntercalibConstants > EcalTestDevDB::generateEcalIntercalibConstants | ( | ) |
Definition at line 239 of file EcalTestDevDB.cc.
References hcalRecHitTable_cff::ieta, hcalRecHitTable_cff::iphi, EBDetId::MAX_IETA, EBDetId::MAX_IPHI, EBDetId::MIN_IPHI, alignCSCRings::r, and DetId::rawId().
Referenced by analyze().
std::shared_ptr< EcalLaserAlphas > EcalTestDevDB::generateEcalLaserAlphas | ( | ) |
Definition at line 613 of file EcalTestDevDB.cc.
References VtxSmearedParameters_cfi::Alpha, EBDetId::hashedIndex(), EEDetId::hashedIndex(), l1tTowerCalibrationProducer_cfi::iEta, EEDetId::IX_MAX, EEDetId::IX_MIN, EEDetId::IY_MAX, EEDetId::IY_MIN, EcalCondDBWriter_cfi::laser, EBDetId::MAX_HASH, EBDetId::MAX_IETA, EBDetId::MAX_IPHI, EBDetId::MIN_IPHI, and EEDetId::validDetId().
Referenced by analyze().
std::shared_ptr< EcalLaserAPDPNRatios > EcalTestDevDB::generateEcalLaserAPDPNRatios | ( | uint32_t | i_run | ) |
Definition at line 408 of file EcalTestDevDB.cc.
References JetChargeProducer_cfi::exp, EBDetId::hashedIndex(), EEDetId::hashedIndex(), mps_fire::i, l1tTowerCalibrationProducer_cfi::iEta, EEDetId::IX_MAX, EEDetId::IX_MIN, EEDetId::IY_MAX, EEDetId::IY_MIN, EcalCondDBWriter_cfi::laser, dqm-mbProfile::log, m_firstRun, m_lastRun, EBDetId::MAX_HASH, EBDetId::MAX_IETA, EBDetId::MAX_IPHI, EBDetId::MIN_IPHI, EcalLaserAPDPNRatios::EcalLaserTimeStamp::t1, EcalLaserAPDPNRatios::EcalLaserTimeStamp::t2, and EEDetId::validDetId().
Referenced by analyze().
std::shared_ptr< EcalLaserAPDPNRatiosRef > EcalTestDevDB::generateEcalLaserAPDPNRatiosRef | ( | ) |
Definition at line 556 of file EcalTestDevDB.cc.
References EBDetId::hashedIndex(), EEDetId::hashedIndex(), l1tTowerCalibrationProducer_cfi::iEta, EEDetId::IX_MAX, EEDetId::IX_MIN, EEDetId::IY_MAX, EEDetId::IY_MIN, EcalCondDBWriter_cfi::laser, EBDetId::MAX_HASH, EBDetId::MAX_IETA, EBDetId::MAX_IPHI, EBDetId::MIN_IPHI, and EEDetId::validDetId().
Referenced by analyze().
std::shared_ptr< EcalLinearCorrections > EcalTestDevDB::generateEcalLinearCorrections | ( | ) |
Definition at line 258 of file EcalTestDevDB.cc.
References edm::Timestamp::endOfTime(), mps_fire::i, hcalRecHitTable_cff::ieta, hcalRecHitTable_cff::iphi, EEDetId::IX_MAX, EEDetId::IX_MIN, EEDetId::IY_MAX, EEDetId::IY_MIN, EBDetId::MAX_IETA, EBDetId::MAX_IPHI, EBDetId::MIN_IPHI, EcalTimeDependentCorrections::Values::p1, EcalTimeDependentCorrections::Values::p2, EcalTimeDependentCorrections::Values::p3, EcalTimeDependentCorrections::Times::t1, EcalTimeDependentCorrections::Times::t2, EcalTimeDependentCorrections::Times::t3, EBDetId::validDetId(), EEDetId::validDetId(), and relativeConstraints::value.
Referenced by analyze().
std::shared_ptr< EcalPedestals > EcalTestDevDB::generateEcalPedestals | ( | ) |
Definition at line 206 of file EcalTestDevDB.cc.
References l1tTowerCalibrationProducer_cfi::iEta, B2GTnPMonitor_cfi::item, EBDetId::MAX_IETA, EBDetId::MAX_IPHI, EBDetId::MIN_IPHI, and DetId::rawId().
Referenced by analyze().
std::shared_ptr< EcalTBWeights > EcalTestDevDB::generateEcalTBWeights | ( | ) |
Definition at line 361 of file EcalTestDevDB.cc.
References EcalWeightSet::getChi2WeightsAfterGainSwitch(), EcalWeightSet::getChi2WeightsBeforeGainSwitch(), EcalWeightSet::getWeightsAfterGainSwitch(), EcalWeightSet::getWeightsBeforeGainSwitch(), mps_fire::i, dqmiolumiharvest::j, EBDetId::MAX_IETA, and alignCSCRings::r.
Referenced by analyze().
std::shared_ptr< EcalWeightXtalGroups > EcalTestDevDB::generateEcalWeightXtalGroups | ( | ) |
Definition at line 345 of file EcalTestDevDB.cc.
References hcalRecHitTable_cff::ieta, hcalRecHitTable_cff::iphi, EBDetId::MAX_IETA, EBDetId::MAX_IPHI, EBDetId::MIN_IPHI, and DetId::rawId().
Referenced by analyze().
|
private |
Definition at line 61 of file EcalTestDevDB.h.
Referenced by EcalTestDevDB().
|
private |
Definition at line 63 of file EcalTestDevDB.h.
Referenced by analyze(), EcalTestDevDB(), and generateEcalLaserAPDPNRatios().
|
private |
Definition at line 65 of file EcalTestDevDB.h.
Referenced by analyze(), and EcalTestDevDB().
|
private |
Definition at line 64 of file EcalTestDevDB.h.
Referenced by analyze(), EcalTestDevDB(), and generateEcalLaserAPDPNRatios().
|
private |
Definition at line 62 of file EcalTestDevDB.h.
Referenced by analyze(), and EcalTestDevDB().
|
private |
Definition at line 60 of file EcalTestDevDB.h.