Main Page
Namespaces
Classes
Package Documentation
src
SimCalorimetry
EcalTrigPrimProducers
plugins
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"
18
#include "
FWCore/Framework/interface/one/EDAnalyzer.h
"
19
#include "
FWCore/Utilities/interface/InputTag.h
"
20
21
#include "
FWCore/Framework/interface/Event.h
"
22
#include "
FWCore/Framework/interface/MakerMacros.h
"
23
24
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
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
37
class
EcalTrigPrimAnalyzer
:
public
edm::one::EDAnalyzer
<> {
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_
;
54
TH1F *
hTPoverRechit_
;
55
TTree *
tree_
;
56
57
int
iphi_
,
ieta_
,
tpgADC_
,
ttf_
,
fg_
;
58
float
eRec_
,
tpgGeV_
;
59
60
edm::InputTag
label_
;
61
62
edm::InputTag
rechits_labelEB_
;
63
edm::InputTag
rechits_labelEE_
;
64
65
bool
recHits_
;
66
};
EcalTrigPrimAnalyzer::ecal_et_
TH1I * ecal_et_[2]
Definition:
EcalTrigPrimAnalyzer.h:48
EcalTrigPrimAnalyzer::ttf_
int ttf_
Definition:
EcalTrigPrimAnalyzer.h:57
EcalTrigPrimAnalyzer::histEndc
TH1I * histEndc
Definition:
EcalTrigPrimAnalyzer.h:51
Event.h
MakerMacros.h
EcalTrigPrimAnalyzer::eRec_
float eRec_
Definition:
EcalTrigPrimAnalyzer.h:58
EcalTrigPrimAnalyzer::hTPvsRechit_
TH2F * hTPvsRechit_
Definition:
EcalTrigPrimAnalyzer.h:53
EcalTrigPrimAnalyzer::ieta_
int ieta_
Definition:
EcalTrigPrimAnalyzer.h:57
ParameterSet.h
EcalTrigPrimAnalyzer::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
EcalTrigPrimAnalyzer.cc:99
EcalTrigPrimAnalyzer::~EcalTrigPrimAnalyzer
~EcalTrigPrimAnalyzer() override
Definition:
EcalTrigPrimAnalyzer.cc:85
EcalTrigPrimAnalyzer::ecal_parts_
std::vector< std::string > ecal_parts_
Definition:
EcalTrigPrimAnalyzer.h:47
EcalTrigPrimAnalyzer::histfile_
TFile * histfile_
Definition:
EcalTrigPrimAnalyzer.h:52
EcalTrigPrimAnalyzer::fg_
int fg_
Definition:
EcalTrigPrimAnalyzer.h:57
EcalTrigPrimAnalyzer::tpgGeV_
float tpgGeV_
Definition:
EcalTrigPrimAnalyzer.h:58
edm::EventSetup
Definition:
EventSetup.h:57
EcalTrigPrimAnalyzer::recHits_
bool recHits_
Definition:
EcalTrigPrimAnalyzer.h:65
EcalTrigPrimAnalyzer::endJob
void endJob() override
Definition:
EcalTrigPrimAnalyzer.cc:235
EcalTrigPrimAnalyzer
Definition:
EcalTrigPrimAnalyzer.h:37
EcalTrigPrimAnalyzer::tree_
TTree * tree_
Definition:
EcalTrigPrimAnalyzer.h:55
EcalTrigPrimAnalyzer::EcalTrigPrimAnalyzer
EcalTrigPrimAnalyzer(const edm::ParameterSet &)
Definition:
EcalTrigPrimAnalyzer.cc:50
EcalTrigPrimAnalyzer::label_
edm::InputTag label_
Definition:
EcalTrigPrimAnalyzer.h:60
EcalTrigPrimAnalyzer::ecal_tt_
TH1I * ecal_tt_[2]
Definition:
EcalTrigPrimAnalyzer.h:49
EcalTrigPrimAnalyzer::rechits_labelEE_
edm::InputTag rechits_labelEE_
Definition:
EcalTrigPrimAnalyzer.h:63
EcalTrigPrimAnalyzer::rechits_labelEB_
edm::InputTag rechits_labelEB_
Definition:
EcalTrigPrimAnalyzer.h:62
EcalTrigPrimAnalyzer::ecal_fgvb_
TH1I * ecal_fgvb_[2]
Definition:
EcalTrigPrimAnalyzer.h:50
EDAnalyzer.h
edm::InputTag
Definition:
InputTag.h:15
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:36
EcalTrigPrimAnalyzer::tpgADC_
int tpgADC_
Definition:
EcalTrigPrimAnalyzer.h:57
edm::Event
Definition:
Event.h:71
EcalTrigPrimAnalyzer::histBar
TH1I * histBar
Definition:
EcalTrigPrimAnalyzer.h:51
edm::one::EDAnalyzer
Definition:
EDAnalyzer.h:30
EcalTrigPrimAnalyzer::iphi_
int iphi_
Definition:
EcalTrigPrimAnalyzer.h:57
EcalTrigPrimAnalyzer::hTPoverRechit_
TH1F * hTPoverRechit_
Definition:
EcalTrigPrimAnalyzer.h:54
Generated for CMSSW Reference Manual by
1.8.11