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
std::ifstream fasciiFile
std::string fasciiFileName
void endJob() override
~BeamSpotWrite2DB() override
void analyze(const edm::Event &, const edm::EventSetup &) override
void beginJob() override
BeamSpotWrite2DB(const edm::ParameterSet &)