CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_4/src/TopQuarkAnalysis/TopPairBSM/interface/CATopJetHelper.h

Go to the documentation of this file.
00001 #ifndef TopQuarkAnalysis_TopPairBSM_interface_CATopJetHelper_h
00002 #define TopQuarkAnalysis_TopPairBSM_interface_CATopJetHelper_h
00003 
00004 
00005 // \class CATopJetHelper
00006 // 
00007 // \short Create tag info properties for CATopTags that can be computed
00008 //        "on the fly". 
00009 // 
00010 //
00011 // \author Salvatore Rappoccio
00012 // \version first version on 1-May-2011
00013 
00014 #include "DataFormats/JetReco/interface/Jet.h"
00015 #include "AnalysisDataFormats/TopObjects/interface/CATopJetTagInfo.h"
00016 
00017 class CATopJetHelper : public std::unary_function<reco::Jet, reco::CATopJetProperties> {
00018  public:
00019 
00020   CATopJetHelper(double TopMass, double WMass) :
00021   TopMass_(TopMass), WMass_(WMass)
00022   {}
00023 
00024   reco::CATopJetProperties operator()( reco::Jet const & ihardJet ) const;
00025   
00026  protected:
00027   double      TopMass_;
00028   double      WMass_;
00029 
00030 };
00031 
00032 
00033 #endif