#include <PFTauElecRejectionBenchmark.h>
Public Member Functions | |
PFTauElecRejectionBenchmark () | |
void | process (edm::Handle< edm::HepMCProduct > mcevt, edm::Handle< reco::PFTauCollection > pfTaus, edm::Handle< reco::PFTauDiscriminator > pfTauIsoDiscr, edm::Handle< reco::PFTauDiscriminator > pfTauElecDiscr) |
void | setup (std::string Filename, std::string benchmarkLabel, double maxDeltaR, double minRecoPt, double maxRecoAbsEta, double minMCPt, double maxMCAbsEta, std::string sGenMatchObjectLabel, bool applyEcalCrackCut, DQMStore *db_store) |
void | write () |
virtual | ~PFTauElecRejectionBenchmark () |
Protected Attributes | |
DQMStore * | db_ |
Private Member Functions | |
bool | isInEcalCrack (double eta) const |
Definition at line 34 of file PFTauElecRejectionBenchmark.h.
PFTauElecRejectionBenchmark::PFTauElecRejectionBenchmark | ( | ) |
Definition at line 24 of file PFTauElecRejectionBenchmark.cc.
|
virtual |
|
private |
Definition at line 362 of file PFTauElecRejectionBenchmark.cc.
Referenced by process().
void PFTauElecRejectionBenchmark::process | ( | edm::Handle< edm::HepMCProduct > | mcevt, |
edm::Handle< reco::PFTauCollection > | pfTaus, | ||
edm::Handle< reco::PFTauDiscriminator > | pfTauIsoDiscr, | ||
edm::Handle< reco::PFTauDiscriminator > | pfTauElecDiscr | ||
) |
Definition at line 217 of file PFTauElecRejectionBenchmark.cc.
References _GenObjects, funct::abs(), applyEcalCrackCut_, spr::deltaEta, allConversions_cfi::DeltaPhi, hiPixelPairStep_cff::deltaPhi, reco::PFCandidate::ecalEnergy(), reco::tau::disc::Eta(), edm::HepMCProduct::GetEvent(), hElecMVA, hEmfrac, hEmfrac_barrel, hEmfrac_endcap, hEmfrac_preid0, hEmfrac_preid1, hEmfracvsEoP, hEmfracvsEoP_preid0, hEmfracvsEoP_preid1, hEoverP, hEoverP_barrel, hEoverP_endcap, hEoverP_preid0, hEoverP_preid1, hHoPvsEoP, hHoPvsEoP_preid0, hHoPvsEoP_preid1, hHoverP, hHoverP_barrel, hHoverP_endcap, hHoverP_preid0, hHoverP_preid1, hleadTk_eta, hleadTk_phi, hleadTk_pt, hpfcand_deltaEta, hpfcand_deltaEta_weightE, hpfcand_deltaPhiOverQ, hpfcand_deltaPhiOverQ_weightE, hTauElecDiscriminant, mps_fire::i, createfilelist::int, isInEcalCrack(), edm::Ptr< T >::isNonnull(), edm::Ref< C, T, F >::isNonnull(), maxDeltaR_, maxMCAbsEta_, maxRecoAbsEta_, minMCPt_, minRecoPt_, AlCaHLTBitMon_ParallelJobs::p, reco::LeafCandidate::pdgId(), reco::PFCandidate::positionAtECALEntrance(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), reco::LeafCandidate::pz(), sGenMatchObjectLabel_, metsig::tau, reco::PFCandidate::trackRef(), and z.
void PFTauElecRejectionBenchmark::setup | ( | std::string | Filename, |
std::string | benchmarkLabel, | ||
double | maxDeltaR, | ||
double | minRecoPt, | ||
double | maxRecoAbsEta, | ||
double | minMCPt, | ||
double | maxMCAbsEta, | ||
std::string | sGenMatchObjectLabel, | ||
bool | applyEcalCrackCut, | ||
DQMStore * | db_store | ||
) |
Definition at line 48 of file PFTauElecRejectionBenchmark.cc.
References applyEcalCrackCut_, benchmarkLabel_, BOOK1D, BOOK2D, gather_cfg::cout, db_, file_, electrons_cff::maxDeltaR, maxDeltaR_, pfTauBenchmarkElecRejection_cfi::maxMCAbsEta, maxMCAbsEta_, pfTauBenchmarkElecRejection_cfi::maxRecoAbsEta, maxRecoAbsEta_, pfTauBenchmarkElecRejection_cfi::minMCPt, minMCPt_, pfTauBenchmarkElecRejection_cfi::minRecoPt, minRecoPt_, outputFile_, callgraph::path, SETAXES, and sGenMatchObjectLabel_.
void PFTauElecRejectionBenchmark::write | ( | ) |
Definition at line 30 of file PFTauElecRejectionBenchmark.cc.
References gather_cfg::cout, db_, file_, and outputFile_.
|
private |
Definition at line 120 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 70 of file PFTauElecRejectionBenchmark.h.
|
private |
Definition at line 63 of file PFTauElecRejectionBenchmark.h.
Referenced by setup().
|
protected |
Definition at line 124 of file PFTauElecRejectionBenchmark.h.
|
private |
Definition at line 61 of file PFTauElecRejectionBenchmark.h.
Referenced by setup(), write(), and ~PFTauElecRejectionBenchmark().
|
private |
Definition at line 94 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 93 of file PFTauElecRejectionBenchmark.h.
|
private |
Definition at line 75 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 79 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 83 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 87 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 91 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 101 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 102 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 103 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 73 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 77 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 81 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 85 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 89 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 97 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 98 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 99 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 74 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 78 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 82 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 86 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 90 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 116 of file PFTauElecRejectionBenchmark.h.
|
private |
Definition at line 117 of file PFTauElecRejectionBenchmark.h.
|
private |
Definition at line 115 of file PFTauElecRejectionBenchmark.h.
|
private |
Definition at line 111 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 112 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 110 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 105 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 106 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 107 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 108 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 95 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 64 of file PFTauElecRejectionBenchmark.h.
|
private |
Definition at line 66 of file PFTauElecRejectionBenchmark.h.
|
private |
Definition at line 68 of file PFTauElecRejectionBenchmark.h.
|
private |
Definition at line 65 of file PFTauElecRejectionBenchmark.h.
|
private |
Definition at line 67 of file PFTauElecRejectionBenchmark.h.
|
private |
Definition at line 62 of file PFTauElecRejectionBenchmark.h.
|
private |
Definition at line 69 of file PFTauElecRejectionBenchmark.h.