#include <CondTools/BeamSpot/plugins/BeamSpotOnlineRecordsWriter.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 | endJob () override |
Private Attributes | |
std::ifstream | fasciiFile |
std::string | fasciiFileName |
uint32_t | fIOVStartLumi |
uint32_t | fIOVStartRun |
bool | fIsHLT |
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 | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
void | resetItemsToGetFrom (BranchType iType) |
Description: EDAnalyzer to create a BeamSpotOnlineHLTObjectsRcd or BeamSpotOnlineLegacyObjectsRcd payload from a txt file and dump it in a db file
Implementation: [Notes on implementation]
Definition at line 45 of file BeamSpotOnlineRecordsWriter.cc.
|
explicit |
Definition at line 70 of file BeamSpotOnlineRecordsWriter.cc.
References edm::ParameterSet::exists(), fasciiFile, fasciiFileName, fIOVStartLumi, fIOVStartRun, fIsHLT, fnewSince, fuseNewSince, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), pack(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridedefault |
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 99 of file BeamSpotOnlineRecordsWriter.cc.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 102 of file BeamSpotOnlineRecordsWriter.cc.
References cond::service::PoolDBOutputService::appendOneIOV(), cond::service::PoolDBOutputService::beginOfTime(), submitPVResolutionJobs::count, cond::service::PoolDBOutputService::createOneIOV(), beamSpotPI::creationTime, cond::service::PoolDBOutputService::currentTime(), dxdz, dydz, MillePedeFileConverter_cfg::e, BeamSpotFakeParameters_cfi::emittanceX, BeamSpotFakeParameters_cfi::emittanceY, Exception, fasciiFile, fasciiFileName, fIsHLT, fnewSince, fuseNewSince, mps_fire::i, edm::Service< T >::isAvailable(), cond::service::PoolDBOutputService::isNewTagRequest(), dqmiolumiharvest::j, submitPVValidationJobs::now, BeamSpotObjects::setBeamWidthX(), BeamSpotObjects::setBeamWidthY(), BeamSpotObjects::setBetaStar(), BeamSpotObjects::setCovariance(), BeamSpotOnlineObjects::setCreationTime(), BeamSpotObjects::setdxdz(), BeamSpotObjects::setdydz(), BeamSpotObjects::setEmittanceX(), BeamSpotObjects::setEmittanceY(), BeamSpotOnlineObjects::setEndTimeStamp(), BeamSpotOnlineObjects::setLastAnalyzedFill(), BeamSpotOnlineObjects::setLastAnalyzedLumi(), BeamSpotOnlineObjects::setLastAnalyzedRun(), BeamSpotObjects::setPosition(), BeamSpotObjects::setSigmaZ(), BeamSpotOnlineObjects::setStartTimeStamp(), BeamSpotObjects::setType(), beamSpotPI::sigmaZ, AlCaHLTBitMon_QueryRunRegistry::string, makeGlobalPositionRcd_cfg::tag, edm::errors::Unknown, x, y, and z.
|
static |
Definition at line 244 of file BeamSpotOnlineRecordsWriter.cc.
References edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
cond::Time_t BeamSpotOnlineRecordsWriter::pack | ( | uint32_t | fIOVStartRun, |
uint32_t | fIOVStartLumi | ||
) |
Definition at line 94 of file BeamSpotOnlineRecordsWriter.cc.
References fIOVStartLumi, and fIOVStartRun.
Referenced by BeamSpotOnlineRecordsWriter().
|
private |
Definition at line 59 of file BeamSpotOnlineRecordsWriter.cc.
Referenced by BeamSpotOnlineRecordsWriter(), and endJob().
|
private |
Definition at line 60 of file BeamSpotOnlineRecordsWriter.cc.
Referenced by BeamSpotOnlineRecordsWriter(), and endJob().
|
private |
Definition at line 62 of file BeamSpotOnlineRecordsWriter.cc.
Referenced by BeamSpotOnlineRecordsWriter(), and pack().
|
private |
Definition at line 61 of file BeamSpotOnlineRecordsWriter.cc.
Referenced by BeamSpotOnlineRecordsWriter(), and pack().
|
private |
Definition at line 58 of file BeamSpotOnlineRecordsWriter.cc.
Referenced by BeamSpotOnlineRecordsWriter(), and endJob().
|
private |
Definition at line 63 of file BeamSpotOnlineRecordsWriter.cc.
Referenced by BeamSpotOnlineRecordsWriter(), and endJob().
|
private |
Definition at line 64 of file BeamSpotOnlineRecordsWriter.cc.
Referenced by BeamSpotOnlineRecordsWriter(), and endJob().