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={}) |
void | usesResources (std::vector< std::string > const &) |
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 | vtxOffsetT45_ |
double | vtxOffsetT56_ |
double | vtxOffsetX45_ |
double | vtxOffsetX56_ |
double | vtxOffsetY45_ |
double | vtxOffsetY56_ |
double | vtxOffsetZ45_ |
double | vtxOffsetZ56_ |
double | vtxStddevT_ |
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 156 of file CTPPSBeamParametersESSource.cc.
References beamDivX45_, beamDivX56_, beamDivY45_, beamDivY56_, beamMom45_, beamMom56_, betaStarX45_, betaStarX56_, betaStarY45_, betaStarY56_, halfXangleX45_, halfXangleX56_, halfXangleY45_, halfXangleY56_, AlCaHLTBitMon_ParallelJobs::p, vtxOffsetT45_, vtxOffsetT56_, vtxOffsetX45_, vtxOffsetX56_, vtxOffsetY45_, vtxOffsetY56_, vtxOffsetZ45_, vtxOffsetZ56_, vtxStddevT_, vtxStddevX_, vtxStddevY_, and vtxStddevZ_.
Referenced by produce().
|
static |
Definition at line 209 of file CTPPSBeamParametersESSource.cc.
References edm::ConfigurationDescriptions::add(), and submitPVResolutionJobs::desc.
std::unique_ptr< CTPPSBeamParameters > CTPPSBeamParametersESSource::produce | ( | const CTPPSBeamParametersRcd & | ) |
Definition at line 114 of file CTPPSBeamParametersESSource.cc.
References fillBeamParameters(), and setBeamPars_.
|
private |
Set BP to their values from config.
Definition at line 125 of file CTPPSBeamParametersESSource.cc.
References beamDivX45_, beamDivX56_, beamDivY45_, beamDivY56_, beamMom45_, beamMom56_, betaStarX45_, betaStarX56_, betaStarY45_, betaStarY56_, edm::ParameterSet::getParameter(), halfXangleX45_, halfXangleX56_, halfXangleY45_, halfXangleY56_, vtxOffsetT45_, vtxOffsetT56_, vtxOffsetX45_, vtxOffsetX56_, vtxOffsetY45_, vtxOffsetY56_, vtxOffsetZ45_, vtxOffsetZ56_, vtxStddevT_, vtxStddevX_, vtxStddevY_, and vtxStddevZ_.
Referenced by CTPPSBeamParametersESSource().
|
overrideprotectedvirtual |
sets infinite validity of this data
Implements edm::EventSetupRecordIntervalFinder.
Definition at line 196 of file CTPPSBeamParametersESSource.cc.
References edm::IOVSyncValue::beginOfTime(), edm::IOVSyncValue::endOfTime(), edm::EventID::event(), edm::IOVSyncValue::eventID(), infinity, crabWrapper::key, 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 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().
|
private |
Definition at line 66 of file CTPPSBeamParametersESSource.cc.
Referenced by fillBeamParameters(), and setBeamParameters().