CMS 3D CMS Logo

TtSemiLepHypGenMatch.h
Go to the documentation of this file.
1 #ifndef TtSemiLepHypGenMatch_h
2 #define TtSemiLepHypGenMatch_h
3 
5 
6 
8 
9  public:
10 
11  explicit TtSemiLepHypGenMatch(const edm::ParameterSet&);
12  ~TtSemiLepHypGenMatch() override;
13 
14  private:
15 
19  void buildHypo(edm::Event&,
21  const edm::Handle<std::vector<pat::MET> >&,
22  const edm::Handle<std::vector<pat::Jet> >&,
23  std::vector<int>&, const unsigned int iComb) override;
27 
28  protected:
29 
31 };
32 
33 #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)