#include <CondTools/BeamSpot/plugins/BeamSpotOnlineFromOfflineConverter.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 |
Private Attributes | |
const edm::ESGetToken< BeamSpotObjects, BeamSpotObjectsRcd > | bsToken_ |
const std::string | endTime_ |
uint32_t | fIOVStartLumi_ |
uint32_t | fIOVStartRun_ |
const bool | fIsHLT_ |
cond::Time_t | fnewSince_ |
bool | fuseNewSince_ |
const int | lastAnalyzedFill_ |
const int | lastAnalyzedLumi_ |
const int | lastAnalyzedRun_ |
const std::string | lumiRange_ |
const float | meanPVError_ |
const float | meanPVs_ |
const int | numMaxPVs_ |
const int | numPVs_ |
const int | numTracks_ |
const int | numUsedEvents_ |
const float | rmsPV_ |
const float | rmsPVError_ |
const std::string | startTime_ |
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 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<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 from a BeamSpotObjectsRcd (inserting some parameters manually)
Implementation: [Notes on implementation]
Definition at line 47 of file BeamSpotOnlineFromOfflineConverter.cc.
|
explicit |
Definition at line 78 of file BeamSpotOnlineFromOfflineConverter.cc.
References edm::ParameterSet::exists(), fIOVStartLumi_, fIOVStartRun_, fnewSince_, fuseNewSince_, edm::ParameterSet::getUntrackedParameter(), and pack().
|
overridedefault |
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 117 of file BeamSpotOnlineFromOfflineConverter.cc.
References cond::service::PoolDBOutputService::appendOneIOV(), cond::service::PoolDBOutputService::beginOfTime(), bsToken_, BeamSpotOnlineObjects::copyFromBeamSpotObject(), submitPVResolutionJobs::count, cond::service::PoolDBOutputService::createOneIOV(), BeamSpotPI::creationTime, cond::service::PoolDBOutputService::currentTime(), endTime_, fIsHLT_, fnewSince_, fuseNewSince_, edm::EventSetup::getData(), edm::Service< T >::isAvailable(), cond::service::PoolDBOutputService::isNewTagRequest(), lastAnalyzedFill_, lastAnalyzedLumi_, lastAnalyzedRun_, lumiRange_, meanPVError_, meanPVs_, submitPVValidationJobs::now, numMaxPVs_, numPVs_, numTracks_, numUsedEvents_, rmsPV_, rmsPVError_, BeamSpotOnlineObjects::setCreationTime(), BeamSpotOnlineObjects::setEndTime(), BeamSpotOnlineObjects::setEndTimeStamp(), BeamSpotOnlineObjects::setLastAnalyzedFill(), BeamSpotOnlineObjects::setLastAnalyzedLumi(), BeamSpotOnlineObjects::setLastAnalyzedRun(), BeamSpotOnlineObjects::setLumiRange(), BeamSpotOnlineObjects::setMaxPVs(), BeamSpotOnlineObjects::setMeanErrorPV(), BeamSpotOnlineObjects::setMeanPV(), BeamSpotOnlineObjects::setNumPVs(), BeamSpotOnlineObjects::setNumTracks(), BeamSpotOnlineObjects::setRmsErrorPV(), BeamSpotOnlineObjects::setRmsPV(), BeamSpotOnlineObjects::setStartTime(), BeamSpotOnlineObjects::setStartTimeStamp(), BeamSpotOnlineObjects::setUsedEvents(), startTime_, AlCaHLTBitMon_QueryRunRegistry::string, and protons_cff::time.
|
static |
Definition at line 171 of file BeamSpotOnlineFromOfflineConverter.cc.
References edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
cond::Time_t BeamSpotOnlineFromOfflineConverter::pack | ( | uint32_t | fIOVStartRun, |
uint32_t | fIOVStartLumi | ||
) |
Definition at line 112 of file BeamSpotOnlineFromOfflineConverter.cc.
Referenced by BeamSpotOnlineFromOfflineConverter().
|
private |
Definition at line 59 of file BeamSpotOnlineFromOfflineConverter.cc.
Referenced by analyze().
|
private |
Definition at line 65 of file BeamSpotOnlineFromOfflineConverter.cc.
Referenced by analyze().
|
private |
Definition at line 70 of file BeamSpotOnlineFromOfflineConverter.cc.
Referenced by BeamSpotOnlineFromOfflineConverter().
|
private |
Definition at line 69 of file BeamSpotOnlineFromOfflineConverter.cc.
Referenced by BeamSpotOnlineFromOfflineConverter().
|
private |
Definition at line 68 of file BeamSpotOnlineFromOfflineConverter.cc.
Referenced by analyze().
|
private |
Definition at line 71 of file BeamSpotOnlineFromOfflineConverter.cc.
Referenced by analyze(), and BeamSpotOnlineFromOfflineConverter().
|
private |
Definition at line 72 of file BeamSpotOnlineFromOfflineConverter.cc.
Referenced by analyze(), and BeamSpotOnlineFromOfflineConverter().
|
private |
Definition at line 62 of file BeamSpotOnlineFromOfflineConverter.cc.
Referenced by analyze().
|
private |
Definition at line 62 of file BeamSpotOnlineFromOfflineConverter.cc.
Referenced by analyze().
|
private |
Definition at line 62 of file BeamSpotOnlineFromOfflineConverter.cc.
Referenced by analyze().
|
private |
Definition at line 65 of file BeamSpotOnlineFromOfflineConverter.cc.
Referenced by analyze().
|
private |
Definition at line 64 of file BeamSpotOnlineFromOfflineConverter.cc.
Referenced by analyze().
|
private |
Definition at line 64 of file BeamSpotOnlineFromOfflineConverter.cc.
Referenced by analyze().
|
private |
Definition at line 63 of file BeamSpotOnlineFromOfflineConverter.cc.
Referenced by analyze().
|
private |
Definition at line 63 of file BeamSpotOnlineFromOfflineConverter.cc.
Referenced by analyze().
|
private |
Definition at line 63 of file BeamSpotOnlineFromOfflineConverter.cc.
Referenced by analyze().
|
private |
Definition at line 63 of file BeamSpotOnlineFromOfflineConverter.cc.
Referenced by analyze().
|
private |
Definition at line 64 of file BeamSpotOnlineFromOfflineConverter.cc.
Referenced by analyze().
|
private |
Definition at line 64 of file BeamSpotOnlineFromOfflineConverter.cc.
Referenced by analyze().
|
private |
Definition at line 65 of file BeamSpotOnlineFromOfflineConverter.cc.
Referenced by analyze().