#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 | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) override |
virtual void | beginJob () override |
virtual void | endJob () override |
Private Attributes | |
TTree * | bstree_ |
std::auto_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) |
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 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) |
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 94 of file BeamSpotRcdReader.cc.
References MillePedeFileConverter_cfg::fileName, edm::ParameterSet::getUntrackedParameter(), output_, AlCaHLTBitMon_QueryRunRegistry::string, and usesResource().
BeamSpotRcdReader::~BeamSpotRcdReader | ( | ) |
Definition at line 110 of file BeamSpotRcdReader.cc.
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 145 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_, edm::ESWatcher< T >::check(), edm::EventSetup::get(), BeamSpotObjects::GetBeamWidthX(), BeamSpotObjects::GetBeamWidthY(), BeamSpotObjects::Getdxdz(), BeamSpotObjects::GetSigmaZ(), BeamSpotObjects::GetX(), BeamSpotObjects::GetY(), BeamSpotObjects::GetZ(), edm::EventBase::id(), BeamSpotRcdReader::theBSfromDB::init(), BeamSpotRcdReader::theBSfromDB::ls, edm::EventID::luminosityBlock(), convertSQLitetoXML_cfg::output, output_, edm::ESHandle< class >::product(), edm::EventID::run(), BeamSpotRcdReader::theBSfromDB::run, theBSfromDB_, and watcher_.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 186 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_.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 205 of file BeamSpotRcdReader.cc.
|
static |
Definition at line 211 of file BeamSpotRcdReader.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
private |
Definition at line 76 of file BeamSpotRcdReader.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 80 of file BeamSpotRcdReader.cc.
Referenced by analyze(), and BeamSpotRcdReader().
|
private |
Definition at line 75 of file BeamSpotRcdReader.cc.
Referenced by beginJob().
|
private |
Referenced by analyze(), and beginJob().
|
private |
Definition at line 79 of file BeamSpotRcdReader.cc.
Referenced by analyze().