test
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 //
16 //
17 
18 
19 // system include files
22 
25 
27 #include <vector>
28 #include <string>
29 #include <TH1I.h>
30 #include <TFile.h>
31 
32 
33 //
34 // class declaration
35 //
36 
38  public:
39  explicit EcalTPInputAnalyzer(const edm::ParameterSet&);
41 
42  virtual void analyze(const edm::Event&, const edm::EventSetup&) override;
43  void endJob();
44 
45  private:
46 
47  // for histos of nr of hits
48  std::vector<std::string> ecal_parts_;
49  TH1I * ecal_et_[2];
50  TH1I * ecal_tt_[2];
51  TH1I * ecal_fgvb_[2];
52  TH1I *histEndc,*histBar;
53  TFile *histfile_;
54 
58 
59 };
60 #endif
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
std::vector< std::string > ecal_parts_
EcalTPInputAnalyzer(const edm::ParameterSet &)