Protected Member Functions | |
CTPPSRPAlignmentCorrectionsDataSequence | Merge (const std::vector< CTPPSRPAlignmentCorrectionsDataSequence > &) const |
merges an array of sequences to one More... | |
void | PrepareSequence (const std::string &label, CTPPSRPAlignmentCorrectionsDataSequence &seq, const std::vector< std::string > &files) const |
builds a sequence of corrections from provided sources and runs a few checks More... | |
void | setIntervalFor (const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override |
Protected Member Functions inherited from edm::ESProducer | |
ESProducer (const ESProducer &)=delete | |
ESProducer const & | operator= (const ESProducer &)=delete |
template<typename T > | |
auto | setWhatProduced (T *iThis, const es::Label &iLabel={}) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const char *iLabel) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const std::string &iLabel) |
template<typename T , typename TDecorator > | |
auto | setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel={}) |
template<typename T , typename TReturn , typename TRecord > | |
auto | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const es::Label &iLabel={}) |
template<typename T , typename TReturn , typename TRecord , typename TArg > | |
ESConsumesCollectorT< TRecord > | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel={}) |
Protected Member Functions inherited from edm::ESProxyFactoryProducer | |
template<class TFactory > | |
void | registerFactory (std::unique_ptr< TFactory > iFactory, const std::string &iLabel=std::string()) |
virtual void | registerFactoryWithKey (const eventsetup::EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string()) |
void | registerProxies (const eventsetup::EventSetupRecordKey &iRecord, KeyedProxies &aProxyList) override |
override DataProxyProvider method More... | |
Protected Member Functions inherited from edm::eventsetup::DataProxyProvider | |
void | eraseAll (const EventSetupRecordKey &iRecordKey) |
deletes all the Proxies in aStream More... | |
void | invalidateProxies (const EventSetupRecordKey &iRecordKey) |
template<class T > | |
void | usingRecord () |
void | usingRecordWithKey (const EventSetupRecordKey &) |
Protected Member Functions inherited from edm::EventSetupRecordIntervalFinder | |
template<class T > | |
void | findingRecord () |
void | findingRecordWithKey (const eventsetup::EventSetupRecordKey &) |
Static Protected Member Functions | |
static edm::EventID | nextLS (const edm::EventID &src) |
static edm::EventID | previousLS (const edm::EventID &src) |
Additional Inherited Members | |
Public Types inherited from edm::eventsetup::DataProxyProvider | |
typedef std::vector< std::pair< DataKey, edm::propagate_const< std::shared_ptr< DataProxy > > > > | KeyedProxies |
typedef std::vector< EventSetupRecordKey > | Keys |
typedef std::map< EventSetupRecordKey, KeyedProxies > | RecordProxies |
Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Loads alignment corrections to EventSetup.
Definition at line 37 of file CTPPSRPAlignmentCorrectionsDataESSourceXML.cc.
CTPPSRPAlignmentCorrectionsDataESSourceXML::CTPPSRPAlignmentCorrectionsDataESSourceXML | ( | const edm::ParameterSet & | p | ) |
Definition at line 95 of file CTPPSRPAlignmentCorrectionsDataESSourceXML.cc.
References acsMeasured, acsMisaligned, acsReal, f, edm::ParameterSet::getParameter(), PrepareSequence(), produceMeasured(), produceMisaligned(), produceReal(), and edm::ESProducer::setWhatProduced().
|
override |
Definition at line 124 of file CTPPSRPAlignmentCorrectionsDataESSourceXML.cc.
|
protected |
merges an array of sequences to one
Definition at line 130 of file CTPPSRPAlignmentCorrectionsDataESSourceXML.cc.
References mixOne_premix_on_sim_cfi::accumulator, PVValHelper::add(), CTPPSRPAlignmentCorrectionsData::addCorrections(), corr, edm::IOVSyncValue::eventID(), edm::ValidityInterval::first(), CTPPSRPAlignmentCorrectionsDataSequence::insert(), CTPPSRPAlignmentCorrectionsMethods::iovValueToString(), edm::ValidityInterval::last(), genParticles_cff::map, nextLS(), AlCaHLTBitMon_ParallelJobs::p, previousLS(), mps_fire::result, and verbosity.
Referenced by nextLS(), and PrepareSequence().
|
inlinestaticprotected |
Definition at line 66 of file CTPPSRPAlignmentCorrectionsDataESSourceXML.cc.
References edm::EventID::event(), PatBasicFWLiteAnalyzer::files, label, edm::EventID::luminosityBlock(), edm::EventID::maxLuminosityBlockNumber(), edm::EventID::maxRunNumber(), Merge(), PrepareSequence(), edm::EventID::run(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by Merge().
|
protected |
builds a sequence of corrections from provided sources and runs a few checks
Definition at line 194 of file CTPPSRPAlignmentCorrectionsDataESSourceXML.cc.
References FrontierConditions_GlobalTag_cff::file, CTPPSRPAlignmentCorrectionsMethods::loadFromXML(), Merge(), and verbosity.
Referenced by CTPPSRPAlignmentCorrectionsDataESSourceXML(), and nextLS().
|
inlinestaticprotected |
Definition at line 55 of file CTPPSRPAlignmentCorrectionsDataESSourceXML.cc.
References edm::EventID::event(), edm::EventID::luminosityBlock(), edm::EventID::maxLuminosityBlockNumber(), edm::EventID::maxRunNumber(), and edm::EventID::run().
Referenced by Merge(), and setIntervalFor().
std::unique_ptr< CTPPSRPAlignmentCorrectionsData > CTPPSRPAlignmentCorrectionsDataESSourceXML::produceMeasured | ( | const CTPPSRPAlignmentCorrectionsDataRcd & | iRecord | ) |
Definition at line 208 of file CTPPSRPAlignmentCorrectionsDataESSourceXML.cc.
References acMeasured.
Referenced by CTPPSRPAlignmentCorrectionsDataESSourceXML().
std::unique_ptr< CTPPSRPAlignmentCorrectionsData > CTPPSRPAlignmentCorrectionsDataESSourceXML::produceMisaligned | ( | const RPMisalignedAlignmentRecord & | iRecord | ) |
Definition at line 222 of file CTPPSRPAlignmentCorrectionsDataESSourceXML.cc.
References acMisaligned.
Referenced by CTPPSRPAlignmentCorrectionsDataESSourceXML().
std::unique_ptr< CTPPSRPAlignmentCorrectionsData > CTPPSRPAlignmentCorrectionsDataESSourceXML::produceReal | ( | const RPRealAlignmentRecord & | iRecord | ) |
Definition at line 215 of file CTPPSRPAlignmentCorrectionsDataESSourceXML.cc.
References acReal.
Referenced by CTPPSRPAlignmentCorrectionsDataESSourceXML().
|
overrideprotectedvirtual |
Implements edm::EventSetupRecordIntervalFinder.
Definition at line 229 of file CTPPSRPAlignmentCorrectionsDataESSourceXML.cc.
References acMeasured, acMisaligned, acReal, acsMeasured, acsMisaligned, acsReal, DEFINE_FWK_EVENTSETUP_SOURCE, edm::IOVSyncValue::endOfTime(), edm::IOVSyncValue::eventID(), Exception, edm::ValidityInterval::first(), CTPPSRPAlignmentCorrectionsMethods::iovValueToString(), edm::ValidityInterval::last(), edm::EventID::luminosityBlock(), edm::EventID::maxLuminosityBlockNumber(), edm::EventID::maxRunNumber(), edm::eventsetup::EventSetupRecordKey::name(), previousLS(), edm::EventID::run(), edm::IOVSyncValue::time(), edm::Timestamp::unixTime(), and verbosity.
|
protected |
Definition at line 51 of file CTPPSRPAlignmentCorrectionsDataESSourceXML.cc.
Referenced by produceMeasured(), and setIntervalFor().
|
protected |
Definition at line 51 of file CTPPSRPAlignmentCorrectionsDataESSourceXML.cc.
Referenced by produceMisaligned(), and setIntervalFor().
|
protected |
Definition at line 51 of file CTPPSRPAlignmentCorrectionsDataESSourceXML.cc.
Referenced by produceReal(), and setIntervalFor().
|
protected |
Definition at line 50 of file CTPPSRPAlignmentCorrectionsDataESSourceXML.cc.
Referenced by CTPPSRPAlignmentCorrectionsDataESSourceXML(), and setIntervalFor().
|
protected |
Definition at line 50 of file CTPPSRPAlignmentCorrectionsDataESSourceXML.cc.
Referenced by CTPPSRPAlignmentCorrectionsDataESSourceXML(), and setIntervalFor().
|
protected |
Definition at line 50 of file CTPPSRPAlignmentCorrectionsDataESSourceXML.cc.
Referenced by CTPPSRPAlignmentCorrectionsDataESSourceXML(), and setIntervalFor().
|
protected |
Definition at line 49 of file CTPPSRPAlignmentCorrectionsDataESSourceXML.cc.
Referenced by Merge(), PrepareSequence(), and setIntervalFor().