CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
AlCaECALRecHitReducer.h
Go to the documentation of this file.
1 #ifndef _ALCAECALRECHITREDUCER_H
2 #define _ALCAECALRECHITREDUCER_H
3 
4 // -*- C++ -*-
5 //
6 // Package: AlCaECALRecHitReducer
7 // Class: AlCaECALRecHitReducer
8 //
17 //
18 // Original Author: Lorenzo AGOSTINO
19 // Created: Mon Jul 17 18:07:01 CEST 2006
20 //
21 //
22 
23 
24 // system include files
25 #include <memory>
26 
27 // user include files
30 
35 
36 //PG #include "TH2.h"
37 //PG #include "TFile.h"
38 //PG #include "TCanvas.h"
39 
43 
45  public:
49 
50 
51 //PG void beginJob (const edm::EventSetup&)
52 //PG {
53 //PG std::cerr << "saveTest beginJob" << std::endl ;
54 //PG m_failMap = new TH2F ("failMap","failMap",100,0,100,100,0,100) ;
55 //PG std::cerr << "saveTest beginJob " << m_failMap->GetEntries () << std::endl ;
56 //PG }
58  virtual void produce(edm::Event &, const edm::EventSetup&);
59 //PG void endJob ()
60 //PG {
61 //PG std::cerr << "saveTest endJob" << std::endl ;
62 //PG TCanvas c1 ;
63 //PG c1.cd () ;
64 //PG m_failMap->Draw ("BOX") ;
65 //PG c1.Print ("fail.eps","eps") ;
66 //PG TDirectory * curr = gDirectory ;
67 //PG TFile * saveTest = new TFile ("fail.root","recreate") ;
68 //PG saveTest->cd () ;
69 //PG m_failMap->Write () ;
70 //PG curr->cd () ;
71 //PG saveTest->Close () ;
72 //PG }
73 
74  private:
75  // ----------member data ---------------------------
76 
77 
85  int etaSize_;
86  int phiSize_;
87  float weight_;
90 
93  double minElePt_;
94 
95 //PG TH2F * m_failMap ;
96 
97 };
98 
99 #endif
virtual void produce(edm::Event &, const edm::EventSetup &)
producer
std::string alcaPreshowerHitsCollection_
AlCaECALRecHitReducer(const edm::ParameterSet &)
ctor