CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/Calibration/EcalCalibAlgos/interface/miscalibExample.h

Go to the documentation of this file.
00001 #ifndef Calibration_EcalCalibAlgos_miscalibExample_h
00002 #define Calibration_EcalCalibAlgos_miscalibExample_h
00003 
00011 //
00012 // $Id: miscalibExample.h,v 1.2 2010/01/04 15:07:17 ferriff Exp $
00013 //
00014 
00015 
00016 // system include files
00017 #include <memory>
00018 
00019 // user include files
00020 #include "FWCore/Framework/interface/Frameworkfwd.h"
00021 #include "FWCore/Framework/interface/EDAnalyzer.h"
00022 
00023 #include "FWCore/Framework/interface/Event.h"
00024 #include "FWCore/Framework/interface/MakerMacros.h"
00025 
00026 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00027 
00028 #include <string>
00029 #include "TH1.h"
00030 #include "TFile.h"
00031 //
00032 // class declaration
00033 //
00034 
00035 
00036 
00037 class miscalibExample : public edm::EDAnalyzer {
00038    public:
00039       explicit miscalibExample(const edm::ParameterSet&);
00040       ~miscalibExample();
00041 
00042       virtual void analyze(const edm::Event&, const edm::EventSetup&);
00043       virtual void beginJob();
00044       virtual void endJob();
00045    private:
00046 
00047 
00048       // ----------member data ---------------------------
00049       std::string rootfile_;
00050       std::string correctedHybridSuperClusterProducer_;
00051       std::string correctedHybridSuperClusterCollection_;
00052       std::string BarrelHitsCollection_;
00053       std::string ecalHitsProducer_ ;
00054       int read_events;
00055 
00056       TH1F* scEnergy;
00057 };
00058 
00059 #endif