#include <PFTauElecRejectionBenchmark.h>
Public Types | |
typedef dqm::legacy::DQMStore | DQMStore |
typedef dqm::legacy::MonitorElement | MonitorElement |
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 27 of file PFTauElecRejectionBenchmark.h.
Definition at line 29 of file PFTauElecRejectionBenchmark.h.
Definition at line 30 of file PFTauElecRejectionBenchmark.h.
PFTauElecRejectionBenchmark::PFTauElecRejectionBenchmark | ( | ) |
Definition at line 22 of file PFTauElecRejectionBenchmark.cc.
|
virtual |
|
private |
Definition at line 342 of file PFTauElecRejectionBenchmark.cc.
References PVValHelper::eta.
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 205 of file PFTauElecRejectionBenchmark.cc.
References _GenObjects, funct::abs(), applyEcalCrackCut_, spr::deltaEta, SiPixelRawToDigiRegional_cfi::deltaPhi, HLT_2022v12_cff::DeltaPhi, reco::PFCandidate::ecalEnergy(), 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 44 of file PFTauElecRejectionBenchmark.cc.
References applyEcalCrackCut_, benchmarkLabel_, BOOK1D, BOOK2D, gather_cfg::cout, db_, file_, ewkMuLumiMonitorDQM_cfi::maxDeltaR, maxDeltaR_, pfTauBenchmarkElecRejection_cfi::maxMCAbsEta, maxMCAbsEta_, pfTauBenchmarkElecRejection_cfi::maxRecoAbsEta, maxRecoAbsEta_, pfTauBenchmarkElecRejection_cfi::minMCPt, minMCPt_, pfTauBenchmarkElecRejection_cfi::minRecoPt, minRecoPt_, outputFile_, castor_dqm_sourceclient_file_cfg::path, SETAXES, dqm::implementation::DQMStore::setCurrentFolder(), and sGenMatchObjectLabel_.
void PFTauElecRejectionBenchmark::write | ( | ) |
Definition at line 29 of file PFTauElecRejectionBenchmark.cc.
References gather_cfg::cout, db_, file_, outputFile_, and dqm::implementation::DQMStore::save().
|
private |
Definition at line 112 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 63 of file PFTauElecRejectionBenchmark.h.
|
private |
Definition at line 56 of file PFTauElecRejectionBenchmark.h.
Referenced by setup().
|
protected |
Definition at line 115 of file PFTauElecRejectionBenchmark.h.
|
private |
Definition at line 54 of file PFTauElecRejectionBenchmark.h.
Referenced by setup(), write(), and ~PFTauElecRejectionBenchmark().
|
private |
Definition at line 87 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 86 of file PFTauElecRejectionBenchmark.h.
|
private |
Definition at line 68 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 72 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 76 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 80 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 84 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 94 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 95 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 96 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 66 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 70 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 90 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 91 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 92 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 67 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 71 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
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 109 of file PFTauElecRejectionBenchmark.h.
|
private |
Definition at line 110 of file PFTauElecRejectionBenchmark.h.
|
private |
Definition at line 108 of file PFTauElecRejectionBenchmark.h.
|
private |
Definition at line 104 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 105 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 103 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 100 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 101 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 88 of file PFTauElecRejectionBenchmark.h.
Referenced by process().
|
private |
Definition at line 57 of file PFTauElecRejectionBenchmark.h.
|
private |
Definition at line 59 of file PFTauElecRejectionBenchmark.h.
|
private |
Definition at line 61 of file PFTauElecRejectionBenchmark.h.
|
private |
Definition at line 58 of file PFTauElecRejectionBenchmark.h.
|
private |
Definition at line 60 of file PFTauElecRejectionBenchmark.h.
|
private |
Definition at line 55 of file PFTauElecRejectionBenchmark.h.
|
private |
Definition at line 62 of file PFTauElecRejectionBenchmark.h.