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 | |
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 &) |
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 | |
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 |
Loads CTPPSBeamParameters from a config file.
Definition at line 42 of file CTPPSBeamParametersESSource.cc.
CTPPSBeamParametersESSource::CTPPSBeamParametersESSource | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 79 of file CTPPSBeamParametersESSource.cc.
References setBeamParameters(), setBeamPars_, and edm::ESProducer::setWhatProduced().
|
overridedefault |
|
private |
Fill CTPPSBeamParameters object with BP.
Definition at line 145 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 198 of file CTPPSBeamParametersESSource.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), DEFINE_FWK_EVENTSETUP_SOURCE, and funct::true.
std::unique_ptr< CTPPSBeamParameters > CTPPSBeamParametersESSource::produce | ( | const CTPPSBeamParametersRcd & | ) |
Definition at line 100 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 115 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 184 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 64 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 64 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 62 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 63 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 63 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 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 54 of file CTPPSBeamParametersESSource.cc.
Referenced by CTPPSBeamParametersESSource(), and produce().
|
private |
Definition at line 67 of file CTPPSBeamParametersESSource.cc.
Referenced by fillBeamParameters(), and setBeamParameters().
|
private |
Definition at line 68 of file CTPPSBeamParametersESSource.cc.
Referenced by fillBeamParameters(), and setBeamParameters().
|
private |
Definition at line 67 of file CTPPSBeamParametersESSource.cc.
Referenced by fillBeamParameters(), and setBeamParameters().
|
private |
Definition at line 68 of file CTPPSBeamParametersESSource.cc.
Referenced by fillBeamParameters(), and setBeamParameters().
|
private |
Definition at line 67 of file CTPPSBeamParametersESSource.cc.
Referenced by fillBeamParameters(), and setBeamParameters().
|
private |
Definition at line 68 of file CTPPSBeamParametersESSource.cc.
Referenced by fillBeamParameters(), and setBeamParameters().
|
private |
Definition at line 69 of file CTPPSBeamParametersESSource.cc.
Referenced by fillBeamParameters(), and setBeamParameters().
|
private |
Definition at line 69 of file CTPPSBeamParametersESSource.cc.
Referenced by fillBeamParameters(), and setBeamParameters().
|
private |
Definition at line 69 of file CTPPSBeamParametersESSource.cc.
Referenced by fillBeamParameters(), and setBeamParameters().