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
// $Id: EcalTrigPrimAnalyzer.h,v 1.11 2010/02/11 00:14:53 wmtan Exp $
14
//
15
//
16
17
18
// system include files
19
//#include "FWCore/Framework/interface/Frameworkfwd.h"
20
#include "
FWCore/Utilities/interface/InputTag.h
"
21
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
22
23
#include "
FWCore/Framework/interface/Event.h
"
24
#include "
FWCore/Framework/interface/MakerMacros.h
"
25
26
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
27
#include <vector>
28
#include <string>
29
#include <TH1I.h>
30
#include <TFile.h>
31
#include <TTree.h>
32
#include <TH2F.h>
33
#include <TH1F.h>
34
35
//
36
// class declaration
37
//
38
39
class
EcalTrigPrimAnalyzer
:
public
edm::EDAnalyzer
{
40
public
:
41
explicit
EcalTrigPrimAnalyzer
(
const
edm::ParameterSet
&);
42
~EcalTrigPrimAnalyzer
();
43
44
45
virtual
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&);
46
virtual
void
endJob
();
47
private
:
48
49
// for histos of nr of hits
50
std::vector<std::string>
ecal_parts_
;
51
TH1I *
ecal_et_
[2];
52
TH1I *
ecal_tt_
[2];
53
TH1I *
ecal_fgvb_
[2];
54
TH1I *
histEndc
,*
histBar
;
55
TFile *
histfile_
;
56
TH2F *
hTPvsRechit_
;
57
TH1F *
hTPoverRechit_
;
58
TTree *
tree_
;
59
60
int
iphi_
,
ieta_
,
tpgADC_
,
ttf_
,
fg_
;
61
float
eRec_
,
tpgGeV_
;
62
63
edm::InputTag
label_
;
64
65
edm::InputTag
rechits_labelEB_
;
66
edm::InputTag
rechits_labelEE_
;
67
68
bool
recHits_
;
69
};
70
EcalTrigPrimAnalyzer::ecal_et_
TH1I * ecal_et_[2]
Definition:
EcalTrigPrimAnalyzer.h:51
EcalTrigPrimAnalyzer::ttf_
int ttf_
Definition:
EcalTrigPrimAnalyzer.h:60
EcalTrigPrimAnalyzer::histEndc
TH1I * histEndc
Definition:
EcalTrigPrimAnalyzer.h:54
Event.h
MakerMacros.h
EcalTrigPrimAnalyzer::eRec_
float eRec_
Definition:
EcalTrigPrimAnalyzer.h:61
EcalTrigPrimAnalyzer::hTPvsRechit_
TH2F * hTPvsRechit_
Definition:
EcalTrigPrimAnalyzer.h:56
EcalTrigPrimAnalyzer::ieta_
int ieta_
Definition:
EcalTrigPrimAnalyzer.h:60
EcalTrigPrimAnalyzer::analyze
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition:
EcalTrigPrimAnalyzer.cc:105
ParameterSet.h
EcalTrigPrimAnalyzer::endJob
virtual void endJob()
Definition:
EcalTrigPrimAnalyzer.cc:235
EcalTrigPrimAnalyzer::ecal_parts_
std::vector< std::string > ecal_parts_
Definition:
EcalTrigPrimAnalyzer.h:50
EcalTrigPrimAnalyzer::histfile_
TFile * histfile_
Definition:
EcalTrigPrimAnalyzer.h:55
EcalTrigPrimAnalyzer::fg_
int fg_
Definition:
EcalTrigPrimAnalyzer.h:60
EcalTrigPrimAnalyzer::tpgGeV_
float tpgGeV_
Definition:
EcalTrigPrimAnalyzer.h:61
edm::EventSetup
Definition:
EventSetup.h:44
EcalTrigPrimAnalyzer::recHits_
bool recHits_
Definition:
EcalTrigPrimAnalyzer.h:68
EcalTrigPrimAnalyzer
Definition:
EcalTrigPrimAnalyzer.h:39
edm::EDAnalyzer
Definition:
EDAnalyzer.h:14
EDAnalyzer.h
EcalTrigPrimAnalyzer::tree_
TTree * tree_
Definition:
EcalTrigPrimAnalyzer.h:58
EcalTrigPrimAnalyzer::EcalTrigPrimAnalyzer
EcalTrigPrimAnalyzer(const edm::ParameterSet &)
Definition:
EcalTrigPrimAnalyzer.cc:52
EcalTrigPrimAnalyzer::label_
edm::InputTag label_
Definition:
EcalTrigPrimAnalyzer.h:63
EcalTrigPrimAnalyzer::ecal_tt_
TH1I * ecal_tt_[2]
Definition:
EcalTrigPrimAnalyzer.h:52
EcalTrigPrimAnalyzer::rechits_labelEE_
edm::InputTag rechits_labelEE_
Definition:
EcalTrigPrimAnalyzer.h:66
EcalTrigPrimAnalyzer::rechits_labelEB_
edm::InputTag rechits_labelEB_
Definition:
EcalTrigPrimAnalyzer.h:65
EcalTrigPrimAnalyzer::~EcalTrigPrimAnalyzer
~EcalTrigPrimAnalyzer()
Definition:
EcalTrigPrimAnalyzer.cc:87
EcalTrigPrimAnalyzer::ecal_fgvb_
TH1I * ecal_fgvb_[2]
Definition:
EcalTrigPrimAnalyzer.h:53
edm::InputTag
Definition:
InputTag.h:12
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:35
EcalTrigPrimAnalyzer::tpgADC_
int tpgADC_
Definition:
EcalTrigPrimAnalyzer.h:60
edm::Event
Definition:
Event.h:50
EcalTrigPrimAnalyzer::histBar
TH1I * histBar
Definition:
EcalTrigPrimAnalyzer.h:54
EcalTrigPrimAnalyzer::iphi_
int iphi_
Definition:
EcalTrigPrimAnalyzer.h:60
EcalTrigPrimAnalyzer::hTPoverRechit_
TH1F * hTPoverRechit_
Definition:
EcalTrigPrimAnalyzer.h:57
Generated for CMSSW Reference Manual by
1.8.5