#include <CondTools/BeamSpot/plugins/BeamSpotOnlineLegacyRcdWriter.cc>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginJob () override |
void | endJob () override |
Private Attributes | |
std::ifstream | fasciiFile |
std::string | fasciiFileName |
uint32_t | fIOVStartLumi |
uint32_t | fIOVStartRun |
cond::Time_t | fnewSince |
bool | fuseNewSince |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
Description: EDAnalyzer to read the BeamSpotOnlineLegacyObjectsRcd and dump it into a txt and root file
Implementation: [Notes on implementation]
Definition at line 44 of file BeamSpotOnlineLegacyRcdWriter.cc.
|
explicit |
Definition at line 70 of file BeamSpotOnlineLegacyRcdWriter.cc.
References edm::ParameterSet::exists(), fasciiFile, fasciiFileName, fIOVStartLumi, fIOVStartRun, fnewSince, fuseNewSince, edm::ParameterSet::getUntrackedParameter(), pack(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 84 of file BeamSpotOnlineLegacyRcdWriter.cc.
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 99 of file BeamSpotOnlineLegacyRcdWriter.cc.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 102 of file BeamSpotOnlineLegacyRcdWriter.cc.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 105 of file BeamSpotOnlineLegacyRcdWriter.cc.
References cond::service::PoolDBOutputService::appendSinceTime(), cond::service::PoolDBOutputService::beginOfTime(), gather_cfg::cout, cond::service::PoolDBOutputService::createNewIOV(), cond::service::PoolDBOutputService::currentTime(), BeamSpotPI::dxdz, BeamSpotPI::dydz, BeamSpotFakeParameters_cfi::emittanceX, BeamSpotFakeParameters_cfi::emittanceY, cond::service::PoolDBOutputService::endOfTime(), fasciiFile, fasciiFileName, fnewSince, fuseNewSince, mps_fire::i, edm::Service< T >::isAvailable(), cond::service::PoolDBOutputService::isNewTagRequest(), dqmiolumiharvest::j, BeamSpotObjects::SetBeamWidthX(), BeamSpotObjects::SetBeamWidthY(), BeamSpotObjects::SetBetaStar(), BeamSpotObjects::SetCovariance(), BeamSpotObjects::Setdxdz(), BeamSpotObjects::Setdydz(), BeamSpotObjects::SetEmittanceX(), BeamSpotObjects::SetEmittanceY(), BeamSpotOnlineObjects::SetLastAnalyzedFill(), BeamSpotOnlineObjects::SetLastAnalyzedLumi(), BeamSpotOnlineObjects::SetLastAnalyzedRun(), BeamSpotObjects::SetPosition(), BeamSpotObjects::SetSigmaZ(), BeamSpotObjects::SetType(), BeamSpotPI::sigmaZ, AlCaHLTBitMon_QueryRunRegistry::string, makeGlobalPositionRcd_cfg::tag, x, y, and z.
|
static |
Definition at line 225 of file BeamSpotOnlineLegacyRcdWriter.cc.
References edm::ConfigurationDescriptions::addDefault(), and submitPVResolutionJobs::desc.
cond::Time_t BeamSpotOnlineLegacyRcdWriter::pack | ( | uint32_t | fIOVStartRun, |
uint32_t | fIOVStartLumi | ||
) |
Definition at line 94 of file BeamSpotOnlineLegacyRcdWriter.cc.
References fIOVStartLumi, and fIOVStartRun.
Referenced by BeamSpotOnlineLegacyRcdWriter().
|
private |
Definition at line 57 of file BeamSpotOnlineLegacyRcdWriter.cc.
Referenced by BeamSpotOnlineLegacyRcdWriter(), and endJob().
|
private |
Definition at line 58 of file BeamSpotOnlineLegacyRcdWriter.cc.
Referenced by BeamSpotOnlineLegacyRcdWriter(), and endJob().
|
private |
Definition at line 60 of file BeamSpotOnlineLegacyRcdWriter.cc.
Referenced by BeamSpotOnlineLegacyRcdWriter(), and pack().
|
private |
Definition at line 59 of file BeamSpotOnlineLegacyRcdWriter.cc.
Referenced by BeamSpotOnlineLegacyRcdWriter(), and pack().
|
private |
Definition at line 61 of file BeamSpotOnlineLegacyRcdWriter.cc.
Referenced by BeamSpotOnlineLegacyRcdWriter(), and endJob().
|
private |
Definition at line 62 of file BeamSpotOnlineLegacyRcdWriter.cc.
Referenced by BeamSpotOnlineLegacyRcdWriter(), and endJob().