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
27 
28 #include <TH1I.h>
29 #include <string>
30 #include <vector>
31 
32 //
33 // class declaration
34 //
35 
36 class EcalTPInputAnalyzer : public edm::one::EDAnalyzer<edm::one::SharedResources> {
37 public:
38  explicit EcalTPInputAnalyzer(const edm::ParameterSet &);
39  ~EcalTPInputAnalyzer() override = default;
40 
41  void analyze(const edm::Event &, const edm::EventSetup &) 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 
56 };
57 #endif
void analyze(const edm::Event &, const edm::EventSetup &) override
const std::string eeLabel_
const edm::EDGetTokenT< EBDigiCollection > ebToken_
std::vector< std::string > ecal_parts_
const std::string producer_
~EcalTPInputAnalyzer() override=default
const std::string ebLabel_
const edm::EDGetTokenT< EEDigiCollection > eeToken_
EcalTPInputAnalyzer(const edm::ParameterSet &)