CMS 3D CMS Logo

TtSemiLepHypGenMatch.h
Go to the documentation of this file.
1 #ifndef TtSemiLepHypGenMatch_h
2 #define TtSemiLepHypGenMatch_h
3 
5 
7 public:
9  ~TtSemiLepHypGenMatch() override;
10 
11 private:
15  void buildHypo(edm::Event&,
17  const edm::Handle<std::vector<pat::MET> >&,
18  const edm::Handle<std::vector<pat::Jet> >&,
19  std::vector<int>&,
20  const unsigned int iComb) override;
23 
24 protected:
26 };
27 
28 #endif
void buildHypo(edm::Event &, const edm::Handle< edm::View< reco::RecoCandidate > > &, const edm::Handle< std::vector< pat::MET > > &, const edm::Handle< std::vector< pat::Jet > > &, std::vector< int > &, const unsigned int iComb) override
build event hypothesis from the reco objects of a semi-leptonic event
int findMatchingLepton(const edm::Handle< TtGenEvent > &genEvt, const edm::Handle< edm::View< reco::RecoCandidate > > &)
find index of the candidate nearest to the singleLepton of the generator event in the collection; ret...
TtSemiLepHypGenMatch(const edm::ParameterSet &)
void buildKey() override
build the event hypothesis key
edm::EDGetTokenT< TtGenEvent > genEvtToken_
int key_
hypothesis key (to be set by the buildKey function)