Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
JetMETCorrections
MCJet
plugins
PFMCTruthTreeProducer.h
Go to the documentation of this file.
1
#ifndef PF_MCTRUTH_TREE_PRODUCER_H
2
#define PF_MCTRUTH_TREE_PRODUCER_H
3
4
#include "TTree.h"
5
#include "TFile.h"
6
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
7
#include "
DataFormats/JetReco/interface/PFJetCollection.h
"
8
#include "
DataFormats/JetReco/interface/GenJetCollection.h
"
9
#include "
SimDataFormats/GeneratorProducts/interface/GenEventInfoProduct.h
"
10
11
//namespace cms
12
//{
13
class
PFMCTruthTreeProducer
:
public
edm::EDAnalyzer
14
{
15
public
:
16
explicit
PFMCTruthTreeProducer
(
edm::ParameterSet
const
&
cfg
);
17
virtual
void
beginJob
();
18
virtual
void
analyze
(
edm::Event
const
&
e
,
edm::EventSetup
const
& iSetup);
19
virtual
void
endJob
();
20
~PFMCTruthTreeProducer
();
21
22
private
:
23
std::string
histogramFile_
;
24
edm::EDGetTokenT<reco::PFJetCollection>
jets_
;
25
edm::EDGetTokenT<reco::GenJetCollection>
genjets_
;
26
edm::EDGetTokenT<GenEventInfoProduct>
gen_
;
27
TFile*
file_
;
28
TTree*
mcTruthTree_
;
29
float
ptJet_
,
chfJet_
,
nhfJet_
,
cemfJet_
,
nemfJet_
,
ptGen_
,
ptHat_
,
dR_
,
etaJet_
,
etaGen_
,
phiJet_
,
phiGen_
;
30
int
rank_
,
cmultiJet_
,
nmultiJet_
;
31
};
32
//}
33
34
#endif
looper.cfg
tuple cfg
Definition:
looper.py:293
PFJetCollection.h
PFMCTruthTreeProducer::nhfJet_
float nhfJet_
Definition:
PFMCTruthTreeProducer.h:29
PFMCTruthTreeProducer::ptHat_
float ptHat_
Definition:
PFMCTruthTreeProducer.h:29
PFMCTruthTreeProducer::genjets_
edm::EDGetTokenT< reco::GenJetCollection > genjets_
Definition:
PFMCTruthTreeProducer.h:25
edm::EDGetTokenT< reco::PFJetCollection >
PFMCTruthTreeProducer::nemfJet_
float nemfJet_
Definition:
PFMCTruthTreeProducer.h:29
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
PFMCTruthTreeProducer::~PFMCTruthTreeProducer
~PFMCTruthTreeProducer()
Definition:
PFMCTruthTreeProducer.cc:113
PFMCTruthTreeProducer::mcTruthTree_
TTree * mcTruthTree_
Definition:
PFMCTruthTreeProducer.h:28
PFMCTruthTreeProducer::etaJet_
float etaJet_
Definition:
PFMCTruthTreeProducer.h:29
PFMCTruthTreeProducer::etaGen_
float etaGen_
Definition:
PFMCTruthTreeProducer.h:29
PFMCTruthTreeProducer::phiGen_
float phiGen_
Definition:
PFMCTruthTreeProducer.h:29
PFMCTruthTreeProducer::file_
TFile * file_
Definition:
PFMCTruthTreeProducer.h:27
PFMCTruthTreeProducer
Definition:
PFMCTruthTreeProducer.h:13
GenJetCollection.h
PFMCTruthTreeProducer::nmultiJet_
int nmultiJet_
Definition:
PFMCTruthTreeProducer.h:30
edm::EventSetup
Definition:
EventSetup.h:45
PFMCTruthTreeProducer::beginJob
virtual void beginJob()
Definition:
PFMCTruthTreeProducer.cc:34
edm::EDAnalyzer
Definition:
EDAnalyzer.h:27
EDAnalyzer.h
PFMCTruthTreeProducer::chfJet_
float chfJet_
Definition:
PFMCTruthTreeProducer.h:29
PFMCTruthTreeProducer::phiJet_
float phiJet_
Definition:
PFMCTruthTreeProducer.h:29
PFMCTruthTreeProducer::cmultiJet_
int cmultiJet_
Definition:
PFMCTruthTreeProducer.h:30
PFMCTruthTreeProducer::histogramFile_
std::string histogramFile_
Definition:
PFMCTruthTreeProducer.h:23
PFMCTruthTreeProducer::gen_
edm::EDGetTokenT< GenEventInfoProduct > gen_
Definition:
PFMCTruthTreeProducer.h:26
PFMCTruthTreeProducer::cemfJet_
float cemfJet_
Definition:
PFMCTruthTreeProducer.h:29
PFMCTruthTreeProducer::endJob
virtual void endJob()
Definition:
PFMCTruthTreeProducer.cc:56
PFMCTruthTreeProducer::analyze
virtual void analyze(edm::Event const &e, edm::EventSetup const &iSetup)
Definition:
PFMCTruthTreeProducer.cc:66
alignCSCRings.e
list e
Definition:
alignCSCRings.py:90
PFMCTruthTreeProducer::ptJet_
float ptJet_
Definition:
PFMCTruthTreeProducer.h:29
PFMCTruthTreeProducer::jets_
edm::EDGetTokenT< reco::PFJetCollection > jets_
Definition:
PFMCTruthTreeProducer.h:24
edm::ParameterSet
Definition:
ParameterSet.h:36
PFMCTruthTreeProducer::dR_
float dR_
Definition:
PFMCTruthTreeProducer.h:29
GenEventInfoProduct.h
PFMCTruthTreeProducer::rank_
int rank_
Definition:
PFMCTruthTreeProducer.h:30
edm::Event
Definition:
Event.h:65
PFMCTruthTreeProducer::PFMCTruthTreeProducer
PFMCTruthTreeProducer(edm::ParameterSet const &cfg)
Definition:
PFMCTruthTreeProducer.cc:26
PFMCTruthTreeProducer::ptGen_
float ptGen_
Definition:
PFMCTruthTreeProducer.h:29
Generated for CMSSW Reference Manual by
1.8.5