#include <CondTools/BeamSpot/plugins/BeamSpotOnlineRecordsReader.cc>
Classes | |
struct | theBSOfromDB |
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 |
template<class Record > | |
void | dump (const edm::Event &, const edm::EventSetup &, const edm::ESGetToken< BeamSpotOnlineObjects, Record > &) |
Private Attributes | |
TTree * | bstree_ |
edm::ESWatcher < BeamSpotOnlineHLTObjectsRcd > | hlt_watcher_ |
const edm::ESGetToken < BeamSpotOnlineObjects, BeamSpotOnlineHLTObjectsRcd > | hltToken |
bool | isHLT_ |
edm::ESWatcher < BeamSpotOnlineLegacyObjectsRcd > | legacy_watcher_ |
const edm::ESGetToken < BeamSpotOnlineObjects, BeamSpotOnlineLegacyObjectsRcd > | legacyToken |
std::unique_ptr< std::ofstream > | output_ |
edm::Service< TFileService > | tFileService |
struct BeamSpotOnlineRecordsReader::theBSOfromDB | theBSOfromDB_ |
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 () noexcept |
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... | |
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 read the BeamSpotOnlineHLTObjectsRcd or BeamSpotOnlineLegacyObjectsRcd and dump it into a txt and root file
Implementation: [Notes on implementation]
Definition at line 50 of file BeamSpotOnlineRecordsReader.cc.
|
explicit |
Definition at line 95 of file BeamSpotOnlineRecordsReader.cc.
References MillePedeFileConverter_cfg::fileName, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), isHLT_, output_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridedefault |
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 135 of file BeamSpotOnlineRecordsReader.cc.
References edm::ESWatcher< T >::check(), hlt_watcher_, hltToken, iEvent, isHLT_, legacy_watcher_, and legacyToken.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 187 of file BeamSpotOnlineRecordsReader.cc.
References BeamSpotOnlineRecordsReader::theBSOfromDB::Beamdxdz_, BeamSpotOnlineRecordsReader::theBSOfromDB::Beamsigmaz_, BeamSpotOnlineRecordsReader::theBSOfromDB::BeamWidthX_, BeamSpotOnlineRecordsReader::theBSOfromDB::BeamWidthY_, bstree_, BeamSpotOnlineRecordsReader::theBSOfromDB::BSx0_, BeamSpotOnlineRecordsReader::theBSOfromDB::BSy0_, BeamSpotOnlineRecordsReader::theBSOfromDB::BSz0_, BeamSpotOnlineRecordsReader::theBSOfromDB::lastAnalyzedFill_, BeamSpotOnlineRecordsReader::theBSOfromDB::lastAnalyzedLumi_, BeamSpotOnlineRecordsReader::theBSOfromDB::lastAnalyzedRun_, BeamSpotOnlineRecordsReader::theBSOfromDB::ls, TFileService::make(), BeamSpotOnlineRecordsReader::theBSOfromDB::run, tFileService, and theBSOfromDB_.
|
private |
Definition at line 150 of file BeamSpotOnlineRecordsReader.cc.
References BeamSpotOnlineRecordsReader::theBSOfromDB::Beamdxdz_, BeamSpotOnlineRecordsReader::theBSOfromDB::Beamsigmaz_, BeamSpotOnlineRecordsReader::theBSOfromDB::BeamWidthX_, BeamSpotOnlineRecordsReader::theBSOfromDB::BeamWidthY_, bstree_, BeamSpotOnlineRecordsReader::theBSOfromDB::BSx0_, BeamSpotOnlineRecordsReader::theBSOfromDB::BSy0_, BeamSpotOnlineRecordsReader::theBSOfromDB::BSz0_, BeamSpotObjects::GetBeamWidthX(), BeamSpotObjects::GetBeamWidthY(), edm::EventSetup::getData(), BeamSpotObjects::Getdxdz(), BeamSpotOnlineObjects::GetLastAnalyzedFill(), BeamSpotOnlineObjects::GetLastAnalyzedLumi(), BeamSpotOnlineObjects::GetLastAnalyzedRun(), BeamSpotObjects::GetSigmaZ(), BeamSpotObjects::GetX(), BeamSpotObjects::GetY(), BeamSpotObjects::GetZ(), edm::EventBase::id(), BeamSpotOnlineRecordsReader::theBSOfromDB::init(), BeamSpotOnlineRecordsReader::theBSOfromDB::lastAnalyzedFill_, BeamSpotOnlineRecordsReader::theBSOfromDB::lastAnalyzedLumi_, BeamSpotOnlineRecordsReader::theBSOfromDB::lastAnalyzedRun_, BeamSpotOnlineRecordsReader::theBSOfromDB::ls, edm::EventID::luminosityBlock(), convertSQLitetoXML_cfg::output, output_, edm::EventID::run(), BeamSpotOnlineRecordsReader::theBSOfromDB::run, and theBSOfromDB_.
|
static |
Definition at line 206 of file BeamSpotOnlineRecordsReader.cc.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addDefault(), edm::ParameterSetDescription::addUntracked(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 80 of file BeamSpotOnlineRecordsReader.cc.
Referenced by beginJob(), and dump().
|
private |
Definition at line 87 of file BeamSpotOnlineRecordsReader.cc.
Referenced by analyze().
|
private |
Definition at line 82 of file BeamSpotOnlineRecordsReader.cc.
Referenced by analyze().
|
private |
Definition at line 86 of file BeamSpotOnlineRecordsReader.cc.
Referenced by analyze(), and BeamSpotOnlineRecordsReader().
|
private |
Definition at line 88 of file BeamSpotOnlineRecordsReader.cc.
Referenced by analyze().
|
private |
Definition at line 83 of file BeamSpotOnlineRecordsReader.cc.
Referenced by analyze().
|
private |
Definition at line 89 of file BeamSpotOnlineRecordsReader.cc.
Referenced by BeamSpotOnlineRecordsReader(), and dump().
|
private |
Definition at line 79 of file BeamSpotOnlineRecordsReader.cc.
Referenced by beginJob().
|
private |
Referenced by beginJob(), and dump().