Go to the documentation of this file.00001 #ifndef HcalConstantsASCIIWriter_h
00002 #define HcalConstantsASCIIWriter_h
00003
00004
00005 #include <memory>
00006 #include <string>
00007 #include <iostream>
00008
00009
00010 #include "FWCore/Framework/interface/Frameworkfwd.h"
00011 #include "FWCore/Framework/interface/EDAnalyzer.h"
00012 #include "FWCore/Framework/interface/Event.h"
00013 #include "FWCore/Framework/interface/MakerMacros.h"
00014 #include "FWCore/Framework/interface/EDProducer.h"
00015 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00016 #include "DataFormats/Common/interface/Ref.h"
00017 #include "DataFormats/TrackReco/interface/Track.h"
00018 #include "DataFormats/CaloTowers/interface/CaloTowerCollection.h"
00019 #include "DataFormats/Candidate/interface/Candidate.h"
00020 #include "DataFormats/DetId/interface/DetId.h"
00021 #include "DataFormats/JetReco/interface/Jet.h"
00022 #include "DataFormats/JetReco/interface/CaloJet.h"
00023 #include "DataFormats/JetReco/interface/CaloJetCollection.h"
00024 #include "DataFormats/HcalRecHit/interface/HcalRecHitCollections.h"
00025 #include "DataFormats/EcalRecHit/interface/EcalRecHitCollections.h"
00026 #include "Geometry/CaloGeometry/interface/CaloGeometry.h"
00027 #include "DataFormats/GeometryVector/interface/GlobalPoint.h"
00028 #include "DataFormats/CaloTowers/interface/CaloTowerDetId.h"
00029 #include "FWCore/Framework/interface/ESHandle.h"
00030 #include "FWCore/Framework/interface/EventSetup.h"
00031
00032 #include "TFile.h"
00033 #include "TH1.h"
00034 #include "TH2.h"
00035 #include "TTree.h"
00036 #include "DataFormats/HcalDetId/interface/HcalDetId.h"
00037 #include <vector>
00038 #include <map>
00039
00040 #include <string>
00041 #include <iostream>
00042 #include <fstream>
00043 #include <sstream>
00044
00045
00046
00047
00048 namespace cms{
00049 class HcalConstantsASCIIWriter : public edm::EDAnalyzer {
00050 public:
00051 explicit HcalConstantsASCIIWriter(const edm::ParameterSet&);
00052 ~HcalConstantsASCIIWriter();
00053
00054 virtual void analyze(const edm::Event&, const edm::EventSetup&);
00055 virtual void beginJob() ;
00056 virtual void endJob() ;
00057
00058 private:
00059
00060
00061 std::ofstream *myout_hcal;
00062 std::string file_input;
00063 std::string file_output;
00064 };
00065 }
00066 #endif