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, 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());
34 }
35 
double discriminate(const CaloTauRef &theCaloTauRef) override
TCRecoTauDiscriminationAlgoComponent(const edm::ParameterSet &iConfig)
int iEvent
Definition: GenABIO.cc:230
DEFINE_FWK_MODULE(CosmicTrackingParticleSelector)
void beginEvent(const edm::Event &, const edm::EventSetup &) override