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 |
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) |
static std::string | getTauTypeString () |
helper method to retrieve tau type name, e.g. to build correct cfi getter More... | |
Private Types | |
typedef edm::AssociationVector< reco::PFTauRefProd, std::vector< reco::PFTauTransverseImpactParameterRef > > | PFTauTIPAssociationByRef |
Definition at line 70 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
|
private |
Definition at line 147 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
|
inlineexplicit |
Definition at line 73 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 125 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
References fillDescriptions(), inputFilesToDelete_, loadMVAfromDB_, mvaInput_, and mvaReader_.
|
overridevirtual |
Reimplemented from TauDiscriminationProducerBase< TauType, TauDiscriminator >.
Definition at line 170 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 192 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 357 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
References category_output_, eostools::move(), and edm::Event::put().
Referenced by PFRecoTauDiscriminationByMVAIsolationRun2().
|
static |
Definition at line 365 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 163 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent(), discriminate(), and endEvent().
|
private |
Definition at line 151 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent(), and PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 152 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent().
|
private |
Definition at line 160 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent().
|
private |
Definition at line 159 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent(), and PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 142 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent(), and PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 165 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent(), and ~PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 141 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent(), PFRecoTauDiscriminationByMVAIsolationRun2(), and ~PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 138 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by ExternalGeneratorFilter.ExternalGeneratorFilter::insertInto(), Modules.SwitchProducer::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), and Modules.ESProducer::nameInProcessDesc_().
|
private |
Definition at line 145 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by discriminate(), PFRecoTauDiscriminationByMVAIsolationRun2(), and ~PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 140 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent(), and PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 144 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by discriminate(), and PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 143 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent(), discriminate(), and ~PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 153 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent(), and PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 154 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent().
|
private |
Definition at line 158 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent().
|
private |
Definition at line 157 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent(), and PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 155 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent(), and PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 156 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent().
|
private |
Definition at line 149 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent().
|
private |
Definition at line 162 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent().
|
private |
Definition at line 148 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by beginEvent(), and PFRecoTauDiscriminationByMVAIsolationRun2().
|
private |
Definition at line 167 of file PFRecoTauDiscriminationByMVAIsolationRun2.cc.
Referenced by discriminate(), and PFRecoTauDiscriminationByMVAIsolationRun2().