CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RecoTauIndexDiscriminatorProducer.cc
Go to the documentation of this file.
1 /*
2  * class RecoTauHashDiscriminatorProducer
3  * Author : Evan K. Friis (UC Davis)
4  *
5  * Helper utility module that produces a PFTauDiscriminator
6  * that only contains a unique identifier for a PFTau.
7  *
8  * Currently, it is only the index into the original colleciton.
9  *
10  */
11 
13 
15  public:
19  double discriminate(const reco::PFTauRef& thePFTauRef) override;
20  void beginEvent(const edm::Event& evt, const edm::EventSetup& evtSetup) override {};
21 };
22 
24  return thePFTauRef.key();
25 }
26 
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:17
RecoTauIndexDiscriminatorProducer(const edm::ParameterSet &cfg)
double discriminate(const reco::PFTauRef &thePFTauRef) override
void beginEvent(const edm::Event &evt, const edm::EventSetup &evtSetup) override
key_type key() const
Accessor for product key.
Definition: Ref.h:266