CMS 3D CMS Logo

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