CMS 3D CMS Logo

BeamSpotWrite2DB.h
Go to the documentation of this file.
1 #ifndef BeamSpotProducer_BeamSpotWrite2DB_h
2 #define BeamSpotProducer_BeamSpotWrite2DB_h
3 
15 // C++ standard
16 #include <string>
17 // CMS
23 
24 // ROOT
25 #include "TFile.h"
26 #include "TTree.h"
27 
28 #include <fstream>
29 
31 public:
32  explicit BeamSpotWrite2DB(const edm::ParameterSet&);
33  ~BeamSpotWrite2DB() override;
34 
35 private:
36  void beginJob() override;
37  void analyze(const edm::Event&, const edm::EventSetup&) override;
38  void endJob() override;
39 
40  std::ifstream fasciiFile;
42 };
43 
44 #endif
BeamSpotWrite2DB::~BeamSpotWrite2DB
~BeamSpotWrite2DB() override
Definition: BeamSpotWrite2DB.cc:32
BeamSpotWrite2DB::beginJob
void beginJob() override
Definition: BeamSpotWrite2DB.cc:36
BeamSpotWrite2DB::endJob
void endJob() override
Definition: BeamSpotWrite2DB.cc:38
BeamSpotWrite2DB::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: BeamSpotWrite2DB.cc:34
BSTrkParameters.h
EDAnalyzer.h
edm::EDAnalyzer
Definition: EDAnalyzer.h:28
BeamSpotWrite2DB
Definition: BeamSpotWrite2DB.h:30
BeamSpotWrite2DB::fasciiFile
std::ifstream fasciiFile
Definition: BeamSpotWrite2DB.h:40
BeamSpotWrite2DB::BeamSpotWrite2DB
BeamSpotWrite2DB(const edm::ParameterSet &)
Definition: BeamSpotWrite2DB.cc:26
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
edm::EventSetup
Definition: EventSetup.h:58
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
BeamSpotWrite2DB::fasciiFileName
std::string fasciiFileName
Definition: BeamSpotWrite2DB.h:41
Frameworkfwd.h
ParameterSet.h
edm::Event
Definition: Event.h:73