Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
JetMETCorrections
MCJet
plugins
CaloMCTruthTreeProducer.h
Go to the documentation of this file.
1
#ifndef CALO_MCTRUTH_TREE_PRODUCER_H
2
#define CALO_MCTRUTH_TREE_PRODUCER_H
3
4
#include "TTree.h"
5
#include "TFile.h"
6
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
7
8
//namespace cms
9
//{
10
class
CaloMCTruthTreeProducer
:
public
edm::EDAnalyzer
11
{
12
public
:
13
explicit
CaloMCTruthTreeProducer
(
edm::ParameterSet
const
& cfg);
14
virtual
void
beginJob
();
15
virtual
void
analyze
(
edm::Event
const
&
e
,
edm::EventSetup
const
& iSetup);
16
virtual
void
endJob
();
17
~CaloMCTruthTreeProducer
();
18
19
private
:
20
std::string
histogramFile_
;
21
std::string
jets_
;
22
std::string
genjets_
;
23
TFile*
file_
;
24
TTree*
mcTruthTree_
;
25
float
ptJet_
,
emfJet_
,
ptGen_
,
ptHat_
,
dR_
,
etaJet_
,
etaGen_
,
phiJet_
,
phiGen_
;
26
int
rank_
;
27
};
28
//}
29
30
#endif
CaloMCTruthTreeProducer::beginJob
virtual void beginJob()
Definition:
CaloMCTruthTreeProducer.cc:36
CaloMCTruthTreeProducer
Definition:
CaloMCTruthTreeProducer.h:10
CaloMCTruthTreeProducer::phiJet_
float phiJet_
Definition:
CaloMCTruthTreeProducer.h:25
CaloMCTruthTreeProducer::CaloMCTruthTreeProducer
CaloMCTruthTreeProducer(edm::ParameterSet const &cfg)
Definition:
CaloMCTruthTreeProducer.cc:29
CaloMCTruthTreeProducer::histogramFile_
std::string histogramFile_
Definition:
CaloMCTruthTreeProducer.h:20
CaloMCTruthTreeProducer::rank_
int rank_
Definition:
CaloMCTruthTreeProducer.h:26
CaloMCTruthTreeProducer::etaGen_
float etaGen_
Definition:
CaloMCTruthTreeProducer.h:25
CaloMCTruthTreeProducer::ptHat_
float ptHat_
Definition:
CaloMCTruthTreeProducer.h:25
CaloMCTruthTreeProducer::ptJet_
float ptJet_
Definition:
CaloMCTruthTreeProducer.h:25
CaloMCTruthTreeProducer::ptGen_
float ptGen_
Definition:
CaloMCTruthTreeProducer.h:25
CaloMCTruthTreeProducer::emfJet_
float emfJet_
Definition:
CaloMCTruthTreeProducer.h:25
CaloMCTruthTreeProducer::dR_
float dR_
Definition:
CaloMCTruthTreeProducer.h:25
CaloMCTruthTreeProducer::etaJet_
float etaJet_
Definition:
CaloMCTruthTreeProducer.h:25
CaloMCTruthTreeProducer::file_
TFile * file_
Definition:
CaloMCTruthTreeProducer.h:23
edm::EventSetup
Definition:
EventSetup.h:44
CaloMCTruthTreeProducer::endJob
virtual void endJob()
Definition:
CaloMCTruthTreeProducer.cc:53
CaloMCTruthTreeProducer::phiGen_
float phiGen_
Definition:
CaloMCTruthTreeProducer.h:25
edm::EDAnalyzer
Definition:
EDAnalyzer.h:14
EDAnalyzer.h
CaloMCTruthTreeProducer::jets_
std::string jets_
Definition:
CaloMCTruthTreeProducer.h:21
CaloMCTruthTreeProducer::mcTruthTree_
TTree * mcTruthTree_
Definition:
CaloMCTruthTreeProducer.h:24
alignCSCRings.e
list e
Definition:
alignCSCRings.py:90
CaloMCTruthTreeProducer::~CaloMCTruthTreeProducer
~CaloMCTruthTreeProducer()
Definition:
CaloMCTruthTreeProducer.cc:105
CaloMCTruthTreeProducer::genjets_
std::string genjets_
Definition:
CaloMCTruthTreeProducer.h:22
edm::ParameterSet
Definition:
ParameterSet.h:35
edm::Event
Definition:
Event.h:50
CaloMCTruthTreeProducer::analyze
virtual void analyze(edm::Event const &e, edm::EventSetup const &iSetup)
Definition:
CaloMCTruthTreeProducer.cc:63
Generated for CMSSW Reference Manual by
1.8.5