CMS 3D CMS Logo

EcalTrigPrimAnalyzer.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Class: EcalTrigPrimAnalyzer
4 //
10 //
11 // Original Author: Ursula Berthon
12 // Created: Thu Jul 4 11:38:38 CEST 2005
13 //
14 //
15 
16 // system include files
17 //#include "FWCore/Framework/interface/Frameworkfwd.h"
20 
23 
25 #include <TFile.h>
26 #include <TH1F.h>
27 #include <TH1I.h>
28 #include <TH2F.h>
29 #include <TTree.h>
30 #include <string>
31 #include <vector>
32 
33 //
34 // class declaration
35 //
36 
38 public:
39  explicit EcalTrigPrimAnalyzer(const edm::ParameterSet &);
40  ~EcalTrigPrimAnalyzer() override;
41 
42  void analyze(const edm::Event &, const edm::EventSetup &) override;
43  void endJob() override;
44 
45 private:
46  // for histos of nr of hits
47  std::vector<std::string> ecal_parts_;
48  TH1I *ecal_et_[2];
49  TH1I *ecal_tt_[2];
50  TH1I *ecal_fgvb_[2];
51  TH1I *histEndc, *histBar;
52  TFile *histfile_;
53  TH2F *hTPvsRechit_;
55  TTree *tree_;
56 
58  float eRec_, tpgGeV_;
59 
61 
64 
65  bool recHits_;
66 };
EcalTrigPrimAnalyzer
Definition: EcalTrigPrimAnalyzer.h:37
EDAnalyzer.h
EcalTrigPrimAnalyzer::ecal_fgvb_
TH1I * ecal_fgvb_[2]
Definition: EcalTrigPrimAnalyzer.h:50
EcalTrigPrimAnalyzer::ieta_
int ieta_
Definition: EcalTrigPrimAnalyzer.h:57
EcalTrigPrimAnalyzer::hTPvsRechit_
TH2F * hTPvsRechit_
Definition: EcalTrigPrimAnalyzer.h:53
EcalTrigPrimAnalyzer::histfile_
TFile * histfile_
Definition: EcalTrigPrimAnalyzer.h:52
EcalTrigPrimAnalyzer::ecal_et_
TH1I * ecal_et_[2]
Definition: EcalTrigPrimAnalyzer.h:48
EcalTrigPrimAnalyzer::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: EcalTrigPrimAnalyzer.cc:97
edm::one::EDAnalyzer
Definition: EDAnalyzer.h:30
EcalTrigPrimAnalyzer::endJob
void endJob() override
Definition: EcalTrigPrimAnalyzer.cc:226
EcalTrigPrimAnalyzer::ttf_
int ttf_
Definition: EcalTrigPrimAnalyzer.h:57
EcalTrigPrimAnalyzer::ecal_parts_
std::vector< std::string > ecal_parts_
Definition: EcalTrigPrimAnalyzer.h:47
MakerMacros.h
EcalTrigPrimAnalyzer::~EcalTrigPrimAnalyzer
~EcalTrigPrimAnalyzer() override
Definition: EcalTrigPrimAnalyzer.cc:84
EcalTrigPrimAnalyzer::rechits_labelEB_
edm::InputTag rechits_labelEB_
Definition: EcalTrigPrimAnalyzer.h:62
EcalTrigPrimAnalyzer::label_
edm::InputTag label_
Definition: EcalTrigPrimAnalyzer.h:60
edm::ParameterSet
Definition: ParameterSet.h:36
EcalTrigPrimAnalyzer::tpgADC_
int tpgADC_
Definition: EcalTrigPrimAnalyzer.h:57
Event.h
EcalTrigPrimAnalyzer::tree_
TTree * tree_
Definition: EcalTrigPrimAnalyzer.h:55
edm::EventSetup
Definition: EventSetup.h:57
InputTag.h
EcalTrigPrimAnalyzer::tpgGeV_
float tpgGeV_
Definition: EcalTrigPrimAnalyzer.h:58
EcalTrigPrimAnalyzer::recHits_
bool recHits_
Definition: EcalTrigPrimAnalyzer.h:65
EcalTrigPrimAnalyzer::histBar
TH1I * histBar
Definition: EcalTrigPrimAnalyzer.h:51
EcalTrigPrimAnalyzer::ecal_tt_
TH1I * ecal_tt_[2]
Definition: EcalTrigPrimAnalyzer.h:49
EcalTrigPrimAnalyzer::hTPoverRechit_
TH1F * hTPoverRechit_
Definition: EcalTrigPrimAnalyzer.h:54
EcalTrigPrimAnalyzer::rechits_labelEE_
edm::InputTag rechits_labelEE_
Definition: EcalTrigPrimAnalyzer.h:63
EcalTrigPrimAnalyzer::fg_
int fg_
Definition: EcalTrigPrimAnalyzer.h:57
EcalTrigPrimAnalyzer::iphi_
int iphi_
Definition: EcalTrigPrimAnalyzer.h:57
EcalTrigPrimAnalyzer::EcalTrigPrimAnalyzer
EcalTrigPrimAnalyzer(const edm::ParameterSet &)
Definition: EcalTrigPrimAnalyzer.cc:50
ParameterSet.h
EcalTrigPrimAnalyzer::eRec_
float eRec_
Definition: EcalTrigPrimAnalyzer.h:58
edm::Event
Definition: Event.h:73
EcalTrigPrimAnalyzer::histEndc
TH1I * histEndc
Definition: EcalTrigPrimAnalyzer.h:51
edm::InputTag
Definition: InputTag.h:15