#include <PFJetBenchmark.h>
Public Types | |
typedef dqm::legacy::DQMStore | DQMStore |
typedef dqm::legacy::MonitorElement | MonitorElement |
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=false, bool onlyTwoJets=true, double deltaRMax=0.1, std::string benchmarkLabel_="ParticleFlow", double recPt=-1, double maxEta=-1, DQMStore *dbe_store=0) |
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 28 of file PFJetBenchmark.h.
Definition at line 30 of file PFJetBenchmark.h.
Definition at line 31 of file PFJetBenchmark.h.
PFJetBenchmark::PFJetBenchmark | ( | ) |
Definition at line 47 of file PFJetBenchmark.cc.
|
virtual |
void PFJetBenchmark::gettrue | ( | const reco::GenJet * | truth, |
double & | true_ChargedHadEnergy, | ||
double & | true_NeutralHadEnergy, | ||
double & | true_NeutralEmEnergy | ||
) |
Definition at line 718 of file PFJetBenchmark.cc.
References funct::abs(), MillePedeFileConverter_cfg::e, reco::LeafCandidate::energy(), reco::GenJet::getGenConstituents(), mps_fire::i, and reco::LeafCandidate::pdgId().
Referenced by process().
void PFJetBenchmark::printGenJet | ( | const reco::GenJet * | truth | ) |
Definition at line 774 of file PFJetBenchmark.cc.
References gather_cfg::cout, reco::LeafCandidate::eta(), reco::GenJet::getGenConstituents(), mps_fire::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 752 of file PFJetBenchmark.cc.
References reco::PFJet::chargedEmEnergy(), reco::PFJet::chargedHadronEnergy(), reco::PFJet::chargedMuEnergy(), reco::PFJet::chargedMultiplicity(), gather_cfg::cout, reco::LeafCandidate::eta(), alignBH_cfg::fixed, 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 232 of file PFJetBenchmark.cc.
References funct::abs(), algo_, Barrel, reco::PFJet::chargedHadronEnergy(), reco::PFJet::chargedMultiplicity(), gather_cfg::cout, debug_, PFBenchmarkAlgo::deltaR(), PbPb_ZMuSkimMuonDPG_cff::deltaR, deltaRMax_, 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, mps_fire::i, edm::Ref< C, T, F >::isNull(), dqmiolumiharvest::j, PFBenchmarkAlgo::matchByDeltaR(), maxEta_cut, reco::PFJet::neutralEmEnergy(), reco::PFJet::neutralHadronEnergy(), onlyTwoJets_, reco::LeafCandidate::p(), randomXiThetaGunProducer_cfi::particleId, reco::LeafCandidate::phi(), plotAgainstReco_, printGenJet(), printPFJet(), DiDispStaMuonMonitor_cfi::pt, reco::LeafCandidate::pt(), recPt_cut, resChargedHadEnergyMax_, resNeutralEmEnergyMax_, resNeutralHadEnergyMax_, and resPtMax_.
Referenced by PFJetBenchmarkAnalyzer::analyze().
|
inline |
Definition at line 53 of file PFJetBenchmark.h.
References resChargedHadEnergyMax_.
|
inline |
|
inline |
Definition at line 54 of file PFJetBenchmark.h.
References resNeutralHadEnergyMax_.
|
inline |
void PFJetBenchmark::setup | ( | std::string | Filename, |
bool | debug, | ||
bool | plotAgainstReco = false , |
||
bool | onlyTwoJets = true , |
||
double | deltaRMax = 0.1 , |
||
std::string | benchmarkLabel_ = "ParticleFlow" , |
||
double | recPt = -1 , |
||
double | maxEta = -1 , |
||
DQMStore * | dbe_store = 0 |
||
) |
Definition at line 69 of file PFJetBenchmark.cc.
References BOOK1D, BOOK2D, gather_cfg::cout, dbe_, DBOOK1D, DBOOK2D, debug, debug_, deltaRMax, deltaRMax_, DSETAXES, ECAL, PVValHelper::eta, file_, maxEta, maxEta_cut, HLT_2018_cff::NCH, ECF_cff::Njets, onlyTwoJets, onlyTwoJets_, outputFile_, castor_dqm_sourceclient_file_cfg::path, phi, plotAgainstReco, plotAgainstReco_, PT, recPt, recPt_cut, SETAXES, and dqm::dqmstoreimpl::DQMStore::setCurrentFolder().
Referenced by PFJetBenchmarkAnalyzer::PFJetBenchmarkAnalyzer().
void PFJetBenchmark::write | ( | ) |
Definition at line 54 of file PFJetBenchmark.cc.
References gather_cfg::cout, dbe_, file_, outputFile_, and dqm::dqmstoreimpl::DQMStore::save().
Referenced by PFJetBenchmarkAnalyzer::endJob(), and resNeutralEmEnergyMax().
|
protected |
Definition at line 215 of file PFJetBenchmark.h.
Referenced by process().
|
protected |
Definition at line 227 of file PFJetBenchmark.h.
|
protected |
Definition at line 216 of file PFJetBenchmark.h.
|
protected |
Definition at line 219 of file PFJetBenchmark.h.
|
protected |
Definition at line 226 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 60 of file PFJetBenchmark.h.
Referenced by setup(), write(), and ~PFJetBenchmark().
|
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 118 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 119 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 117 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 102 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 114 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 105 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 111 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 110 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 103 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 108 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 112 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 87 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 92 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 100 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 93 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 101 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 94 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 88 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 95 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 96 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 97 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 89 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 98 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 90 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 106 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 68 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 69 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 160 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 161 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 159 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 144 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 156 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 147 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 153 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 152 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 145 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 150 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 154 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 129 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 134 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 142 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 135 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 143 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 136 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 130 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 137 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 138 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 139 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 131 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 140 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 132 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 148 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 202 of file PFJetBenchmark.h.
|
private |
Definition at line 203 of file PFJetBenchmark.h.
|
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 201 of file PFJetBenchmark.h.
|
private |
Definition at line 186 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 198 of file PFJetBenchmark.h.
Referenced by process().
|
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 189 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 195 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 194 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 187 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 192 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 196 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 171 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 176 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 184 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 177 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 185 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 178 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 172 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 179 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 180 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 181 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 173 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 182 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 174 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 190 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 66 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 65 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 77 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 78 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 76 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 64 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 75 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 70 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 71 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 72 of file PFJetBenchmark.h.
Referenced by process().
|
private |
Definition at line 67 of file PFJetBenchmark.h.
Referenced by process().
|
protected |
Definition at line 225 of file PFJetBenchmark.h.
|
protected |
Definition at line 218 of file PFJetBenchmark.h.
|
private |
Definition at line 212 of file PFJetBenchmark.h.
|
protected |
Definition at line 217 of file PFJetBenchmark.h.
|
protected |
Definition at line 224 of file PFJetBenchmark.h.
|
protected |
Definition at line 221 of file PFJetBenchmark.h.
Referenced by process(), and resChargedHadEnergyMax().
|
protected |
Definition at line 223 of file PFJetBenchmark.h.
Referenced by process(), and resNeutralEmEnergyMax().
|
protected |
Definition at line 222 of file PFJetBenchmark.h.
Referenced by process(), and resNeutralHadEnergyMax().
|
protected |
Definition at line 220 of file PFJetBenchmark.h.
Referenced by process(), and resPtMax().