Public Member Functions | |
void | beginEvent (const edm::Event &, const edm::EventSetup &) |
double | discriminate (const reco::PFTauRef &) |
RecoTauMVATransform (const edm::ParameterSet &pset) | |
~RecoTauMVATransform () | |
Public Member Functions inherited from TauDiscriminationProducerBase< TauType, TauDiscriminator > | |
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 () |
Private Types | |
typedef boost::ptr_map < reco::PFTau::hadronicDecayMode, TGraph > | TransformMap |
Private Attributes | |
edm::Handle < reco::PFTauDiscriminator > | disc_ |
edm::InputTag | input_ |
TransformMap | transforms_ |
Additional Inherited Members | |
Public Types inherited from TauDiscriminationProducerBase< TauType, TauDiscriminator > | |
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 |
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) |
Protected Attributes inherited from TauDiscriminationProducerBase< TauType, TauDiscriminator > | |
double | prediscriminantFailValue_ |
edm::InputTag | TauProducer_ |
Definition at line 45 of file RecoTauMVATransform.cc.
|
private |
Definition at line 55 of file RecoTauMVATransform.cc.
|
explicit |
Definition at line 63 of file RecoTauMVATransform.cc.
References edm::ParameterSet::getParameter(), input_, reco::tau::helpers::nCharged(), TauDiscriminationProducerBase< TauType, TauDiscriminator >::prediscriminantFailValue_, create_public_pileup_plots::transform, HPSTancTaus_cff::transforms, transforms_, and reco::tau::translateDecayMode().
|
inline |
Definition at line 48 of file RecoTauMVATransform.cc.
|
virtual |
Reimplemented from TauDiscriminationProducerBase< TauType, TauDiscriminator >.
Definition at line 94 of file RecoTauMVATransform.cc.
References disc_, edm::Event::getByLabel(), and input_.
double RecoTauMVATransform::discriminate | ( | const reco::PFTauRef & | tau | ) |
Definition at line 98 of file RecoTauMVATransform.cc.
References TauDiscriminationProducerBase< TauType, TauDiscriminator >::prediscriminantFailValue_, query::result, metsig::tau, create_public_pileup_plots::transform, transforms_, and relativeConstraints::value.
|
private |
Definition at line 59 of file RecoTauMVATransform.cc.
Referenced by beginEvent().
|
private |
Definition at line 58 of file RecoTauMVATransform.cc.
Referenced by beginEvent(), and RecoTauMVATransform().
|
private |
Definition at line 56 of file RecoTauMVATransform.cc.
Referenced by discriminate(), and RecoTauMVATransform().