CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TCRecoTauDiscriminationAgainstHadronicJets.cc
Go to the documentation of this file.
1 /*
2  * class TCRecoTauDiscriminationAgainstHadronicJets
3  * created : April 21 2010,
4  * revised : ,
5  * Authors : Sami Lehti (HIP)
6  */
7 
10 
11 using namespace reco;
12 
14  public:
16  tcTauAlgorithm = new TCTauAlgorithm(iConfig, consumesCollector());
17  }
19  double discriminate(const CaloTauRef& theCaloTauRef) override;
20  void beginEvent(const edm::Event&, const edm::EventSetup&) override;
21 
22  private:
24 };
25 
27  tcTauAlgorithm->eventSetup(iEvent,iSetup);
28 }
29 
30 
32  tcTauAlgorithm->recalculateEnergy(*theCaloTauRef);
33  return ((tcTauAlgorithm->algoComponent() != TCTauAlgorithm::TCAlgoHadronicJet) ? 1. : 0.);
34 }
35 
int iEvent
Definition: GenABIO.cc:230
double discriminate(const CaloTauRef &theCaloTauRef) override
void beginEvent(const edm::Event &, const edm::EventSetup &) override
DEFINE_FWK_MODULE(CosmicTrackingParticleSelector)