#include <TauDiscriminationProducerBase.h>
Classes | |
struct | TauDiscInfo |
Public Types | |
typedef std::vector< TauType > | TauCollection |
typedef edm::Ref< TauCollection > | TauRef |
typedef edm::RefProd< TauCollection > | TauRefProd |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Member Functions | |
virtual void | beginEvent (const edm::Event &, const edm::EventSetup &) |
virtual double | discriminate (const TauRef &tau) const =0 |
virtual void | endEvent (edm::Event &) |
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 |
Protected Attributes | |
std::string | moduleLabel_ |
double | prediscriminantFailValue_ |
edm::EDGetTokenT< TauCollection > | Tau_token |
size_t | tauIndex_ |
edm::InputTag | TauProducer_ |
Private Attributes | |
uint8_t | andPrediscriminants_ |
std::vector< TauDiscInfo > | prediscriminants_ |
Definition at line 51 of file TauDiscriminationProducerBase.h.
typedef std::vector<TauType> TauDiscriminationProducerBase< TauType, TauDiscriminator >::TauCollection |
Definition at line 54 of file TauDiscriminationProducerBase.h.
typedef edm::Ref<TauCollection> TauDiscriminationProducerBase< TauType, TauDiscriminator >::TauRef |
Definition at line 55 of file TauDiscriminationProducerBase.h.
typedef edm::RefProd<TauCollection> TauDiscriminationProducerBase< TauType, TauDiscriminator >::TauRefProd |
Definition at line 56 of file TauDiscriminationProducerBase.h.
|
explicit |
Definition at line 17 of file TauDiscriminationProducerBase.cc.
References TauDiscriminationProducerBase< TauType, TauDiscriminator >::andPrediscriminants_, TkAlMuonSelectors_cfi::cut, Exception, edm::ParameterSet::getParameter(), label, TauDiscriminationProducerBase< TauType, TauDiscriminator >::TauDiscInfo::label, TauDiscriminationProducerBase< TauType, TauDiscriminator >::prediscriminantFailValue_, TauDiscriminationProducerBase< TauType, TauDiscriminator >::prediscriminants_, AlCaHLTBitMon_QueryRunRegistry::string, TauDiscriminationProducerBase< TauType, TauDiscriminator >::Tau_token, TauDiscriminationProducerBase< TauType, TauDiscriminator >::TauProducer_, and create_public_lumi_plots::transform.
TauDiscriminationProducerBase< TauType, TauDiscriminator >::TauDiscriminationProducerBase | ( | ) |
Definition at line 9 of file TauDiscriminationProducerBase.cc.
References Exception.
|
inlineoverride |
Definition at line 65 of file TauDiscriminationProducerBase.h.
References TauDiscriminationProducerBase< TauType, TauDiscriminator >::produce().
|
inlinevirtual |
Reimplemented in PFRecoTauDiscriminationByIsolation, reco::tau::PATTauDiscriminationByMVAIsolationRun2, reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2, PFRecoTauDiscriminationByIsolationMVA2, PFRecoTauDiscriminationAgainstElectron2, PFRecoTauDiscriminationAgainstElectronDeadECAL, PFRecoTauDiscriminationAgainstElectronMVA5, RecoTauMVATransform, PFRecoTauDiscriminationAgainstElectronMVA6, PFTauDecayModeCutMultiplexer, PATTauDiscriminantCutMultiplexer, PATTauDiscriminationAgainstElectronMVA6, RecoTauDiscriminantCutMultiplexer, PFRecoTauDiscriminationByFlightPathSignificance, CaloRecoTauDiscriminationByDeltaE, PFRecoTauDiscriminationByDeltaE, PFRecoTauDiscriminationByTauPolarization, PFRecoTauDiscriminationByNProngs, RecoTauDiscriminationByGenMatch, PFRecoTauDiscriminationByFlight, and RecoTauDecayModeCutMultiplexer.
Definition at line 70 of file TauDiscriminationProducerBase.h.
References TauDiscriminationProducerBase< TauType, TauDiscriminator >::discriminate(), and metsig::tau.
Referenced by TauDiscriminationProducerBase< TauType, TauDiscriminator >::produce().
|
pure virtual |
Implemented in reco::tau::PATTauDiscriminationByMVAIsolationRun2, PATTauDiscriminationAgainstElectronMVA6, and PATTauDiscriminantCutMultiplexer.
Referenced by TauDiscriminationProducerBase< TauType, TauDiscriminator >::beginEvent(), and TauDiscriminationProducerBase< TauType, TauDiscriminator >::produce().
|
inlinevirtual |
Reimplemented in reco::tau::PATTauDiscriminationByMVAIsolationRun2, reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2, PFRecoTauDiscriminationByIsolationMVA2, PFRecoTauDiscriminationAgainstElectronMVA5, PFRecoTauDiscriminationAgainstElectronMVA6, and PATTauDiscriminationAgainstElectronMVA6.
Definition at line 76 of file TauDiscriminationProducerBase.h.
Referenced by TauDiscriminationProducerBase< TauType, TauDiscriminator >::produce().
|
override |
Definition at line 70 of file TauDiscriminationProducerBase.cc.
References TauDiscriminationProducerBase< TauType, TauDiscriminator >::andPrediscriminants_, TauDiscriminationProducerBase< TauType, TauDiscriminator >::beginEvent(), TauDiscriminationProducerBase< TauType, TauDiscriminator >::discriminate(), TauDiscriminationProducerBase< TauType, TauDiscriminator >::endEvent(), Exception, edm::HandleBase::id(), eostools::move(), convertSQLitetoXML_cfg::output, TauDiscriminationProducerBase< TauType, TauDiscriminator >::prediscriminantFailValue_, TauDiscriminationProducerBase< TauType, TauDiscriminator >::prediscriminants_, mps_fire::result, TauDiscriminationProducerBase< TauType, TauDiscriminator >::Tau_token, TauDiscriminationProducerBase< TauType, TauDiscriminator >::tauIndex_, TauDiscriminationProducerBase< TauType, TauDiscriminator >::TauProducer_, and nano_cff::taus.
Referenced by TauDiscriminationProducerBase< TauType, TauDiscriminator >::~TauDiscriminationProducerBase().
|
private |
Definition at line 106 of file TauDiscriminationProducerBase.h.
Referenced by TauDiscriminationProducerBase< TauType, TauDiscriminator >::produce(), and TauDiscriminationProducerBase< TauType, TauDiscriminator >::TauDiscriminationProducerBase().
|
protected |
Definition at line 97 of file TauDiscriminationProducerBase.h.
Referenced by Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), and Modules.ESProducer::nameInProcessDesc_().
|
protected |
Definition at line 93 of file TauDiscriminationProducerBase.h.
Referenced by RecoTauDecayModeCutMultiplexer::discriminate(), PFRecoTauDiscriminationByFlight::discriminate(), RecoTauDiscriminantCutMultiplexer::discriminate(), PATTauDiscriminantCutMultiplexer::discriminate(), RecoTauMVATransform::discriminate(), PFTauDiscriminatorLogicalAndProducer::PFTauDiscriminatorLogicalAndProducer(), TauDiscriminationProducerBase< TauType, TauDiscriminator >::produce(), RecoTauMVATransform::RecoTauMVATransform(), and TauDiscriminationProducerBase< TauType, TauDiscriminator >::TauDiscriminationProducerBase().
|
private |
Definition at line 104 of file TauDiscriminationProducerBase.h.
Referenced by TauDiscriminationProducerBase< TauType, TauDiscriminator >::produce(), and TauDiscriminationProducerBase< TauType, TauDiscriminator >::TauDiscriminationProducerBase().
|
protected |
Definition at line 98 of file TauDiscriminationProducerBase.h.
Referenced by reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::beginEvent(), TauDiscriminationProducerBase< TauType, TauDiscriminator >::produce(), and TauDiscriminationProducerBase< TauType, TauDiscriminator >::TauDiscriminationProducerBase().
|
protected |
Definition at line 101 of file TauDiscriminationProducerBase.h.
Referenced by reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::discriminate(), and TauDiscriminationProducerBase< TauType, TauDiscriminator >::produce().
|
protected |
Definition at line 95 of file TauDiscriminationProducerBase.h.
Referenced by TauDiscriminationProducerBase< TauType, TauDiscriminator >::produce(), and TauDiscriminationProducerBase< TauType, TauDiscriminator >::TauDiscriminationProducerBase().