CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10/src/TopQuarkAnalysis/TopJetCombination/plugins/TtSemiLepHypMaxSumPtWMass.h

Go to the documentation of this file.
00001 #ifndef TtSemiLepHypMaxSumPtWMass_h
00002 #define TtSemiLepHypMaxSumPtWMass_h
00003 
00004 #include "TopQuarkAnalysis/TopJetCombination/interface/TtSemiLepHypothesis.h"
00005 
00006 
00007 class TtSemiLepHypMaxSumPtWMass : public TtSemiLepHypothesis  {
00008 
00009  public:
00010 
00011   explicit TtSemiLepHypMaxSumPtWMass(const edm::ParameterSet& cfg): TtSemiLepHypothesis(cfg) {};
00012   ~TtSemiLepHypMaxSumPtWMass() {};
00013 
00014  private:
00015 
00017   virtual void buildKey() { key_= TtSemiLeptonicEvent::kMaxSumPtWMass; };  
00019   virtual void buildHypo(edm::Event& evt,
00020                          const edm::Handle<edm::View<reco::RecoCandidate> >& leps,
00021                          const edm::Handle<std::vector<pat::MET> >& mets,
00022                          const edm::Handle<std::vector<pat::Jet> >& jets,
00023                          std::vector<int>& match, const unsigned int iComb) { TtSemiLepHypothesis::buildHypo(leps, mets, jets, match); };
00024 };
00025 
00026 #endif