#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::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
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)=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::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Protected Attributes | |
double | prediscriminantFailValue_ |
edm::InputTag | TauProducer_ |
Private Attributes | |
uint8_t | andPrediscriminants_ |
std::vector< TauDiscInfo > | prediscriminants_ |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
Definition at line 47 of file TauDiscriminationProducerBase.h.
typedef std::vector<TauType> TauDiscriminationProducerBase< TauType, TauDiscriminator >::TauCollection |
Definition at line 50 of file TauDiscriminationProducerBase.h.
typedef edm::Ref<TauCollection> TauDiscriminationProducerBase< TauType, TauDiscriminator >::TauRef |
Definition at line 51 of file TauDiscriminationProducerBase.h.
typedef edm::RefProd<TauCollection> TauDiscriminationProducerBase< TauType, TauDiscriminator >::TauRefProd |
Definition at line 52 of file TauDiscriminationProducerBase.h.
|
explicit |
Definition at line 15 of file TauDiscriminationProducerBase.cc.
References GOODCOLL_filter_cfg::cut, edm::hlt::Exception, edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterNamesForType(), diffTwoXMLs::label, TauDiscriminationProducerBase< TauType, TauDiscriminator >::TauDiscInfo::label, and create_public_pileup_plots::transform.
TauDiscriminationProducerBase< TauType, TauDiscriminator >::TauDiscriminationProducerBase | ( | ) |
Definition at line 7 of file TauDiscriminationProducerBase.cc.
References edm::hlt::Exception.
|
inlinevirtual |
Definition at line 61 of file TauDiscriminationProducerBase.h.
|
inlinevirtual |
Reimplemented in PFRecoTauDiscriminationByIsolation, PFRecoTauDiscriminationAgainstElectronMVA3, TauDiscriminationAgainstCaloMuon< TauType, TauDiscriminator >, PFRecoTauDiscriminationAgainstElectronMVA2, PFRecoTauDiscriminationByMVAIsolation, PFRecoTauDiscriminationAgainstMuon2, PFTauMVADiscriminator, PFRecoTauDiscriminationAgainstElectronDeadECAL, RecoTauMVATransform, PFTauDecayModeCutMultiplexer, RecoTauMVADiscriminator, PFRecoTauDiscriminationByFlightPathSignificance, CaloRecoTauDiscriminationByFlightPathSignificance, TauDiscriminationAgainstMuon< TauType, TauDiscriminator >, PFRecoTauCorrectedInvariantMassProducer, CaloRecoTauDiscriminationByDeltaE, RecoTauDiscriminantCutMultiplexer, CaloRecoTauDiscriminationAgainstElectron, PFRecoTauDiscriminationByDeltaE, PFRecoTauDecayModeIndexProducer, PFRecoTauDiscriminationByTauPolarization, CaloRecoTauDiscriminationAgainstHadronicJets, PFRecoTauDiscriminationByNProngs, RecoTauDiscriminationByGenMatch, TCRecoTauDiscriminationAgainstHadronicJets, TCRecoTauDiscriminationAlgoComponent, RecoTauIndexDiscriminatorProducer, PFRecoTauDiscriminationByFlight, and RecoTauDecayModeCutMultiplexer.
Definition at line 66 of file TauDiscriminationProducerBase.h.
|
pure virtual |
|
inlinevirtual |
Reimplemented in PFRecoTauDiscriminationAgainstElectronMVA3, and PFRecoTauDiscriminationAgainstElectronMVA2.
Definition at line 73 of file TauDiscriminationProducerBase.h.
|
virtual |
Implements edm::EDProducer.
Definition at line 65 of file TauDiscriminationProducerBase.cc.
References edm::hlt::Exception, edm::ProductID::id(), edm::HandleBase::id(), convertSQLitetoXML_cfg::output, and query::result.
|
private |
Definition at line 91 of file TauDiscriminationProducerBase.h.
|
protected |
Definition at line 84 of file TauDiscriminationProducerBase.h.
Referenced by RecoTauDecayModeCutMultiplexer::discriminate(), PFRecoTauDiscriminationByFlight::discriminate(), RecoTauDiscriminantCutMultiplexer::discriminate(), RecoTauMVATransform::discriminate(), PFTauMVADiscriminator::discriminate(), PFTauDiscriminatorLogicalAndProducer::PFTauDiscriminatorLogicalAndProducer(), PFTauMVADiscriminator::PFTauMVADiscriminator(), RecoTauMVADiscriminator::RecoTauMVADiscriminator(), RecoTauMVATransform::RecoTauMVATransform(), and TauDiscriminationByStringCut< TauType, TauDiscriminator >::TauDiscriminationByStringCut().
|
private |
Definition at line 89 of file TauDiscriminationProducerBase.h.
|
protected |
Definition at line 86 of file TauDiscriminationProducerBase.h.