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);
17  }
19  double discriminate(const CaloTauRef& theCaloTauRef);
20  void beginEvent(const edm::Event&, const edm::EventSetup&);
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 
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:17
int iEvent
Definition: GenABIO.cc:243
void beginEvent(const edm::Event &, const edm::EventSetup &)