#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 Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Member Functions | |
virtual void | beginEvent (const edm::Event &evt, const edm::EventSetup &evtSetup) |
virtual double | discriminate (const TauRef &tau) const =0 |
virtual void | endEvent (edm::Event &evt) |
void | produce (edm::Event &, const edm::EventSetup &) |
TauDiscriminationProducerBase (const edm::ParameterSet &iConfig) | |
TauDiscriminationProducerBase () | |
virtual | ~TauDiscriminationProducerBase () |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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_ |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Definition at line 49 of file TauDiscriminationProducerBase.h.
typedef std::vector<TauType> TauDiscriminationProducerBase< TauType, TauDiscriminator >::TauCollection |
Definition at line 52 of file TauDiscriminationProducerBase.h.
typedef edm::Ref<TauCollection> TauDiscriminationProducerBase< TauType, TauDiscriminator >::TauRef |
Definition at line 53 of file TauDiscriminationProducerBase.h.
typedef edm::RefProd<TauCollection> TauDiscriminationProducerBase< TauType, TauDiscriminator >::TauRefProd |
Definition at line 54 of file TauDiscriminationProducerBase.h.
|
explicit |
Definition at line 17 of file TauDiscriminationProducerBase.cc.
References TauDiscriminationProducerBase< TauType, TauDiscriminator >::andPrediscriminants_, GOODCOLL_filter_cfg::cut, edm::hlt::Exception, edm::ParameterSet::getParameter(), diffTwoXMLs::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 edm::hlt::Exception.
|
inlinevirtual |
Definition at line 63 of file TauDiscriminationProducerBase.h.
|
inlinevirtual |
Reimplemented in PFRecoTauDiscriminationByIsolation, PFRecoTauDiscriminationByIsolationMVA2, PFRecoTauDiscriminationAgainstElectron2, PFRecoTauDiscriminationAgainstElectronDeadECAL, RecoTauMVATransform, PFRecoTauDiscriminationAgainstElectronMVA5, PFTauDecayModeCutMultiplexer, RecoTauDiscriminantCutMultiplexer, PFRecoTauDiscriminationByFlightPathSignificance, CaloRecoTauDiscriminationByDeltaE, PFRecoTauDiscriminationByDeltaE, PFRecoTauDiscriminationByNProngs, PFRecoTauDiscriminationByTauPolarization, RecoTauDiscriminationByGenMatch, PFRecoTauDiscriminationByFlight, and RecoTauDecayModeCutMultiplexer.
Definition at line 68 of file TauDiscriminationProducerBase.h.
|
pure virtual |
|
inlinevirtual |
Reimplemented in PFRecoTauDiscriminationByIsolationMVA2, and PFRecoTauDiscriminationAgainstElectronMVA5.
Definition at line 75 of file TauDiscriminationProducerBase.h.
|
virtual |
Implements edm::stream::EDProducerBase.
Definition at line 70 of file TauDiscriminationProducerBase.cc.
References edm::hlt::Exception, edm::ProductID::id(), edm::HandleBase::id(), convertSQLitetoXML_cfg::output, and query::result.
|
private |
Definition at line 104 of file TauDiscriminationProducerBase.h.
Referenced by TauDiscriminationProducerBase< TauType, TauDiscriminator >::TauDiscriminationProducerBase().
|
protected |
Definition at line 95 of file TauDiscriminationProducerBase.h.
Referenced by Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), and Modules.ESProducer::nameInProcessDesc_().
|
protected |
Definition at line 91 of file TauDiscriminationProducerBase.h.
Referenced by RecoTauDecayModeCutMultiplexer::discriminate(), PFRecoTauDiscriminationByFlight::discriminate(), RecoTauDiscriminantCutMultiplexer::discriminate(), RecoTauMVATransform::discriminate(), PFTauDiscriminatorLogicalAndProducer::PFTauDiscriminatorLogicalAndProducer(), RecoTauMVATransform::RecoTauMVATransform(), and TauDiscriminationProducerBase< TauType, TauDiscriminator >::TauDiscriminationProducerBase().
|
private |
Definition at line 102 of file TauDiscriminationProducerBase.h.
Referenced by TauDiscriminationProducerBase< TauType, TauDiscriminator >::TauDiscriminationProducerBase().
|
protected |
Definition at line 96 of file TauDiscriminationProducerBase.h.
Referenced by TauDiscriminationProducerBase< TauType, TauDiscriminator >::TauDiscriminationProducerBase().
|
protected |
Definition at line 99 of file TauDiscriminationProducerBase.h.
|
protected |
Definition at line 93 of file TauDiscriminationProducerBase.h.
Referenced by TauDiscriminationProducerBase< TauType, TauDiscriminator >::TauDiscriminationProducerBase().