CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/RecoTBCalo/EcalTBHodoscopeReconstructor/interface/EcalTBHodoscopeRawInfoDumper.h

Go to the documentation of this file.
00001 #ifndef RecoTBCalo_EcalTBHodoscopeReconstructor_EcalTBHodoscopeRawInfoDumper_HH
00002 #define RecoTBCalo_EcalTBHodoscopeReconstructor_EcalTBHodoscopeRawInfoDumper_HH
00003 
00004 #include "FWCore/Framework/interface/EDAnalyzer.h"
00005 #include "FWCore/Framework/interface/Event.h"
00006 #include "DataFormats/Common/interface/Handle.h"
00007 
00008 #include "FWCore/Framework/interface/EventSetup.h"
00009 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00010 
00011 #include <vector>
00012 #include <string>
00013 //#include "TTree.h"
00014 #include "TH1.h"
00015 #include "TGraph.h"
00016 #include "TH2.h"
00017 class EcalTBHodoscopeRawInfoDumper : public edm::EDAnalyzer {
00018 
00019  public:
00020 
00021   explicit EcalTBHodoscopeRawInfoDumper(const edm::ParameterSet& ps);
00022   virtual ~EcalTBHodoscopeRawInfoDumper() ;
00023   virtual void analyze( const edm::Event&, const edm::EventSetup& );
00024   virtual void beginJob();
00025   virtual void endJob();
00026 
00027  private:
00028 
00029   std::string rawInfoProducer_; // name of module/plugin/producer making digis
00030   std::string rawInfoCollection_; // secondary name given to collection of digis
00031   std::string rootfile_;
00032   TH1F* h_numberOfFiredHits_[4];
00033   TH1F* h_firedHits_[4];
00034 };
00035 #endif