Protected Member Functions | |
RPAlignmentCorrectionsDataSequence | Merge (const std::vector< RPAlignmentCorrectionsDataSequence > &) const |
merges an array of sequences to one More... | |
void | PrepareSequence (const std::string &label, RPAlignmentCorrectionsDataSequence &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 | |
template<typename T > | |
void | setWhatProduced (T *iThis, const es::Label &iLabel=es::Label()) |
template<typename T > | |
void | setWhatProduced (T *iThis, const char *iLabel) |
template<typename T > | |
void | setWhatProduced (T *iThis, const std::string &iLabel) |
template<typename T , typename TDecorator > | |
void | setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel=es::Label()) |
template<typename T , typename TReturn , typename TRecord > | |
void | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const es::Label &iLabel=es::Label()) |
template<typename T , typename TReturn , typename TRecord , typename TArg > | |
void | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel=es::Label()) |
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 35 of file CTPPSIncludeAlignmentsFromXML.cc.
CTPPSIncludeAlignmentsFromXML::CTPPSIncludeAlignmentsFromXML | ( | const edm::ParameterSet & | p | ) |
Definition at line 91 of file CTPPSIncludeAlignmentsFromXML.cc.
References acsMeasured, acsMisaligned, acsReal, f, edm::ParameterSet::getParameter(), PrepareSequence(), produceMeasured(), produceMisaligned(), produceReal(), and edm::ESProducer::setWhatProduced().
|
override |
Definition at line 120 of file CTPPSIncludeAlignmentsFromXML.cc.
|
protected |
merges an array of sequences to one
Definition at line 126 of file CTPPSIncludeAlignmentsFromXML.cc.
References mixOne_premix_on_sim_cfi::accumulator, PVValHelper::add(), RPAlignmentCorrectionsData::addCorrections(), corr, edm::IOVSyncValue::eventID(), edm::ValidityInterval::first(), RPAlignmentCorrectionsDataSequence::insert(), RPAlignmentCorrectionsMethods::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 63 of file CTPPSIncludeAlignmentsFromXML.cc.
References edm::EventID::event(), PatBasicFWLiteAnalyzer::files, diffTwoXMLs::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 190 of file CTPPSIncludeAlignmentsFromXML.cc.
References FrontierConditions_GlobalTag_cff::file, RPAlignmentCorrectionsMethods::loadFromXML(), Merge(), and verbosity.
Referenced by CTPPSIncludeAlignmentsFromXML(), and nextLS().
|
inlinestaticprotected |
Definition at line 52 of file CTPPSIncludeAlignmentsFromXML.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< RPAlignmentCorrectionsData > CTPPSIncludeAlignmentsFromXML::produceMeasured | ( | const RPMeasuredAlignmentRecord & | iRecord | ) |
Definition at line 204 of file CTPPSIncludeAlignmentsFromXML.cc.
References acMeasured.
Referenced by CTPPSIncludeAlignmentsFromXML().
std::unique_ptr< RPAlignmentCorrectionsData > CTPPSIncludeAlignmentsFromXML::produceMisaligned | ( | const RPMisalignedAlignmentRecord & | iRecord | ) |
Definition at line 218 of file CTPPSIncludeAlignmentsFromXML.cc.
References acMisaligned.
Referenced by CTPPSIncludeAlignmentsFromXML().
std::unique_ptr< RPAlignmentCorrectionsData > CTPPSIncludeAlignmentsFromXML::produceReal | ( | const RPRealAlignmentRecord & | iRecord | ) |
Definition at line 211 of file CTPPSIncludeAlignmentsFromXML.cc.
References acReal.
Referenced by CTPPSIncludeAlignmentsFromXML().
|
overrideprotectedvirtual |
Implements edm::EventSetupRecordIntervalFinder.
Definition at line 225 of file CTPPSIncludeAlignmentsFromXML.cc.
References acMeasured, acMisaligned, acReal, acsMeasured, acsMisaligned, acsReal, DEFINE_FWK_EVENTSETUP_SOURCE, edm::IOVSyncValue::endOfTime(), edm::IOVSyncValue::eventID(), Exception, edm::ValidityInterval::first(), RPAlignmentCorrectionsMethods::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 48 of file CTPPSIncludeAlignmentsFromXML.cc.
Referenced by produceMeasured(), and setIntervalFor().
|
protected |
Definition at line 48 of file CTPPSIncludeAlignmentsFromXML.cc.
Referenced by produceMisaligned(), and setIntervalFor().
|
protected |
Definition at line 48 of file CTPPSIncludeAlignmentsFromXML.cc.
Referenced by produceReal(), and setIntervalFor().
|
protected |
Definition at line 47 of file CTPPSIncludeAlignmentsFromXML.cc.
Referenced by CTPPSIncludeAlignmentsFromXML(), and setIntervalFor().
|
protected |
Definition at line 47 of file CTPPSIncludeAlignmentsFromXML.cc.
Referenced by CTPPSIncludeAlignmentsFromXML(), and setIntervalFor().
|
protected |
Definition at line 47 of file CTPPSIncludeAlignmentsFromXML.cc.
Referenced by CTPPSIncludeAlignmentsFromXML(), and setIntervalFor().
|
protected |
Definition at line 46 of file CTPPSIncludeAlignmentsFromXML.cc.
Referenced by Merge(), PrepareSequence(), and setIntervalFor().