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 |
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 | |
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 68 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
|
private |
Definition at line 135 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
|
private |
Enumerator | |
---|---|
kOldDMwoLT | |
kOldDMwLT | |
kNewDMwoLT | |
kNewDMwLT |
Definition at line 131 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
|
inlineexplicit |
Definition at line 71 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
References Exception, 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.
References fillDescriptions().
|
overridevirtual |
Reimplemented from TauDiscriminationProducerBase< TauType, TauDiscriminator >.
Definition at line 154 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
References edm::Event::getByToken(), and taus_updatedMVAIds_cff::loadMVAfromDB.
|
override |
Definition at line 174 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 238 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
References eostools::move(), and edm::Event::put().
|
static |
Definition at line 245 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addOptional(), DEFINE_FWK_MODULE, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 147 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
|
private |
Definition at line 139 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
|
private |
Definition at line 140 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
|
private |
Definition at line 129 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
|
private |
Definition at line 149 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
|
private |
Definition at line 128 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
|
private |
Definition at line 125 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
Referenced by ExternalGeneratorFilter.ExternalGeneratorFilter::insertInto(), Modules.SwitchProducer::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), and Modules.ESProducer::nameInProcessDesc_().
|
private |
Definition at line 133 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
|
private |
Definition at line 127 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
|
private |
Definition at line 132 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
|
private |
Definition at line 130 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 144 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
|
private |
Definition at line 137 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
|
private |
Definition at line 146 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
|
private |
Definition at line 136 of file PFRecoTauDiscriminationByMVAIsolation2.cc.
|
private |
Definition at line 151 of file PFRecoTauDiscriminationByMVAIsolation2.cc.