Public Member Functions | |
void | beginEvent (const edm::Event &, const edm::EventSetup &) override |
double | discriminate (const PFTauRef &) const override |
void | endEvent (edm::Event &) override |
PFRecoTauDiscriminationByIsolationMVA2 (const edm::ParameterSet &cfg) | |
~PFRecoTauDiscriminationByIsolationMVA2 () 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 | |
enum | { kOldDMwoLT, kOldDMwLT, kNewDMwoLT, kNewDMwLT } |
typedef edm::AssociationVector< reco::PFTauRefProd, std::vector< reco::PFTauTransverseImpactParameterRef > > | PFTauTIPAssociationByRef |
Private Attributes | |
std::unique_ptr< PFTauDiscriminator > | category_output_ |
edm::EDGetTokenT< reco::PFTauDiscriminator > | ChargedIsoPtSum_token |
edm::Handle< reco::PFTauDiscriminator > | chargedIsoPtSums_ |
edm::FileInPath | inputFileName_ |
std::vector< TFile * > | inputFilesToDelete_ |
bool | loadMVAfromDB_ |
std::string | moduleLabel_ |
float * | mvaInput_ |
std::string | mvaName_ |
int | mvaOpt_ |
const GBRForest * | mvaReader_ |
edm::EDGetTokenT< reco::PFTauDiscriminator > | NeutralIsoPtSum_token |
edm::Handle< reco::PFTauDiscriminator > | neutralIsoPtSums_ |
edm::EDGetTokenT< reco::PFTauDiscriminator > | PUcorrPtSum_token |
edm::Handle< reco::PFTauDiscriminator > | puCorrPtSums_ |
edm::Handle< PFTauTIPAssociationByRef > | tauLifetimeInfos |
edm::Handle< TauCollection > | taus_ |
edm::EDGetTokenT< PFTauTIPAssociationByRef > | TauTransverseImpactParameters_token |
int | verbosity_ |
Definition at line 65 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
|
private |
Definition at line 134 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
|
private |
Enumerator | |
---|---|
kOldDMwoLT | |
kOldDMwLT | |
kNewDMwoLT | |
kNewDMwLT |
Definition at line 130 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
|
inlineexplicit |
Definition at line 68 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
References Exception, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), reco::tau::kNewDMwLT, reco::tau::kNewDMwoLT, reco::tau::kOldDMwLT, reco::tau::kOldDMwoLT, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineoverride |
Definition at line 112 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
|
overridevirtual |
Reimplemented from TauDiscriminationProducerBase< TauType, TauDiscriminator >.
Definition at line 153 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
References edm::Event::getByToken(), and taus_updatedMVAIds_cff::loadMVAfromDB.
|
override |
Definition at line 173 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
References Abs(), taus_updatedMVAIds_cff::category, tauProducer_cfi::chargedIsoPtSum, reco::PFTauTransverseImpactParameter::dxy(), reco::PFTauTransverseImpactParameter::dxy_Sig(), MillePedeFileConverter_cfg::e, reco::PFTauTransverseImpactParameter::flightLength(), reco::PFTauTransverseImpactParameter::flightLengthSig(), reco::PFTauTransverseImpactParameter::hasSecondaryVertex(), edm::Ref< C, T, F >::isNull(), reco::tau::kNewDMwLT, reco::tau::kNewDMwoLT, reco::tau::kOldDMwLT, reco::tau::kOldDMwoLT, Max(), Min(), tauProducer_cfi::neutralIsoPtSum, tauProducer_cfi::puCorrPtSum, Sign(), and metsig::tau.
|
overridevirtual |
Reimplemented from TauDiscriminationProducerBase< TauType, TauDiscriminator >.
Definition at line 237 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
References DEFINE_FWK_MODULE, eostools::move(), and edm::Event::put().
|
private |
Definition at line 146 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
|
private |
Definition at line 138 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
|
private |
Definition at line 139 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
|
private |
Definition at line 128 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
|
private |
Definition at line 148 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
|
private |
Definition at line 127 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
|
private |
Definition at line 124 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
Referenced by Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), and Modules.ESProducer::nameInProcessDesc_().
|
private |
Definition at line 132 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
|
private |
Definition at line 126 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
|
private |
Definition at line 131 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
|
private |
Definition at line 129 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
|
private |
Definition at line 140 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
|
private |
Definition at line 141 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
|
private |
Definition at line 142 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
|
private |
Definition at line 143 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
|
private |
Definition at line 136 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
|
private |
Definition at line 145 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
|
private |
Definition at line 135 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
|
private |
Definition at line 150 of file PFRecoTauDiscriminationByMVAIsolation2.cc.