CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TCRecoTauDiscriminationAlgoComponent.cc
Go to the documentation of this file.
1 /*
2  * class TCRecoTauDiscriminationAlgoComponent
3  * created : May 4 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());
34 }
35 
double discriminate(const CaloTauRef &theCaloTauRef)
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:17
TCRecoTauDiscriminationAlgoComponent(const edm::ParameterSet &iConfig)
int iEvent
Definition: GenABIO.cc:243
void beginEvent(const edm::Event &, const edm::EventSetup &)