Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:31:20

0001 #include "TopQuarkAnalysis/TopJetCombination/interface/TtSemiLepHypothesis.h"
0002 
0003 class TtSemiLepHypWMassDeltaTopMass : public TtSemiLepHypothesis {
0004 public:
0005   explicit TtSemiLepHypWMassDeltaTopMass(const edm::ParameterSet& cfg) : TtSemiLepHypothesis(cfg){};
0006 
0007 private:
0008   /// build the event hypothesis key
0009   void buildKey() override { key_ = TtSemiLeptonicEvent::kWMassDeltaTopMass; };
0010   /// build event hypothesis from the reco objects of a semi-leptonic event
0011   void buildHypo(edm::Event& evt,
0012                  const edm::Handle<edm::View<reco::RecoCandidate> >& leps,
0013                  const edm::Handle<std::vector<pat::MET> >& mets,
0014                  const edm::Handle<std::vector<pat::Jet> >& jets,
0015                  std::vector<int>& match,
0016                  const unsigned int iComb) override {
0017     TtSemiLepHypothesis::buildHypo(leps, mets, jets, match);
0018   };
0019 };
0020 
0021 #include "FWCore/Framework/interface/MakerMacros.h"
0022 DEFINE_FWK_MODULE(TtSemiLepHypWMassDeltaTopMass);