#include <CondTools/BeamSpot/plugins/BeamSpotRcdReader.cc>
Classes | |
struct | theBSfromDB |
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 |
Private Attributes | |
const edm::ESGetToken< BeamSpotObjects, BeamSpotObjectsRcd > | beamSpotToken_ |
TTree * | bstree_ |
std::unique_ptr< std::ofstream > | output_ |
edm::Service< TFileService > | tFileService |
struct BeamSpotRcdReader::theBSfromDB | theBSfromDB_ |
edm::ESWatcher< BeamSpotObjectsRcd > | watcher_ |
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: simple emd::one::EDAnalyzer to retrieve and ntuplize BeamSpot data from the conditions database
Implementation: [Notes on implementation]
Definition at line 48 of file BeamSpotRcdReader.cc.
|
explicit |
Definition at line 84 of file BeamSpotRcdReader.cc.
References MillePedeFileConverter_cfg::fileName, edm::ParameterSet::getUntrackedParameter(), output_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridedefault |
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 120 of file BeamSpotRcdReader.cc.
References BeamSpotRcdReader::theBSfromDB::Beamdxdz_, BeamSpotRcdReader::theBSfromDB::Beamsigmaz_, beamSpotToken_, BeamSpotObjects::beamWidthX(), BeamSpotRcdReader::theBSfromDB::BeamWidthX_, BeamSpotObjects::beamWidthY(), BeamSpotRcdReader::theBSfromDB::BeamWidthY_, bstree_, BeamSpotRcdReader::theBSfromDB::BSx0_, BeamSpotRcdReader::theBSfromDB::BSy0_, BeamSpotRcdReader::theBSfromDB::BSz0_, edm::ESWatcher< T >::check(), BeamSpotObjects::dxdz(), edm::EventSetup::getData(), iEvent, BeamSpotRcdReader::theBSfromDB::init(), BeamSpotRcdReader::theBSfromDB::ls, convertSQLitetoXML_cfg::output, output_, BeamSpotRcdReader::theBSfromDB::run, BeamSpotObjects::sigmaZ(), theBSfromDB_, watcher_, BeamSpotObjects::x(), BeamSpotObjects::y(), and BeamSpotObjects::z().
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 157 of file BeamSpotRcdReader.cc.
References BeamSpotRcdReader::theBSfromDB::Beamdxdz_, BeamSpotRcdReader::theBSfromDB::Beamsigmaz_, BeamSpotRcdReader::theBSfromDB::BeamWidthX_, BeamSpotRcdReader::theBSfromDB::BeamWidthY_, bstree_, BeamSpotRcdReader::theBSfromDB::BSx0_, BeamSpotRcdReader::theBSfromDB::BSy0_, BeamSpotRcdReader::theBSfromDB::BSz0_, BeamSpotRcdReader::theBSfromDB::ls, TFileService::make(), BeamSpotRcdReader::theBSfromDB::run, tFileService, and theBSfromDB_.
|
static |
Definition at line 173 of file BeamSpotRcdReader.cc.
References edm::ConfigurationDescriptions::addDefault(), and submitPVResolutionJobs::desc.
|
private |
Definition at line 72 of file BeamSpotRcdReader.cc.
Referenced by analyze().
|
private |
Definition at line 74 of file BeamSpotRcdReader.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 78 of file BeamSpotRcdReader.cc.
Referenced by analyze(), and BeamSpotRcdReader().
|
private |
Definition at line 73 of file BeamSpotRcdReader.cc.
Referenced by beginJob().
|
private |
Referenced by analyze(), and beginJob().
|
private |
Definition at line 77 of file BeamSpotRcdReader.cc.
Referenced by analyze().