Loads CTPPSBeamParameters from a config file. More...
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &) |
Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions | |
void | setIntervalFor (const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override |
sets infinite validity of this data More... | |
Protected Member Functions inherited from edm::ESProducer | |
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 EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string()) |
KeyedProxiesVector | registerProxies (const EventSetupRecordKey &, unsigned int iovIndex) override |
Protected Member Functions inherited from edm::eventsetup::DataProxyProvider | |
template<class T > | |
void | usingRecord () |
void | usingRecordWithKey (const EventSetupRecordKey &key) |
Protected Member Functions inherited from edm::EventSetupRecordIntervalFinder | |
template<class T > | |
void | findingRecord () |
void | findingRecordWithKey (const eventsetup::EventSetupRecordKey &) |
Private Member Functions | |
std::unique_ptr< CTPPSBeamParameters > | fillBeamParameters () |
Fill CTPPSBeamParameters object with BP. More... | |
void | setBeamParameters (const edm::ParameterSet &) |
Set BP to their values from config. More... | |
Private Attributes | |
double | beamDivX45_ |
double | beamDivX56_ |
double | beamDivY45_ |
double | beamDivY56_ |
double | beamMom45_ |
double | beamMom56_ |
double | betaStarX45_ |
double | betaStarX56_ |
double | betaStarY45_ |
double | betaStarY56_ |
double | halfXangleX45_ |
double | halfXangleX56_ |
double | halfXangleY45_ |
double | halfXangleY56_ |
bool | setBeamPars_ |
double | vtxOffsetX45_ |
double | vtxOffsetX56_ |
double | vtxOffsetY45_ |
double | vtxOffsetY56_ |
double | vtxOffsetZ45_ |
double | vtxOffsetZ56_ |
double | vtxStddevX_ |
double | vtxStddevY_ |
double | vtxStddevZ_ |
Additional Inherited Members | |
Protected Types inherited from edm::ESProxyFactoryProducer | |
using | EventSetupRecordKey = eventsetup::EventSetupRecordKey |
Protected Types inherited from edm::eventsetup::DataProxyProvider | |
using | KeyedProxiesVector = std::vector< std::pair< DataKey, std::shared_ptr< DataProxy >>> |
Loads CTPPSBeamParameters from a config file.
Definition at line 42 of file CTPPSBeamParametersESSource.cc.
CTPPSBeamParametersESSource::CTPPSBeamParametersESSource | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 77 of file CTPPSBeamParametersESSource.cc.
References setBeamParameters(), setBeamPars_, and edm::ESProducer::setWhatProduced().
|
overridedefault |
|
private |
Fill CTPPSBeamParameters object with BP.
Definition at line 150 of file CTPPSBeamParametersESSource.cc.
References beamDivX45_, beamDivX56_, beamDivY45_, beamDivY56_, beamMom45_, beamMom56_, betaStarX45_, betaStarX56_, betaStarY45_, betaStarY56_, halfXangleX45_, halfXangleX56_, halfXangleY45_, halfXangleY56_, AlCaHLTBitMon_ParallelJobs::p, vtxOffsetX45_, vtxOffsetX56_, vtxOffsetY45_, vtxOffsetY56_, vtxOffsetZ45_, vtxOffsetZ56_, vtxStddevX_, vtxStddevY_, and vtxStddevZ_.
Referenced by produce().
|
static |
Definition at line 200 of file CTPPSBeamParametersESSource.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), and DEFINE_FWK_EVENTSETUP_SOURCE.
std::unique_ptr< CTPPSBeamParameters > CTPPSBeamParametersESSource::produce | ( | const CTPPSBeamParametersRcd & | ) |
Definition at line 111 of file CTPPSBeamParametersESSource.cc.
References fillBeamParameters(), and setBeamPars_.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Set BP to their values from config.
Definition at line 122 of file CTPPSBeamParametersESSource.cc.
References beamDivX45_, beamDivX56_, beamDivY45_, beamDivY56_, beamMom45_, beamMom56_, betaStarX45_, betaStarX56_, betaStarY45_, betaStarY56_, edm::ParameterSet::getParameter(), halfXangleX45_, halfXangleX56_, halfXangleY45_, halfXangleY56_, vtxOffsetX45_, vtxOffsetX56_, vtxOffsetY45_, vtxOffsetY56_, vtxOffsetZ45_, vtxOffsetZ56_, vtxStddevX_, vtxStddevY_, and vtxStddevZ_.
Referenced by CTPPSBeamParametersESSource().
|
overrideprotectedvirtual |
sets infinite validity of this data
Implements edm::EventSetupRecordIntervalFinder.
Definition at line 187 of file CTPPSBeamParametersESSource.cc.
References edm::IOVSyncValue::beginOfTime(), edm::IOVSyncValue::endOfTime(), edm::EventID::event(), edm::IOVSyncValue::eventID(), infinity, edm::eventsetup::EventSetupRecordKey::name(), and edm::EventID::run().
|
private |
Definition at line 61 of file CTPPSBeamParametersESSource.cc.
Referenced by fillBeamParameters(), and setBeamParameters().
|
private |
Definition at line 61 of file CTPPSBeamParametersESSource.cc.
Referenced by fillBeamParameters(), and setBeamParameters().
|
private |
Definition at line 61 of file CTPPSBeamParametersESSource.cc.
Referenced by fillBeamParameters(), and setBeamParameters().
|
private |
Definition at line 61 of file CTPPSBeamParametersESSource.cc.
Referenced by fillBeamParameters(), and setBeamParameters().
|
private |
Definition at line 59 of file CTPPSBeamParametersESSource.cc.
Referenced by fillBeamParameters(), and setBeamParameters().
|
private |
Definition at line 59 of file CTPPSBeamParametersESSource.cc.
Referenced by fillBeamParameters(), and setBeamParameters().
|
private |
Definition at line 60 of file CTPPSBeamParametersESSource.cc.
Referenced by fillBeamParameters(), and setBeamParameters().
|
private |
Definition at line 60 of file CTPPSBeamParametersESSource.cc.
Referenced by fillBeamParameters(), and setBeamParameters().
|
private |
Definition at line 60 of file CTPPSBeamParametersESSource.cc.
Referenced by fillBeamParameters(), and setBeamParameters().
|
private |
Definition at line 60 of file CTPPSBeamParametersESSource.cc.
Referenced by fillBeamParameters(), and setBeamParameters().
|
private |
Definition at line 62 of file CTPPSBeamParametersESSource.cc.
Referenced by fillBeamParameters(), and setBeamParameters().
|
private |
Definition at line 63 of file CTPPSBeamParametersESSource.cc.
Referenced by fillBeamParameters(), and setBeamParameters().
|
private |
Definition at line 62 of file CTPPSBeamParametersESSource.cc.
Referenced by fillBeamParameters(), and setBeamParameters().
|
private |
Definition at line 63 of file CTPPSBeamParametersESSource.cc.
Referenced by fillBeamParameters(), and setBeamParameters().
|
private |
Definition at line 51 of file CTPPSBeamParametersESSource.cc.
Referenced by CTPPSBeamParametersESSource(), and produce().
|
private |
Definition at line 64 of file CTPPSBeamParametersESSource.cc.
Referenced by fillBeamParameters(), and setBeamParameters().
|
private |
Definition at line 65 of file CTPPSBeamParametersESSource.cc.
Referenced by fillBeamParameters(), and setBeamParameters().
|
private |
Definition at line 64 of file CTPPSBeamParametersESSource.cc.
Referenced by fillBeamParameters(), and setBeamParameters().
|
private |
Definition at line 65 of file CTPPSBeamParametersESSource.cc.
Referenced by fillBeamParameters(), and setBeamParameters().
|
private |
Definition at line 64 of file CTPPSBeamParametersESSource.cc.
Referenced by fillBeamParameters(), and setBeamParameters().
|
private |
Definition at line 65 of file CTPPSBeamParametersESSource.cc.
Referenced by fillBeamParameters(), and setBeamParameters().
|
private |
Definition at line 66 of file CTPPSBeamParametersESSource.cc.
Referenced by fillBeamParameters(), and setBeamParameters().
|
private |
Definition at line 66 of file CTPPSBeamParametersESSource.cc.
Referenced by fillBeamParameters(), and setBeamParameters().
|
private |
Definition at line 66 of file CTPPSBeamParametersESSource.cc.
Referenced by fillBeamParameters(), and setBeamParameters().