#include <StoreESCondition.h>
Private Member Functions | |
void | fillHeader (char *) |
std::string | to_string (char value[]) |
Private Attributes | |
unsigned int | esgain_ |
std::vector< std::string > | inpFileName_ |
std::vector< std::string > | inpFileNameEE_ |
std::string | logfile_ |
std::vector< std::string > | objectName_ |
std::string | prog_name_ |
std::vector< unsigned long long > | since_ |
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 31 of file StoreESCondition.h.
|
explicit |
Definition at line 17 of file StoreESCondition.cc.
References esgain_, edm::ParameterSet::getParameter(), inpFileName_, logfile_, objectName_, prog_name_, since_, AlCaHLTBitMon_QueryRunRegistry::string, and convertXMLtoSQLite_cfg::toPut.
|
override |
Definition at line 152 of file StoreESCondition.cc.
|
overridevirtual |
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 33 of file StoreESCondition.cc.
References cond::service::PoolDBOutputService::appendOneIOV(), cond::service::PoolDBOutputService::beginOfTime(), cond::service::PoolDBOutputService::createOneIOV(), mps_fire::i, inpFileName_, edm::Service< T >::isAvailable(), cond::service::PoolDBOutputService::isNewTagRequest(), objectName_, readESChannelStatusFromFile(), readESEEIntercalibConstantsFromFile(), readESGainFromFile(), readESIntercalibConstantsFromFile(), readESMissingEnergyFromFile(), readESPedestalsFromFile(), readESRecHitRatioCutsFromFile(), readESThresholdsFromFile(), readESTimeSampleWeightsFromFile(), since_, AlCaHLTBitMon_QueryRunRegistry::string, and writeToLogFileResults().
|
private |
Definition at line 190 of file StoreESCondition.cc.
References RecoTauValidation_cfi::header, hcalRecHitTable_cff::time, and SiStripO2O_cfg_template::user.
Referenced by writeToLogFile(), and writeToLogFileResults().
std::shared_ptr< ESChannelStatus > StoreESCondition::readESChannelStatusFromFile | ( | const char * | inputFile | ) |
Definition at line 381 of file StoreESCondition.cc.
References beamvalidation::exit(), contentValuesFiles::fullPath, mps_fire::i, makeListRunsInFiles::inputFile, ESDetId::ISTRIP_MAX, ESDetId::ISTRIP_MIN, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::ix(), ESDetId::IX_MAX, ESDetId::IX_MIN, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::iy(), ESDetId::IY_MAX, ESDetId::IY_MIN, AlCaHLTBitMon_ParallelJobs::p, mps_update::status, ESDetId::validDetId(), x, y, and z.
Referenced by endJob().
std::shared_ptr< ESEEIntercalibConstants > StoreESCondition::readESEEIntercalibConstantsFromFile | ( | const char * | inputFile | ) |
Definition at line 211 of file StoreESCondition.cc.
References contentValuesFiles::fullPath, and makeListRunsInFiles::inputFile.
Referenced by endJob().
std::shared_ptr< ESGain > StoreESCondition::readESGainFromFile | ( | const char * | inputFile | ) |
Definition at line 327 of file StoreESCondition.cc.
References contentValuesFiles::fullPath, Hcal_Conditions_forGlobalTag_cff::gain, and makeListRunsInFiles::inputFile.
Referenced by endJob().
std::shared_ptr< ESIntercalibConstants > StoreESCondition::readESIntercalibConstantsFromFile | ( | const char * | inputFile | ) |
Definition at line 353 of file StoreESCondition.cc.
References esgain_, contentValuesFiles::fullPath, mps_fire::i, makeListRunsInFiles::inputFile, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::ix(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::iy(), DetId::rawId(), and ESDetId::validDetId().
Referenced by endJob().
std::shared_ptr< ESMissingEnergyCalibration > StoreESCondition::readESMissingEnergyFromFile | ( | const char * | inputFile | ) |
Definition at line 251 of file StoreESCondition.cc.
References contentValuesFiles::fullPath, and makeListRunsInFiles::inputFile.
Referenced by endJob().
std::shared_ptr< ESPedestals > StoreESCondition::readESPedestalsFromFile | ( | const char * | inputFile | ) |
Definition at line 268 of file StoreESCondition.cc.
References contentValuesFiles::fullPath, mps_fire::i, makeListRunsInFiles::inputFile, ESDetId::ISTRIP_MAX, ESDetId::ISTRIP_MIN, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::ix(), ESDetId::IX_MAX, ESDetId::IX_MIN, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::iy(), ESDetId::IY_MAX, ESDetId::IY_MIN, ESDetId::IZ_NUM, ESPedestal::mean, QIE10Task_cfi::ped, ESDetId::PLANE_MAX, ESDetId::PLANE_MIN, DetId::rawId(), ESPedestal::rms, ESDetId::validDetId(), and ecaldqm::zside().
Referenced by endJob().
std::shared_ptr< ESRecHitRatioCuts > StoreESCondition::readESRecHitRatioCutsFromFile | ( | const char * | inputFile | ) |
Definition at line 314 of file StoreESCondition.cc.
References contentValuesFiles::fullPath, and makeListRunsInFiles::inputFile.
Referenced by endJob().
std::shared_ptr< ESThresholds > StoreESCondition::readESThresholdsFromFile | ( | const char * | inputFile | ) |
Definition at line 201 of file StoreESCondition.cc.
References contentValuesFiles::fullPath, and makeListRunsInFiles::inputFile.
Referenced by endJob().
std::shared_ptr< ESTimeSampleWeights > StoreESCondition::readESTimeSampleWeightsFromFile | ( | const char * | inputFile | ) |
Definition at line 338 of file StoreESCondition.cc.
References contentValuesFiles::fullPath, makeListRunsInFiles::inputFile, isotrackApplyRegressor::k, w(), and ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::ww.
Referenced by endJob().
|
inlineprivate |
void StoreESCondition::writeToLogFile | ( | std::string | , |
std::string | , | ||
unsigned long | long | ||
) |
Definition at line 156 of file StoreESCondition.cc.
References fillHeader(), RecoTauValidation_cfi::header, logfile_, produceTPGParameters_beamv6_transparency_spikekill_2016_script::outFile, and SiStripO2O_cfg_template::since.
void StoreESCondition::writeToLogFileResults | ( | char * | arg | ) |
Definition at line 177 of file StoreESCondition.cc.
References fillHeader(), RecoTauValidation_cfi::header, logfile_, and produceTPGParameters_beamv6_transparency_spikekill_2016_script::outFile.
Referenced by endJob().
|
private |
Definition at line 61 of file StoreESCondition.h.
Referenced by readESIntercalibConstantsFromFile(), and StoreESCondition().
|
private |
Definition at line 55 of file StoreESCondition.h.
Referenced by endJob(), and StoreESCondition().
|
private |
Definition at line 56 of file StoreESCondition.h.
|
private |
Definition at line 59 of file StoreESCondition.h.
Referenced by StoreESCondition(), writeToLogFile(), and writeToLogFileResults().
|
private |
Definition at line 54 of file StoreESCondition.h.
Referenced by endJob(), and StoreESCondition().
|
private |
Definition at line 57 of file StoreESCondition.h.
Referenced by StoreESCondition().
|
private |
Definition at line 58 of file StoreESCondition.h.
Referenced by endJob(), and StoreESCondition().