CMS 3D CMS Logo

TtFullLepHypGenMatch.h
Go to the documentation of this file.
1 #ifndef TtFullLepHypGenMatch_h
2 #define TtFullLepHypGenMatch_h
3 
6 
8 
9  public:
10 
11  explicit TtFullLepHypGenMatch(const edm::ParameterSet&);
13 
14  private:
15 
19  virtual void buildHypo(edm::Event& evt,
20  const edm::Handle<std::vector<pat::Electron > >& elecs,
21  const edm::Handle<std::vector<pat::Muon> >& mus,
22  const edm::Handle<std::vector<pat::Jet> >& jets,
23  const edm::Handle<std::vector<pat::MET> >& mets,
24  std::vector<int>& match,
25  const unsigned int iComb);
26 
27  template <typename O>
29  const edm::Handle<std::vector<O> >&);
31  const edm::Handle<std::vector<pat::MET> >&);
32 
33  protected:
34 
36 };
37 
38 #endif
int key_
hypothesis key (to be set by the buildKey function)
vector< PseudoJet > jets
TtFullLepHypGenMatch(const edm::ParameterSet &)
virtual void buildHypo(edm::Event &evt, const edm::Handle< std::vector< pat::Electron > > &elecs, const edm::Handle< std::vector< pat::Muon > > &mus, const edm::Handle< std::vector< pat::Jet > > &jets, const edm::Handle< std::vector< pat::MET > > &mets, std::vector< int > &match, const unsigned int iComb)
build event hypothesis from the reco objects of a semi-leptonic event
void buildMatchingNeutrinos(edm::Event &, const edm::Handle< std::vector< pat::MET > > &)
virtual void buildKey()
build the event hypothesis key
edm::EDGetTokenT< TtGenEvent > genEvtToken_
int findMatchingLepton(const reco::GenParticle *, const edm::Handle< std::vector< O > > &)
std::pair< typename Association::data_type::first_type, double > match(Reference key, Association association, bool bestMatchByMaxValue)
Generic matching function.
Definition: Utils.h:10