CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalTPInputAnalyzer.h
Go to the documentation of this file.
1 #ifndef EcalTPInputAnalyzer_h
2 #define EcalTPInputAnalyzer_h
3 // -*- C++ -*-
4 //
5 // Class: EcalTPInutAnalyzer
6 //
12 //
13 // Original Author: Ursula Berthon
14 // Created: Thu Jul 4 11:38:38 CEST 2005
15 // $Id: EcalTPInputAnalyzer.h,v 1.2 2008/01/17 13:40:55 uberthon Exp $
16 //
17 //
18 
19 
20 // system include files
23 
26 
28 #include <vector>
29 #include <string>
30 #include <TH1I.h>
31 #include <TFile.h>
32 
33 
34 //
35 // class declaration
36 //
37 
39  public:
40  explicit EcalTPInputAnalyzer(const edm::ParameterSet&);
42 
43  virtual void analyze(const edm::Event&, const edm::EventSetup&);
44  void endJob();
45 
46  private:
47 
48  // for histos of nr of hits
49  std::vector<std::string> ecal_parts_;
50  TH1I * ecal_et_[2];
51  TH1I * ecal_tt_[2];
52  TH1I * ecal_fgvb_[2];
53  TH1I *histEndc,*histBar;
54  TFile *histfile_;
55 
56  std::string ebLabel_;
57  std::string eeLabel_;
58  std::string producer_;
59 
60 };
61 #endif
virtual void analyze(const edm::Event &, const edm::EventSetup &)
std::vector< std::string > ecal_parts_
EcalTPInputAnalyzer(const edm::ParameterSet &)