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 // $Id: AlCaECALRecHitReducer.h,v 1.1 2012/07/12 18:49:41 shervin Exp $
21 //
22 //
23 
24 
25 // system include files
26 #include <memory>
27 
28 // user include files
31 
36 
37 //PG #include "TH2.h"
38 //PG #include "TFile.h"
39 //PG #include "TCanvas.h"
40 
44 
46  public:
50 
51 
52 //PG void beginJob (const edm::EventSetup&)
53 //PG {
54 //PG std::cerr << "saveTest beginJob" << std::endl ;
55 //PG m_failMap = new TH2F ("failMap","failMap",100,0,100,100,0,100) ;
56 //PG std::cerr << "saveTest beginJob " << m_failMap->GetEntries () << std::endl ;
57 //PG }
59  virtual void produce(edm::Event &, const edm::EventSetup&);
60 //PG void endJob ()
61 //PG {
62 //PG std::cerr << "saveTest endJob" << std::endl ;
63 //PG TCanvas c1 ;
64 //PG c1.cd () ;
65 //PG m_failMap->Draw ("BOX") ;
66 //PG c1.Print ("fail.eps","eps") ;
67 //PG TDirectory * curr = gDirectory ;
68 //PG TFile * saveTest = new TFile ("fail.root","recreate") ;
69 //PG saveTest->cd () ;
70 //PG m_failMap->Write () ;
71 //PG curr->cd () ;
72 //PG saveTest->Close () ;
73 //PG }
74 
75  private:
76  // ----------member data ---------------------------
77 
78 
86  int etaSize_;
87  int phiSize_;
88  float weight_;
91 
94  double minElePt_;
95 
96 //PG TH2F * m_failMap ;
97 
98 };
99 
100 #endif
virtual void produce(edm::Event &, const edm::EventSetup &)
producer
std::string alcaPreshowerHitsCollection_
AlCaECALRecHitReducer(const edm::ParameterSet &)
ctor