#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::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsInputProcessBlocks () |
static bool | wantsProcessBlocks () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
Definition at line 40 of file EcalTestDevDB.h.
|
explicit |
Definition at line 25 of file EcalTestDevDB.cc.
References edm::ParameterSet::getParameter(), mps_fire::i, m_cacheIDs, m_firstRun, m_interval, m_lastRun, m_records, GlobalPosition_Frontier_DevDB_cff::record, AlCaHLTBitMon_QueryRunRegistry::string, and GlobalPosition_Frontier_DevDB_cff::tag.
|
override |
Definition at line 45 of file EcalTestDevDB.cc.
|
overridevirtual |
Implements edm::EDAnalyzer.
Definition at line 47 of file EcalTestDevDB.cc.
References cond::service::PoolDBOutputService::appendSinceTime(), cond::service::PoolDBOutputService::beginOfTime(), gather_cfg::cout, cond::service::PoolDBOutputService::createNewIOV(), edm::IOVSyncValue::endOfTime(), cond::service::PoolDBOutputService::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, GlobalPosition_Frontier_DevDB_cff::record, align_cfg::recordName, edm::EventID::run(), and AlCaHLTBitMon_QueryRunRegistry::string.
EcalADCToGeVConstant * EcalTestDevDB::generateEcalADCToGeVConstant | ( | ) |
Definition at line 242 of file EcalTestDevDB.cc.
References alignCSCRings::r.
Referenced by analyze().
EcalGainRatios * EcalTestDevDB::generateEcalGainRatios | ( | ) |
Definition at line 331 of file EcalTestDevDB.cc.
References LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, EBDetId::MAX_IETA, EBDetId::MAX_IPHI, EBDetId::MIN_IPHI, alignCSCRings::r, DetId::rawId(), EcalMGPAGainRatio::setGain12Over6(), EcalMGPAGainRatio::setGain6Over1(), and EcalCondObjectContainer< T >::setValue().
Referenced by analyze().
EcalIntercalibConstants * EcalTestDevDB::generateEcalIntercalibConstants | ( | ) |
Definition at line 251 of file EcalTestDevDB.cc.
References LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, EBDetId::MAX_IETA, EBDetId::MAX_IPHI, EBDetId::MIN_IPHI, alignCSCRings::r, DetId::rawId(), and EcalCondObjectContainer< T >::setValue().
Referenced by analyze().
EcalLaserAlphas * EcalTestDevDB::generateEcalLaserAlphas | ( | ) |
Definition at line 630 of file EcalTestDevDB.cc.
References VtxSmearedParameters_cfi::Alpha, EBDetId::hashedIndex(), EEDetId::hashedIndex(), L1TowerCalibrationProducer_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().
EcalLaserAPDPNRatios * EcalTestDevDB::generateEcalLaserAPDPNRatios | ( | uint32_t | i_run | ) |
Definition at line 421 of file EcalTestDevDB.cc.
References gather_cfg::cout, JetChargeProducer_cfi::exp, EBDetId::hashedIndex(), EEDetId::hashedIndex(), mps_fire::i, L1TowerCalibrationProducer_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::EcalLaserAPDPNpair::p1, EcalLaserAPDPNRatios::EcalLaserAPDPNpair::p2, EcalLaserAPDPNRatios::EcalLaserAPDPNpair::p3, EcalLaserAPDPNRatios::EcalLaserTimeStamp::t1, EcalLaserAPDPNRatios::EcalLaserTimeStamp::t2, and EEDetId::validDetId().
Referenced by analyze().
EcalLaserAPDPNRatiosRef * EcalTestDevDB::generateEcalLaserAPDPNRatiosRef | ( | ) |
Definition at line 573 of file EcalTestDevDB.cc.
References EBDetId::hashedIndex(), EEDetId::hashedIndex(), L1TowerCalibrationProducer_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().
EcalLinearCorrections * EcalTestDevDB::generateEcalLinearCorrections | ( | ) |
Definition at line 270 of file EcalTestDevDB.cc.
References edm::Timestamp::endOfTime(), mps_fire::i, LEDCalibrationChannels::ieta, LEDCalibrationChannels::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::setTime(), EcalTimeDependentCorrections::setValue(), EcalTimeDependentCorrections::Times::t1, EcalTimeDependentCorrections::Times::t2, EcalTimeDependentCorrections::Times::t3, EBDetId::validDetId(), EEDetId::validDetId(), and relativeConstraints::value.
Referenced by analyze().
EcalPedestals * EcalTestDevDB::generateEcalPedestals | ( | ) |
Definition at line 218 of file EcalTestDevDB.cc.
References L1TowerCalibrationProducer_cfi::iEta, EcalCondObjectContainer< T >::insert(), B2GTnPMonitor_cfi::item, EBDetId::MAX_IETA, EBDetId::MAX_IPHI, EBDetId::MIN_IPHI, and DetId::rawId().
Referenced by analyze().
EcalTBWeights * EcalTestDevDB::generateEcalTBWeights | ( | ) |
Definition at line 373 of file EcalTestDevDB.cc.
References EcalWeightSet::getChi2WeightsAfterGainSwitch(), EcalWeightSet::getChi2WeightsBeforeGainSwitch(), EcalWeightSet::getWeightsAfterGainSwitch(), EcalWeightSet::getWeightsBeforeGainSwitch(), mps_fire::i, dqmiolumiharvest::j, EBDetId::MAX_IETA, alignCSCRings::r, and EcalTBWeights::setValue().
Referenced by analyze().
EcalWeightXtalGroups * EcalTestDevDB::generateEcalWeightXtalGroups | ( | ) |
Definition at line 357 of file EcalTestDevDB.cc.
References LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, EBDetId::MAX_IETA, EBDetId::MAX_IPHI, EBDetId::MIN_IPHI, DetId::rawId(), and EcalCondObjectContainer< T >::setValue().
Referenced by analyze().
|
private |
Definition at line 60 of file EcalTestDevDB.h.
Referenced by EcalTestDevDB().
|
private |
Definition at line 62 of file EcalTestDevDB.h.
Referenced by analyze(), EcalTestDevDB(), and generateEcalLaserAPDPNRatios().
|
private |
Definition at line 64 of file EcalTestDevDB.h.
Referenced by analyze(), and EcalTestDevDB().
|
private |
Definition at line 63 of file EcalTestDevDB.h.
Referenced by analyze(), EcalTestDevDB(), and generateEcalLaserAPDPNRatios().
|
private |
Definition at line 61 of file EcalTestDevDB.h.
Referenced by analyze(), and EcalTestDevDB().
|
private |
Definition at line 59 of file EcalTestDevDB.h.