Go to the documentation of this file.00001 #ifndef BeamSpotProducer_BeamSpotWrite2DB_h
00002 #define BeamSpotProducer_BeamSpotWrite2DB_h
00003
00017
00018 #include <string>
00019
00020 #include "FWCore/Framework/interface/Frameworkfwd.h"
00021 #include "FWCore/Framework/interface/EDAnalyzer.h"
00022 #include "FWCore/Framework/interface/Event.h"
00023 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00024 #include "RecoVertex/BeamSpotProducer/interface/BSTrkParameters.h"
00025
00026
00027 #include "TFile.h"
00028 #include "TTree.h"
00029
00030 #include<fstream>
00031
00032 class BeamSpotWrite2DB : public edm::EDAnalyzer {
00033 public:
00034 explicit BeamSpotWrite2DB(const edm::ParameterSet&);
00035 ~BeamSpotWrite2DB();
00036
00037 private:
00038 virtual void beginJob() ;
00039 virtual void analyze(const edm::Event&, const edm::EventSetup&);
00040 virtual void endJob() ;
00041
00042
00043 std::ifstream fasciiFile;
00044 std::string fasciiFileName;
00045
00046
00047 };
00048
00049 #endif