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 | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () const final |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from TauDiscriminationProducerBase< TauType, TauDiscriminator > | |
static void | fillProducerDescriptions (edm::ParameterSetDescription &desc) |
Private Types | |
typedef edm::AssociationVector< reco::PFTauRefProd, std::vector< reco::PFTauTransverseImpactParameterRef > > | PFTauTIPAssociationByRef |
Definition at line 72 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
|
private |
Definition at line 166 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
|
inlineexplicit |
Definition at line 74 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
References beginEvent(), ChargedIsoPtSum_token, discriminate(), endEvent(), Exception, 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 144 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
References fillDescriptions(), inputFilesToDelete_, loadMVAfromDB_, mvaInput_, and mvaReader_.
|
overridevirtual |
Reimplemented from TauDiscriminationProducerBase< TauType, TauDiscriminator >.
Definition at line 189 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 210 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(), dqmMemoryStats::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(), dqm-mbProfile::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 380 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
References category_output_, eostools::move(), and edm::Event::put().
Referenced by PFRecoTauDiscriminationByMVAIsolationRun2().
|
static |
Definition at line 385 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addOptional(), DEFINE_FWK_MODULE, TauDiscriminationProducerBase< TauType, TauDiscriminator >::fillProducerDescriptions(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ~PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 182 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent(), discriminate(), and endEvent().
|
private |
Definition at line 170 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent(), and PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 171 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent().
|
private |
Definition at line 179 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent().
|
private |
Definition at line 178 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent(), and PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 160 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent(), and PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 184 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent(), and ~PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 159 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent(), PFRecoTauDiscriminationByMVAIsolationRun2(), and ~PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 156 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by Modules.SwitchProducer::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), and Modules.ESProducer::nameInProcessDesc_().
|
private |
Definition at line 163 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by discriminate(), PFRecoTauDiscriminationByMVAIsolationRun2(), and ~PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 158 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent(), and PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 162 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by discriminate(), and PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 161 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent(), discriminate(), and ~PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 172 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent(), and PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 173 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent().
|
private |
Definition at line 177 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent().
|
private |
Definition at line 176 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent(), and PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 174 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent(), and PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 175 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent().
|
private |
Definition at line 168 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent().
|
private |
Definition at line 181 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent().
|
private |
Definition at line 167 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent(), and PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 186 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by discriminate(), and PFRecoTauDiscriminationByMVAIsolationRun2().