#include <PFJetBenchmark.h>
Public Member Functions | |
void | gettrue (const reco::GenJet *truth, double &true_ChargedHadEnergy, double &true_NeutralHadEnergy, double &true_NeutralEmEnergy) |
PFJetBenchmark () | |
void | printGenJet (const reco::GenJet *) |
void | printPFJet (const reco::PFJet *) |
void | process (const reco::PFJetCollection &, const reco::GenJetCollection &) |
double | resChargedHadEnergyMax () const |
double | resNeutralEmEnergyMax () const |
double | resNeutralHadEnergyMax () const |
double | resPtMax () const |
void | setup (std::string Filename, bool debug, bool plotAgainstReco=0, bool onlyTwoJets=1, double deltaRMax=0.1, std::string benchmarkLabel_="ParticleFlow", double recPt=-1, double maxEta=-1, DQMStore *dbe_store=NULL) |
void | write () |
virtual | ~PFJetBenchmark () |
Protected Attributes | |
PFBenchmarkAlgo * | algo_ |
DQMStore * | dbe_ |
bool | debug_ |
double | deltaRMax_ |
unsigned int | entry_ |
double | maxEta_cut |
bool | onlyTwoJets_ |
bool | plotAgainstReco_ |
double | recPt_cut |
double | resChargedHadEnergyMax_ |
double | resNeutralEmEnergyMax_ |
double | resNeutralHadEnergyMax_ |
double | resPtMax_ |
Definition at line 30 of file PFJetBenchmark.h.
PFJetBenchmark::PFJetBenchmark | ( | ) |
Definition at line 40 of file PFJetBenchmark.cc.
|
virtual |
void PFJetBenchmark::gettrue | ( | const reco::GenJet * | truth, |
double & | true_ChargedHadEnergy, | ||
double & | true_NeutralHadEnergy, | ||
double & | true_NeutralEmEnergy | ||
) |
Definition at line 677 of file PFJetBenchmark.cc.
References funct::abs(), alignCSCRings::e, reco::LeafCandidate::energy(), reco::GenJet::getGenConstituents(), i, and reco::LeafCandidate::pdgId().
Referenced by process().
void PFJetBenchmark::printGenJet | ( | const reco::GenJet * | truth | ) |
Definition at line 730 of file PFJetBenchmark.cc.
References gather_cfg::cout, reco::LeafCandidate::eta(), reco::GenJet::getGenConstituents(), i, reco::LeafCandidate::p(), reco::LeafCandidate::pdgId(), reco::LeafCandidate::phi(), reco::LeafCandidate::pt(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), and reco::LeafCandidate::pz().
Referenced by process().
void PFJetBenchmark::printPFJet | ( | const reco::PFJet * | pfj | ) |
Definition at line 709 of file PFJetBenchmark.cc.
References reco::PFJet::chargedEmEnergy(), reco::PFJet::chargedHadronEnergy(), reco::PFJet::chargedMuEnergy(), reco::PFJet::chargedMultiplicity(), gather_cfg::cout, reco::LeafCandidate::eta(), reco::PFJet::neutralEmEnergy(), reco::PFJet::neutralHadronEnergy(), reco::PFJet::neutralMultiplicity(), reco::LeafCandidate::p(), reco::LeafCandidate::phi(), reco::PFJet::print(), reco::LeafCandidate::pt(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), and reco::LeafCandidate::pz().
Referenced by process().
void PFJetBenchmark::process | ( | const reco::PFJetCollection & | pfJets, |
const reco::GenJetCollection & | genJets | ||
) |
Definition at line 230 of file PFJetBenchmark.cc.
References funct::abs(), algo_, sipixelsummary::Barrel, reco::PFJet::chargedHadronEnergy(), reco::PFJet::chargedMultiplicity(), gather_cfg::cout, debug_, deltaR(), PFBenchmarkAlgo::deltaR(), deltaRMax_, IterativeDetachedTripletStep_cff::detachedTripletStep, entry_, reco::LeafCandidate::eta(), reco::PFJet::getPFConstituents(), gettrue(), hBDEtavsPt, hBDPhivsPt, hBNCH, hBNCH0vsPt, hBNCH1vsPt, hBNCH2vsPt, hBNCH3vsPt, hBNCH4vsPt, hBNCH5vsPt, hBNCH6vsPt, hBNCH7vsPt, hBNCHvsPt, hBRCHE, hBRCHEvsPt, hBRHCALvsP, hBRHONLvsP, hBRNEE, hBRNEEvsPt, hBRneut, hBRNEUTvsP, hBRneutvsPt, hBRNHE, hBRNHEvsPt, hBRNONLvsP, hBRPt, hBRPt100_150, hBRPt1250_2000, hBRPt150_200, hBRPt2000_5000, hBRPt200_250, hBRPt20_40, hBRPt250_300, hBRPt300_400, hBRPt400_500, hBRPt40_60, hBRPt500_750, hBRPt60_80, hBRPt750_1250, hBRPt80_100, hBRPtvsPt, hDEtavsEta, hDPhivsEta, hEDEtavsPt, hEDPhivsPt, hENCH, hENCH0vsPt, hENCH1vsPt, hENCH2vsPt, hENCH3vsPt, hENCH4vsPt, hENCH5vsPt, hENCH6vsPt, hENCH7vsPt, hENCHvsPt, hERCHE, hERCHEvsPt, hERHCALvsP, hERHONLvsP, hERNEE, hERNEEvsPt, hERneut, hERNEUTvsP, hERneutvsPt, hERNHE, hERNHEvsPt, hERNONLvsP, hERPt, hERPt100_150, hERPt1250_2000, hERPt150_200, hERPt2000_5000, hERPt200_250, hERPt20_40, hERPt250_300, hERPt300_400, hERPt400_500, hERPt40_60, hERPt500_750, hERPt60_80, hERPt750_1250, hERPt80_100, hERPtvsPt, hFDEtavsPt, hFDPhivsPt, hFRCHE, hFRCHEvsPt, hFRHCALvsP, hFRHONLvsP, hFRNEE, hFRNEEvsPt, hFRneut, hFRNEUTvsP, hFRneutvsPt, hFRNHE, hFRNHEvsPt, hFRNONLvsP, hFRPt, hFRPt100_150, hFRPt1250_2000, hFRPt150_200, hFRPt2000_5000, hFRPt200_250, hFRPt20_40, hFRPt250_300, hFRPt300_400, hFRPt400_500, hFRPt40_60, hFRPt500_750, hFRPt60_80, hFRPt750_1250, hFRPt80_100, hFRPtvsPt, hjetsEta, hjetsPt, hNCH0vsEta, hNCH1vsEta, hNCH2vsEta, hNCH3vsEta, hNCH4vsEta, hNCH5vsEta, hNCH6vsEta, hNCH7vsEta, hNCHvsEta, hNjets, hRCHEvsEta, hRHCALvsEta, hRHONLvsEta, hRNeutvsEta, hRNEUTvsEta, hRNONLvsEta, hRPtvsEta, i, InitialStep_cff::initialStep, edm::Ref< C, T, F >::isNull(), getDQMSummary::iter, j, PFBenchmarkAlgo::matchByDeltaR(), maxEta_cut, IterativeMixedTripletStep_cff::mixedTripletStep, reco::PFJet::neutralEmEnergy(), reco::PFJet::neutralHadronEnergy(), onlyTwoJets_, reco::LeafCandidate::p(), reco::LeafCandidate::phi(), PixelLessStep_cff::pixelLessStep, plotAgainstReco_, printGenJet(), printPFJet(), EnergyCorrector::pt, reco::LeafCandidate::pt(), recPt_cut, resChargedHadEnergyMax_, resNeutralEmEnergyMax_, resNeutralHadEnergyMax_, and resPtMax_.
Referenced by ConfigBuilder.ConfigBuilder::__init__(), ConfigBuilder.ConfigBuilder::addExtraStream(), PFJetBenchmarkAnalyzer::analyze(), ConfigBuilder.ConfigBuilder::anyOf(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), ConfigBuilder.ConfigBuilder::prepare(), ConfigBuilder.ConfigBuilder::prepare_ALCA(), ConfigBuilder.ConfigBuilder::prepare_DQM(), ConfigBuilder.ConfigBuilder::prepare_FASTSIM(), ConfigBuilder.ConfigBuilder::prepare_HARVESTING(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_LHE(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder::scheduleSequence().
|
inline |
Definition at line 54 of file PFJetBenchmark.h.
References resChargedHadEnergyMax_.
|
inline |
|
inline |
Definition at line 55 of file PFJetBenchmark.h.
References resNeutralHadEnergyMax_.
|
inline |
void PFJetBenchmark::setup | ( | std::string | Filename, |
bool | debug, | ||
bool | plotAgainstReco = 0 , |
||
bool | onlyTwoJets = 1 , |
||
double | deltaRMax = 0.1 , |
||
std::string | benchmarkLabel_ = "ParticleFlow" , |
||
double | recPt = -1 , |
||
double | maxEta = -1 , |
||
DQMStore * | dbe_store = NULL |
||
) |
Definition at line 63 of file PFJetBenchmark.cc.
References BOOK1D, BOOK2D, gather_cfg::cout, dbe_, DBOOK1D, DBOOK2D, debug, debug_, deltaRMax, deltaRMax_, DSETAXES, ECAL, eta(), file_, HCAL, getDQMSummary::iter, maxEta, maxEta_cut, NULL, onlyTwoJets, onlyTwoJets_, outputFile_, P, cmsHarvester::path, phi, plotAgainstReco, plotAgainstReco_, PT, recPt, recPt_cut, and SETAXES.
Referenced by PFJetBenchmarkAnalyzer::PFJetBenchmarkAnalyzer().
void PFJetBenchmark::write | ( | void | ) |
Definition at line 46 of file PFJetBenchmark.cc.
References gather_cfg::cout, dbe_, file_, and outputFile_.
Referenced by PFJetBenchmarkAnalyzer::endJob().
|
protected |
Definition at line 217 of file PFJetBenchmark.h.
Referenced by process().
|
protected |
Definition at line 229 of file PFJetBenchmark.h.
|
protected |
Definition at line 218 of file PFJetBenchmark.h.
|
protected |
Definition at line 221 of file PFJetBenchmark.h.
|
protected |
Definition at line 228 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 62 of file PFJetBenchmark.h.
Referenced by setup(), write(), and ~PFJetBenchmark().
|
private |
Definition at line 117 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 118 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 120 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 121 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 122 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 123 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 124 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 125 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 126 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 127 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 128 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 119 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 104 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 109 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 115 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 116 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 106 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 111 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 107 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 113 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 112 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 105 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 110 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 114 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 89 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 94 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 102 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 95 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 103 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 96 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 90 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 97 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 98 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 99 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 91 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 100 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 92 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 101 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 93 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 108 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 70 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 71 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 159 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 160 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 162 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 163 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 164 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 165 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 166 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 167 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 168 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 169 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 170 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 161 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 146 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 151 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 157 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 158 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 148 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 153 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 149 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 155 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 154 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 147 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 152 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 156 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 131 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 136 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 144 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 137 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 145 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 138 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 132 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 139 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 140 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 141 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 133 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 142 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 134 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 143 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 135 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 150 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 201 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 202 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 204 of file PFJetBenchmark.h.
|
private |
Definition at line 205 of file PFJetBenchmark.h.
|
private |
Definition at line 206 of file PFJetBenchmark.h.
|
private |
Definition at line 207 of file PFJetBenchmark.h.
|
private |
Definition at line 208 of file PFJetBenchmark.h.
|
private |
Definition at line 209 of file PFJetBenchmark.h.
|
private |
Definition at line 210 of file PFJetBenchmark.h.
|
private |
Definition at line 211 of file PFJetBenchmark.h.
|
private |
Definition at line 212 of file PFJetBenchmark.h.
|
private |
Definition at line 203 of file PFJetBenchmark.h.
|
private |
Definition at line 188 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 193 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 199 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 200 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 190 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 195 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 191 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 197 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 196 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 189 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 194 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 198 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 173 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 178 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 186 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 179 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 187 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 180 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 174 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 181 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 182 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 183 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 175 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 184 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 176 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 185 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 177 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 192 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 68 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 67 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 79 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 80 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 81 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 82 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 83 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 84 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 85 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 86 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 78 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 66 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 77 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 75 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 76 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 72 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 73 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 74 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 69 of file PFJetBenchmark.h.
Referenced by process().
|
protected |
Definition at line 227 of file PFJetBenchmark.h.
|
protected |
Definition at line 220 of file PFJetBenchmark.h.
|
private |
Definition at line 214 of file PFJetBenchmark.h.
|
protected |
Definition at line 219 of file PFJetBenchmark.h.
|
protected |
Definition at line 226 of file PFJetBenchmark.h.
|
protected |
Definition at line 223 of file PFJetBenchmark.h.
Referenced by process(), and resChargedHadEnergyMax().
|
protected |
Definition at line 225 of file PFJetBenchmark.h.
Referenced by process(), and resNeutralEmEnergyMax().
|
protected |
Definition at line 224 of file PFJetBenchmark.h.
Referenced by process(), and resNeutralHadEnergyMax().
|
protected |
Definition at line 222 of file PFJetBenchmark.h.
Referenced by process(), and resPtMax().