#include <IOMC/BeamProfile2DB/src/BeamProfile2DB.cc>
Public Member Functions | |
BeamProfile2DB (const edm::ParameterSet &) | |
~BeamProfile2DB () | |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
virtual void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
virtual void | beginRun (edm::Run const &, edm::EventSetup const &) |
virtual void | endJob () |
virtual void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
virtual void | endRun (edm::Run const &, edm::EventSetup const &) |
Private Attributes | |
edm::ParameterSet | config_ |
Description: [one line class summary]
Implementation: [Notes on implementation]
Definition at line 42 of file BeamProfile2DB.cc.
BeamProfile2DB::BeamProfile2DB | ( | const edm::ParameterSet & | iConfig | ) | [explicit] |
BeamProfile2DB::~BeamProfile2DB | ( | ) |
Definition at line 82 of file BeamProfile2DB.cc.
{ // do anything here that needs to be done at desctruction time // (e.g. close files, deallocate resources etc.) }
void BeamProfile2DB::analyze | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup | ||
) | [private, virtual] |
void BeamProfile2DB::beginJob | ( | void | ) | [private, virtual] |
void BeamProfile2DB::beginLuminosityBlock | ( | edm::LuminosityBlock const & | , |
edm::EventSetup const & | |||
) | [private, virtual] |
void BeamProfile2DB::beginRun | ( | edm::Run const & | , |
edm::EventSetup const & | |||
) | [private, virtual] |
void BeamProfile2DB::endJob | ( | void | ) | [private, virtual] |
Reimplemented from edm::EDAnalyzer.
Definition at line 110 of file BeamProfile2DB.cc.
References config_, and SimBeamSpotObjects::read().
{ edm::Service<cond::service::PoolDBOutputService> poolDbService; SimBeamSpotObjects * beam = new SimBeamSpotObjects(); beam->read(config_); poolDbService->createNewIOV<SimBeamSpotObjects>(beam, poolDbService->beginOfTime(),poolDbService->endOfTime(), "SimBeamSpotObjectsRcd" ); }
void BeamProfile2DB::endLuminosityBlock | ( | edm::LuminosityBlock const & | , |
edm::EventSetup const & | |||
) | [private, virtual] |
void BeamProfile2DB::endRun | ( | edm::Run const & | , |
edm::EventSetup const & | |||
) | [private, virtual] |
void BeamProfile2DB::fillDescriptions | ( | edm::ConfigurationDescriptions & | descriptions | ) | [static] |
Reimplemented from edm::EDAnalyzer.
Definition at line 149 of file BeamProfile2DB.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
{ //The following says we do not know what parameters are allowed so do no validation // Please change this to state exactly what you do use, even if it is no parameters edm::ParameterSetDescription desc; desc.setUnknown(); descriptions.addDefault(desc); }
edm::ParameterSet BeamProfile2DB::config_ [private] |
Definition at line 61 of file BeamProfile2DB.cc.
Referenced by BeamProfile2DB(), and endJob().