Public Member Functions | |
void | beginEvent (const edm::Event &, const edm::EventSetup &) override |
double | discriminate (const PFTauRef &) const override |
void | endEvent (edm::Event &) override |
PFRecoTauDiscriminationByMVAIsolationRun2 (const edm::ParameterSet &cfg) | |
~PFRecoTauDiscriminationByMVAIsolationRun2 () override | |
Public Member Functions inherited from TauDiscriminationProducerBase< TauType, TauDiscriminator > | |
virtual double | discriminate (const TauRef &tau) const =0 |
void | produce (edm::Event &, const edm::EventSetup &) override |
TauDiscriminationProducerBase (const edm::ParameterSet &iConfig) | |
TauDiscriminationProducerBase () | |
~TauDiscriminationProducerBase () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
Private Types | |
typedef edm::AssociationVector< reco::PFTauRefProd, std::vector< reco::PFTauTransverseImpactParameterRef > > | PFTauTIPAssociationByRef |
Definition at line 67 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
|
private |
Definition at line 146 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
|
inlineexplicit |
Definition at line 70 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
References beginEvent(), ChargedIsoPtSum_token, discriminate(), endEvent(), Exception, edm::ParameterSet::exists(), FootprintCorrection_token, edm::ParameterSet::getParameter(), inputFileName_, reco::tau::kDBnewDMwLT, reco::tau::kDBnewDMwLTwGJ, reco::tau::kDBoldDMwLT, reco::tau::kDBoldDMwLTwGJ, reco::tau::kNewDMwLT, reco::tau::kNewDMwoLT, reco::tau::kOldDMwLT, reco::tau::kOldDMwoLT, reco::tau::kPWnewDMwLT, reco::tau::kPWoldDMwLT, loadMVAfromDB_, mvaInput_, mvaName_, mvaOpt_, NeutralIsoPtSum_token, PhotonPtSumOutsideSignalCone_token, PUcorrPtSum_token, AlCaHLTBitMon_QueryRunRegistry::string, TauTransverseImpactParameters_token, and verbosity_.
|
inlineoverride |
Definition at line 125 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
References inputFilesToDelete_, loadMVAfromDB_, mvaInput_, and mvaReader_.
|
overridevirtual |
Reimplemented from TauDiscriminationProducerBase< TauType, TauDiscriminator >.
Definition at line 169 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
References category_output_, ChargedIsoPtSum_token, chargedIsoPtSums_, footprintCorrection_, FootprintCorrection_token, edm::Event::getByToken(), inputFileName_, inputFilesToDelete_, taus_updatedMVAIds_cff::loadMVAfromDB, loadMVAfromDB_, mvaName_, mvaReader_, NeutralIsoPtSum_token, neutralIsoPtSums_, photonPtSumOutsideSignalCone_, PhotonPtSumOutsideSignalCone_token, PUcorrPtSum_token, puCorrPtSums_, TauDiscriminationProducerBase< TauType, TauDiscriminator >::Tau_token, tauLifetimeInfos, taus_, and TauTransverseImpactParameters_token.
Referenced by PFRecoTauDiscriminationByMVAIsolationRun2().
|
override |
Definition at line 191 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
References funct::abs(), taus_updatedMVAIds_cff::category, category_output_, tauProducer_cfi::chargedIsoPtSum, reco::PFTauTransverseImpactParameter::dxy(), reco::PFTauTransverseImpactParameter::dxy_Sig(), MillePedeFileConverter_cfg::e, reco::tau::eratio(), f, reco::PFTauTransverseImpactParameter::flightLength(), reco::PFTauTransverseImpactParameter::flightLengthSig(), objects.autophobj::float, tauProducer_cfi::footprintCorrection, GBRForest::GetClassifier(), reco::PFTauTransverseImpactParameter::hasSecondaryVertex(), reco::PFTauTransverseImpactParameter::ip3d(), reco::PFTauTransverseImpactParameter::ip3d_Sig(), edm::Ref< C, T, F >::isNull(), reco::tau::kDBnewDMwLT, reco::tau::kDBnewDMwLTwGJ, reco::tau::kDBoldDMwLT, reco::tau::kDBoldDMwLTwGJ, reco::tau::kNewDMwLT, reco::tau::kNewDMwoLT, reco::tau::kOldDMwLT, reco::tau::kOldDMwoLT, reco::tau::kPWnewDMwLT, reco::tau::kPWoldDMwLT, reco::tau::lead_track_chi2(), cmsBatch::log, SiStripPI::max, min(), mvaInput_, mvaOpt_, mvaReader_, reco::tau::n_photons_total(), tauProducer_cfi::neutralIsoPtSum, tauProducer_cfi::photonPtSumOutsideSignalCone, funct::pow(), reco::tau::pt_weighted_deta_strip(), reco::tau::pt_weighted_dphi_strip(), reco::tau::pt_weighted_dr_iso(), reco::tau::pt_weighted_dr_signal(), tauProducer_cfi::puCorrPtSum, mathSSE::sqrt(), metsig::tau, TauDiscriminationProducerBase< TauType, TauDiscriminator >::tauIndex_, and verbosity_.
Referenced by PFRecoTauDiscriminationByMVAIsolationRun2().
|
overridevirtual |
Reimplemented from TauDiscriminationProducerBase< TauType, TauDiscriminator >.
Definition at line 356 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
References category_output_, DEFINE_FWK_MODULE, eostools::move(), and edm::Event::put().
Referenced by PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 162 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent(), discriminate(), and endEvent().
|
private |
Definition at line 150 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent(), and PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 151 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent().
|
private |
Definition at line 159 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent().
|
private |
Definition at line 158 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent(), and PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 141 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent(), and PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 164 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent(), and ~PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 140 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent(), PFRecoTauDiscriminationByMVAIsolationRun2(), and ~PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 137 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), and Modules.ESProducer::nameInProcessDesc_().
|
private |
Definition at line 144 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by discriminate(), PFRecoTauDiscriminationByMVAIsolationRun2(), and ~PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 139 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent(), and PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 143 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by discriminate(), and PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 142 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent(), discriminate(), and ~PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 152 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent(), and PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 153 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent().
|
private |
Definition at line 157 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent().
|
private |
Definition at line 156 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent(), and PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 154 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent(), and PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 155 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent().
|
private |
Definition at line 148 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent().
|
private |
Definition at line 161 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent().
|
private |
Definition at line 147 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent(), and PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 166 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by discriminate(), and PFRecoTauDiscriminationByMVAIsolationRun2().