#include <StoreEcalCondition.h>
Private Member Functions | |
void | fillHeader (char *) |
std::string | to_string (char value[]) |
Private Attributes | |
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_ |
int | sm_constr_ |
int | sm_slot_ |
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 39 of file StoreEcalCondition.h.
|
explicit |
Definition at line 18 of file StoreEcalCondition.cc.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), inpFileName_, inpFileNameEE_, logfile_, objectName_, prog_name_, since_, sm_constr_, sm_slot_, AlCaHLTBitMon_QueryRunRegistry::string, and convertXMLtoSQLite_cfg::toPut.
|
override |
Definition at line 138 of file StoreEcalCondition.cc.
|
overridevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 141 of file StoreEcalCondition.cc.
int StoreEcalCondition::convertFromConstructionSMToSlot | ( | int | sm_constr, |
int | sm_slot | ||
) |
Definition at line 896 of file StoreEcalCondition.cc.
References mps_fire::result.
Referenced by readEcalIntercalibConstantsFromFile(), and readEcalIntercalibConstantsMCFromFile().
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 36 of file StoreEcalCondition.cc.
References cond::service::PoolDBOutputService::appendOneIOV(), cond::service::PoolDBOutputService::beginOfTime(), cond::service::PoolDBOutputService::createOneIOV(), mps_fire::i, inpFileName_, inpFileNameEE_, edm::Service< T >::isAvailable(), cond::service::PoolDBOutputService::isNewTagRequest(), objectName_, readEcalADCToGeVConstantFromFile(), readEcalChannelStatusFromFile(), readEcalGainRatiosFromFile(), readEcalIntercalibConstantsFromFile(), readEcalIntercalibConstantsMCFromFile(), readEcalPFRecHitThresholdsFromFile(), readEcalTBWeightsFromFile(), readEcalWeightXtalGroupsFromFile(), since_, AlCaHLTBitMon_QueryRunRegistry::string, and writeToLogFileResults().
|
private |
Definition at line 192 of file StoreEcalCondition.cc.
References RecoTauValidation_cfi::header, hcalRecHitTable_cff::time, and EnviromentSettings::user.
Referenced by writeToLogFile(), and writeToLogFileResults().
std::shared_ptr< EcalADCToGeVConstant > StoreEcalCondition::readEcalADCToGeVConstantFromFile | ( | const char * | inputFile | ) |
Definition at line 450 of file StoreEcalCondition.cc.
References makeListRunsInFiles::inputFile, mps_splice::line, LogDebug, sm_constr_, str, and to_string().
Referenced by endJob().
std::shared_ptr< EcalChannelStatus > StoreEcalCondition::readEcalChannelStatusFromFile | ( | const char * | inputFile | ) |
Definition at line 1057 of file StoreEcalCondition.cc.
References Exception, ecalpyutils::hashedIndex(), hcalRecHitTable_cff::ieta, compare_using_db::ifile, makeListRunsInFiles::inputFile, hcalRecHitTable_cff::iphi, ecalpyutils::ism(), EEDetId::IX_MAX, EEDetId::IX_MIN, EEDetId::IY_MAX, EEDetId::IY_MIN, mps_splice::line, EBDetId::MAX_IETA, EBDetId::MAX_IPHI, EBDetId::MIN_IPHI, EBDetId::SMCRYSTALMODE, mps_update::status, AlCaHLTBitMon_QueryRunRegistry::string, EBDetId::unhashIndex(), EEDetId::unhashIndex(), EBDetId::validDetId(), and EEDetId::validDetId().
Referenced by endJob().
std::shared_ptr< EcalGainRatios > StoreEcalCondition::readEcalGainRatiosFromFile | ( | const char * | inputFile | ) |
Definition at line 916 of file StoreEcalCondition.cc.
References PVValHelper::eta, EBDetId::ETAPHIMODE, mps_fire::i, cuy::ii, makeListRunsInFiles::inputFile, EEDetId::IX_MAX, EEDetId::IX_MIN, EEDetId::IY_MAX, EEDetId::IY_MIN, mps_splice::line, phi, DetId::rawId(), EcalMGPAGainRatio::setGain12Over6(), EcalMGPAGainRatio::setGain6Over1(), sm_constr_, sm_slot_, EBDetId::SMCRYSTALMODE, str, to_string(), and EEDetId::validDetId().
Referenced by endJob().
std::shared_ptr< EcalIntercalibConstants > StoreEcalCondition::readEcalIntercalibConstantsFromFile | ( | const char * | inputFile, |
const char * | inputFileEE | ||
) |
Definition at line 578 of file StoreEcalCondition.cc.
References convertFromConstructionSMToSlot(), mps_fire::i, cuy::ii, makeListRunsInFiles::inputFile, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::ix(), EEDetId::IX_MAX, EEDetId::IX_MIN, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::iy(), EEDetId::IY_MAX, EEDetId::IY_MIN, mps_splice::line, DetId::rawId(), sm_constr_, EBDetId::SMCRYSTALMODE, str, to_string(), and EEDetId::validDetId().
Referenced by endJob().
std::shared_ptr< EcalIntercalibConstantsMC > StoreEcalCondition::readEcalIntercalibConstantsMCFromFile | ( | const char * | inputFile, |
const char * | inputFileEE | ||
) |
Definition at line 737 of file StoreEcalCondition.cc.
References convertFromConstructionSMToSlot(), mps_fire::i, cuy::ii, makeListRunsInFiles::inputFile, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::ix(), EEDetId::IX_MAX, EEDetId::IX_MIN, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::iy(), EEDetId::IY_MAX, EEDetId::IY_MIN, mps_splice::line, DetId::rawId(), sm_constr_, EBDetId::SMCRYSTALMODE, str, to_string(), and EEDetId::validDetId().
Referenced by endJob().
std::shared_ptr< EcalPFRecHitThresholds > StoreEcalCondition::readEcalPFRecHitThresholdsFromFile | ( | const char * | inputFile, |
const char * | inputFileEE | ||
) |
Definition at line 509 of file StoreEcalCondition.cc.
References hcalRecHitTable_cff::ieta, cuy::ii, makeListRunsInFiles::inputFile, hcalRecHitTable_cff::iphi, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::ix(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::iy(), mps_splice::line, DetId::rawId(), DMR_cfg::thresh, EBDetId::validDetId(), and EEDetId::validDetId().
Referenced by endJob().
std::shared_ptr< EcalTBWeights > StoreEcalCondition::readEcalTBWeightsFromFile | ( | const char * | inputFile | ) |
Definition at line 302 of file StoreEcalCondition.cc.
References EcalWeightSet::getChi2WeightsAfterGainSwitch(), EcalWeightSet::getChi2WeightsBeforeGainSwitch(), EcalWeightSet::getWeightsAfterGainSwitch(), EcalWeightSet::getWeightsBeforeGainSwitch(), mps_fire::i, makeListRunsInFiles::inputFile, dqmiolumiharvest::j, dqmdumpme::k, LogDebug, PresampleTask_cfi::nSamples, sm_constr_, str, groupFilesInBlocks::temp, and ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::ww.
Referenced by endJob().
std::shared_ptr< EcalWeightXtalGroups > StoreEcalCondition::readEcalWeightXtalGroupsFromFile | ( | const char * | inputFile | ) |
Definition at line 236 of file StoreEcalCondition.cc.
References mps_fire::i, makeListRunsInFiles::inputFile, LogDebug, DetId::rawId(), sm_constr_, sm_slot_, EBDetId::SMCRYSTALMODE, str, and groupFilesInBlocks::temp.
Referenced by endJob().
|
inlineprivate |
Definition at line 72 of file StoreEcalCondition.h.
References relativeConstraints::value.
Referenced by readEcalADCToGeVConstantFromFile(), readEcalGainRatiosFromFile(), readEcalIntercalibConstantsFromFile(), and readEcalIntercalibConstantsMCFromFile().
void StoreEcalCondition::writeToLogFile | ( | std::string | , |
std::string | , | ||
unsigned long | long | ||
) |
Definition at line 146 of file StoreEcalCondition.cc.
References a, b, fillHeader(), RecoTauValidation_cfi::header, createfilelist::int, logfile_, L1TdeCSCTF_cfi::outFile, SiStripBadComponentsDQMServiceTemplate_cfg::since, sm_constr_, and sm_slot_.
void StoreEcalCondition::writeToLogFileResults | ( | char * | arg | ) |
Definition at line 176 of file StoreEcalCondition.cc.
References fillHeader(), RecoTauValidation_cfi::header, logfile_, and L1TdeCSCTF_cfi::outFile.
Referenced by endJob().
|
private |
Definition at line 64 of file StoreEcalCondition.h.
Referenced by endJob(), and StoreEcalCondition().
|
private |
Definition at line 65 of file StoreEcalCondition.h.
Referenced by endJob(), and StoreEcalCondition().
|
private |
Definition at line 70 of file StoreEcalCondition.h.
Referenced by StoreEcalCondition(), writeToLogFile(), and writeToLogFileResults().
|
private |
Definition at line 62 of file StoreEcalCondition.h.
Referenced by endJob(), and StoreEcalCondition().
|
private |
Definition at line 66 of file StoreEcalCondition.h.
Referenced by StoreEcalCondition().
|
private |
Definition at line 69 of file StoreEcalCondition.h.
Referenced by endJob(), and StoreEcalCondition().
|
private |
Definition at line 67 of file StoreEcalCondition.h.
Referenced by readEcalADCToGeVConstantFromFile(), readEcalGainRatiosFromFile(), readEcalIntercalibConstantsFromFile(), readEcalIntercalibConstantsMCFromFile(), readEcalTBWeightsFromFile(), readEcalWeightXtalGroupsFromFile(), StoreEcalCondition(), and writeToLogFile().
|
private |
Definition at line 68 of file StoreEcalCondition.h.
Referenced by readEcalGainRatiosFromFile(), readEcalWeightXtalGroupsFromFile(), StoreEcalCondition(), and writeToLogFile().