CMS 3D CMS Logo

BeamSpotWrite2DB.h
Go to the documentation of this file.
1 #ifndef BeamSpotProducer_BeamSpotWrite2DB_h
2 #define BeamSpotProducer_BeamSpotWrite2DB_h
3 
16 // C++ standard
17 #include <string>
18 // CMS
24 
25 // ROOT
26 #include "TFile.h"
27 #include "TTree.h"
28 
29 #include<fstream>
30 
32  public:
33  explicit BeamSpotWrite2DB(const edm::ParameterSet&);
34  ~BeamSpotWrite2DB() override;
35 
36  private:
37  void beginJob() override ;
38  void analyze(const edm::Event&, const edm::EventSetup&) override;
39  void endJob() override ;
40 
41 
42  std::ifstream fasciiFile;
44 
45 
46 };
47 
48 #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 &)