![]() |
![]() |
#include <CondTools/BeamSpot/plugins/BeamSpotOnlineHLTRcdReader.cc>
Classes | |
struct | theBSOfromDB |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
![]() | |
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 | |
TTree * | bstree_ |
std::unique_ptr< std::ofstream > | output_ |
edm::Service< TFileService > | tFileService |
struct BeamSpotOnlineHLTRcdReader::theBSOfromDB | theBSOfromDB_ |
edm::ESWatcher< BeamSpotOnlineHLTObjectsRcd > | watcher_ |
Additional Inherited Members | |
![]() | |
typedef EDAnalyzerBase | ModuleType |
![]() | |
typedef ProductLabels | Labels |
![]() | |
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 create a BeamSpotOnlineHLTObjectsRcd payload from a txt file and dump it in a db file
Implementation: [Notes on implementation]
Definition at line 49 of file BeamSpotOnlineHLTRcdReader.cc.
|
explicit |
Definition at line 88 of file BeamSpotOnlineHLTRcdReader.cc.
References MillePedeFileConverter_cfg::fileName, edm::ParameterSet::getUntrackedParameter(), output_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 101 of file BeamSpotOnlineHLTRcdReader.cc.
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 129 of file BeamSpotOnlineHLTRcdReader.cc.
References BeamSpotOnlineHLTRcdReader::theBSOfromDB::Beamdxdz_, BeamSpotOnlineHLTRcdReader::theBSOfromDB::Beamsigmaz_, BeamSpotOnlineHLTRcdReader::theBSOfromDB::BeamWidthX_, BeamSpotOnlineHLTRcdReader::theBSOfromDB::BeamWidthY_, bstree_, BeamSpotOnlineHLTRcdReader::theBSOfromDB::BSx0_, BeamSpotOnlineHLTRcdReader::theBSOfromDB::BSy0_, BeamSpotOnlineHLTRcdReader::theBSOfromDB::BSz0_, edm::ESWatcher< T >::check(), edm::EventSetup::get(), get, BeamSpotObjects::GetBeamWidthX(), BeamSpotObjects::GetBeamWidthY(), BeamSpotObjects::Getdxdz(), BeamSpotOnlineObjects::GetLastAnalyzedFill(), BeamSpotOnlineObjects::GetLastAnalyzedLumi(), BeamSpotOnlineObjects::GetLastAnalyzedRun(), BeamSpotObjects::GetSigmaZ(), BeamSpotObjects::GetX(), BeamSpotObjects::GetY(), BeamSpotObjects::GetZ(), iEvent, BeamSpotOnlineHLTRcdReader::theBSOfromDB::init(), BeamSpotOnlineHLTRcdReader::theBSOfromDB::lastAnalyzedFill_, BeamSpotOnlineHLTRcdReader::theBSOfromDB::lastAnalyzedLumi_, BeamSpotOnlineHLTRcdReader::theBSOfromDB::lastAnalyzedRun_, BeamSpotOnlineHLTRcdReader::theBSOfromDB::ls, convertSQLitetoXML_cfg::output, output_, edm::ESHandle< T >::product(), BeamSpotOnlineHLTRcdReader::theBSOfromDB::run, theBSOfromDB_, and watcher_.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 171 of file BeamSpotOnlineHLTRcdReader.cc.
References BeamSpotOnlineHLTRcdReader::theBSOfromDB::Beamdxdz_, BeamSpotOnlineHLTRcdReader::theBSOfromDB::Beamsigmaz_, BeamSpotOnlineHLTRcdReader::theBSOfromDB::BeamWidthX_, BeamSpotOnlineHLTRcdReader::theBSOfromDB::BeamWidthY_, bstree_, BeamSpotOnlineHLTRcdReader::theBSOfromDB::BSx0_, BeamSpotOnlineHLTRcdReader::theBSOfromDB::BSy0_, BeamSpotOnlineHLTRcdReader::theBSOfromDB::BSz0_, BeamSpotOnlineHLTRcdReader::theBSOfromDB::lastAnalyzedFill_, BeamSpotOnlineHLTRcdReader::theBSOfromDB::lastAnalyzedLumi_, BeamSpotOnlineHLTRcdReader::theBSOfromDB::lastAnalyzedRun_, BeamSpotOnlineHLTRcdReader::theBSOfromDB::ls, TFileService::make(), BeamSpotOnlineHLTRcdReader::theBSOfromDB::run, tFileService, and theBSOfromDB_.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 190 of file BeamSpotOnlineHLTRcdReader.cc.
|
static |
Definition at line 193 of file BeamSpotOnlineHLTRcdReader.cc.
References edm::ConfigurationDescriptions::addDefault(), and submitPVResolutionJobs::desc.
|
private |
Definition at line 78 of file BeamSpotOnlineHLTRcdReader.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 82 of file BeamSpotOnlineHLTRcdReader.cc.
Referenced by analyze(), and BeamSpotOnlineHLTRcdReader().
|
private |
Definition at line 77 of file BeamSpotOnlineHLTRcdReader.cc.
Referenced by beginJob().
|
private |
Referenced by analyze(), and beginJob().
|
private |
Definition at line 81 of file BeamSpotOnlineHLTRcdReader.cc.
Referenced by analyze().