CMS 3D CMS Logo

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 // system include files
21 
24 
26 #include <TFile.h>
27 #include <TH1I.h>
28 #include <string>
29 #include <vector>
30 
31 //
32 // class declaration
33 //
34 
36 public:
37  explicit EcalTPInputAnalyzer(const edm::ParameterSet &);
38  ~EcalTPInputAnalyzer() override;
39 
40  void analyze(const edm::Event &, const edm::EventSetup &) override;
41  void endJob() override;
42 
43 private:
44  // for histos of nr of hits
45  std::vector<std::string> ecal_parts_;
46  TH1I *ecal_et_[2];
47  TH1I *ecal_tt_[2];
48  TH1I *ecal_fgvb_[2];
49  TH1I *histEndc, *histBar;
50  TFile *histfile_;
51 
55 };
56 #endif
void analyze(const edm::Event &, const edm::EventSetup &) override
std::vector< std::string > ecal_parts_
EcalTPInputAnalyzer(const edm::ParameterSet &)