00001 #ifndef TtSemiLepHypWMassMaxSumPt_h 00002 #define TtSemiLepHypWMassMaxSumPt_h 00003 00004 #include "TopQuarkAnalysis/TopJetCombination/interface/TtSemiLepHypothesis.h" 00005 00006 00007 class TtSemiLepHypWMassMaxSumPt : public TtSemiLepHypothesis { 00008 00009 public: 00010 00011 explicit TtSemiLepHypWMassMaxSumPt(const edm::ParameterSet&cfg): TtSemiLepHypothesis(cfg) {}; 00012 ~TtSemiLepHypWMassMaxSumPt() {}; 00013 00014 private: 00015 00017 virtual void buildKey() { key_= TtSemiLeptonicEvent::kWMassMaxSumPt; }; 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