#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 TauDiscriminatorDataType | discriminate (const TauRef &tau) const =0 |
virtual void | endEvent (edm::Event &) |
void | produce (edm::Event &, const edm::EventSetup &) override |
TauDiscriminationProducerBase () | |
TauDiscriminationProducerBase (const edm::ParameterSet &iConfig) | |
~TauDiscriminationProducerBase () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
Static Public Member Functions | |
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... | |
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 55 of file TauDiscriminationProducerBase.h.
typedef std::vector<TauType> TauDiscriminationProducerBase< TauType, TauDiscriminator, TauDiscriminatorDataType, ConsumeType >::TauCollection |
Definition at line 58 of file TauDiscriminationProducerBase.h.
typedef edm::Ref<TauCollection> TauDiscriminationProducerBase< TauType, TauDiscriminator, TauDiscriminatorDataType, ConsumeType >::TauRef |
Definition at line 59 of file TauDiscriminationProducerBase.h.
typedef edm::RefProd<TauCollection> TauDiscriminationProducerBase< TauType, TauDiscriminator, TauDiscriminatorDataType, ConsumeType >::TauRefProd |
Definition at line 60 of file TauDiscriminationProducerBase.h.
|
explicit |
Definition at line 40 of file TauDiscriminationProducerBase.cc.
TauDiscriminationProducerBase< TauType, TauDiscriminator, TauDiscriminatorDataType, ConsumeType >::TauDiscriminationProducerBase | ( | ) |
Definition at line 32 of file TauDiscriminationProducerBase.cc.
|
inlineoverride |
Definition at line 69 of file TauDiscriminationProducerBase.h.
|
inlinevirtual |
Reimplemented in PFRecoTauDiscriminationByIsolationContainer, PFRecoTauDiscriminationByIsolation, TauDiscriminationAgainstElectronMVA6< TauType, TauDiscriminator, ElectronType >, TauDiscriminationAgainstElectronDeadECAL< TauType, TauDiscriminator >, PFTauDecayModeCutMultiplexer, reco::tau::PATTauDiscriminationByMVAIsolationRun2, reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2, PFRecoTauDiscriminationByIsolationMVA2, PFRecoTauDiscriminationAgainstElectron2, and PFRecoTauDiscriminationByNProngs.
Definition at line 74 of file TauDiscriminationProducerBase.h.
|
pure virtual |
|
inlinevirtual |
Definition at line 80 of file TauDiscriminationProducerBase.h.
|
static |
|
static |
helper method to retrieve tau type name, e.g. to build correct cfi getter
Definition at line 196 of file TauDiscriminationProducerBase.cc.
Referenced by TauDiscriminationProducerBase< TauType, TauDiscriminator >::TauDiscriminationProducerBase().
|
override |
Definition at line 88 of file TauDiscriminationProducerBase.cc.
|
private |
Definition at line 115 of file TauDiscriminationProducerBase.h.
Referenced by TauDiscriminationProducerBase< TauType, TauDiscriminator >::TauDiscriminationProducerBase().
|
protected |
Definition at line 106 of file TauDiscriminationProducerBase.h.
Referenced by ExternalGeneratorFilter.ExternalGeneratorFilter::insertInto(), Modules.SwitchProducer::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), and Modules.ESProducer::nameInProcessDesc_().
|
protected |
Definition at line 102 of file TauDiscriminationProducerBase.h.
Referenced by PFTauDiscriminatorLogicalAndProducer::PFTauDiscriminatorLogicalAndProducer(), and TauDiscriminationProducerBase< TauType, TauDiscriminator >::TauDiscriminationProducerBase().
|
private |
Definition at line 113 of file TauDiscriminationProducerBase.h.
Referenced by TauDiscriminationProducerBase< TauType, TauDiscriminator >::TauDiscriminationProducerBase().
|
protected |
Definition at line 107 of file TauDiscriminationProducerBase.h.
Referenced by reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::beginEvent(), and TauDiscriminationProducerBase< TauType, TauDiscriminator >::TauDiscriminationProducerBase().
|
protected |
Definition at line 110 of file TauDiscriminationProducerBase.h.
|
protected |
Definition at line 104 of file TauDiscriminationProducerBase.h.
Referenced by TauDiscriminationProducerBase< TauType, TauDiscriminator >::TauDiscriminationProducerBase().