Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
17
// system include files
18
//#include "FWCore/Framework/interface/Frameworkfwd.h"
19
#include "
FWCore/Utilities/interface/InputTag.h
"
20
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
21
22
#include "
FWCore/Framework/interface/Event.h
"
23
#include "
FWCore/Framework/interface/MakerMacros.h
"
24
25
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
26
#include <vector>
27
#include <string>
28
#include <TH1I.h>
29
#include <TFile.h>
30
#include <TTree.h>
31
#include <TH2F.h>
32
#include <TH1F.h>
33
34
//
35
// class declaration
36
//
37
38
class
EcalTrigPrimAnalyzer
:
public
edm::EDAnalyzer
{
39
public
:
40
explicit
EcalTrigPrimAnalyzer
(
const
edm::ParameterSet
&);
41
~EcalTrigPrimAnalyzer
();
42
43
44
virtual
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
45
virtual
void
endJob
();
46
private
:
47
48
// for histos of nr of hits
49
std::vector<std::string>
ecal_parts_
;
50
TH1I *
ecal_et_
[2];
51
TH1I *
ecal_tt_
[2];
52
TH1I *
ecal_fgvb_
[2];
53
TH1I *
histEndc
,*
histBar
;
54
TFile *
histfile_
;
55
TH2F *
hTPvsRechit_
;
56
TH1F *
hTPoverRechit_
;
57
TTree *
tree_
;
58
59
int
iphi_
,
ieta_
,
tpgADC_
,
ttf_
,
fg_
;
60
float
eRec_
,
tpgGeV_
;
61
62
edm::InputTag
label_
;
63
64
edm::InputTag
rechits_labelEB_
;
65
edm::InputTag
rechits_labelEE_
;
66
67
bool
recHits_
;
68
};
69
EcalTrigPrimAnalyzer::ecal_et_
TH1I * ecal_et_[2]
Definition:
EcalTrigPrimAnalyzer.h:50
EcalTrigPrimAnalyzer::ttf_
int ttf_
Definition:
EcalTrigPrimAnalyzer.h:59
EcalTrigPrimAnalyzer::histEndc
TH1I * histEndc
Definition:
EcalTrigPrimAnalyzer.h:53
Event.h
MakerMacros.h
EcalTrigPrimAnalyzer::eRec_
float eRec_
Definition:
EcalTrigPrimAnalyzer.h:60
EcalTrigPrimAnalyzer::hTPvsRechit_
TH2F * hTPvsRechit_
Definition:
EcalTrigPrimAnalyzer.h:55
EcalTrigPrimAnalyzer::ieta_
int ieta_
Definition:
EcalTrigPrimAnalyzer.h:59
ParameterSet.h
EcalTrigPrimAnalyzer::endJob
virtual void endJob()
Definition:
EcalTrigPrimAnalyzer.cc:234
EcalTrigPrimAnalyzer::analyze
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
EcalTrigPrimAnalyzer.cc:104
EcalTrigPrimAnalyzer::ecal_parts_
std::vector< std::string > ecal_parts_
Definition:
EcalTrigPrimAnalyzer.h:49
EcalTrigPrimAnalyzer::histfile_
TFile * histfile_
Definition:
EcalTrigPrimAnalyzer.h:54
EcalTrigPrimAnalyzer::fg_
int fg_
Definition:
EcalTrigPrimAnalyzer.h:59
EcalTrigPrimAnalyzer::tpgGeV_
float tpgGeV_
Definition:
EcalTrigPrimAnalyzer.h:60
edm::EventSetup
Definition:
EventSetup.h:44
EcalTrigPrimAnalyzer::recHits_
bool recHits_
Definition:
EcalTrigPrimAnalyzer.h:67
EcalTrigPrimAnalyzer
Definition:
EcalTrigPrimAnalyzer.h:38
edm::EDAnalyzer
Definition:
EDAnalyzer.h:22
EDAnalyzer.h
EcalTrigPrimAnalyzer::tree_
TTree * tree_
Definition:
EcalTrigPrimAnalyzer.h:57
EcalTrigPrimAnalyzer::EcalTrigPrimAnalyzer
EcalTrigPrimAnalyzer(const edm::ParameterSet &)
Definition:
EcalTrigPrimAnalyzer.cc:51
EcalTrigPrimAnalyzer::label_
edm::InputTag label_
Definition:
EcalTrigPrimAnalyzer.h:62
EcalTrigPrimAnalyzer::ecal_tt_
TH1I * ecal_tt_[2]
Definition:
EcalTrigPrimAnalyzer.h:51
EcalTrigPrimAnalyzer::rechits_labelEE_
edm::InputTag rechits_labelEE_
Definition:
EcalTrigPrimAnalyzer.h:65
EcalTrigPrimAnalyzer::rechits_labelEB_
edm::InputTag rechits_labelEB_
Definition:
EcalTrigPrimAnalyzer.h:64
EcalTrigPrimAnalyzer::~EcalTrigPrimAnalyzer
~EcalTrigPrimAnalyzer()
Definition:
EcalTrigPrimAnalyzer.cc:86
EcalTrigPrimAnalyzer::ecal_fgvb_
TH1I * ecal_fgvb_[2]
Definition:
EcalTrigPrimAnalyzer.h:52
edm::InputTag
Definition:
InputTag.h:17
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:35
EcalTrigPrimAnalyzer::tpgADC_
int tpgADC_
Definition:
EcalTrigPrimAnalyzer.h:59
edm::Event
Definition:
Event.h:62
EcalTrigPrimAnalyzer::histBar
TH1I * histBar
Definition:
EcalTrigPrimAnalyzer.h:53
EcalTrigPrimAnalyzer::iphi_
int iphi_
Definition:
EcalTrigPrimAnalyzer.h:59
EcalTrigPrimAnalyzer::hTPoverRechit_
TH1F * hTPoverRechit_
Definition:
EcalTrigPrimAnalyzer.h:56
Generated for CMSSW Reference Manual by
1.8.5