CMS 3D CMS Logo

TtFullLepHypGenMatch.h
Go to the documentation of this file.
1 #ifndef TtFullLepHypGenMatch_h
2 #define TtFullLepHypGenMatch_h
3 
6 
8 public:
10  ~TtFullLepHypGenMatch() override;
11 
12 private:
16  void buildHypo(edm::Event& evt,
17  const edm::Handle<std::vector<pat::Electron> >& elecs,
18  const edm::Handle<std::vector<pat::Muon> >& mus,
19  const edm::Handle<std::vector<pat::Jet> >& jets,
20  const edm::Handle<std::vector<pat::MET> >& mets,
21  std::vector<int>& match,
22  const unsigned int iComb) override;
23 
24  template <typename O>
25  int findMatchingLepton(const reco::GenParticle*, const edm::Handle<std::vector<O> >&);
26  void buildMatchingNeutrinos(edm::Event&, const edm::Handle<std::vector<pat::MET> >&);
27 
28 protected:
30 };
31 
32 #endif
reco::GenParticle
Definition: GenParticle.h:21
edm::EDGetTokenT< TtGenEvent >
TtFullLepHypothesis
Definition: TtFullLepHypothesis.h:34
TtFullLepHypGenMatch::buildMatchingNeutrinos
void buildMatchingNeutrinos(edm::Event &, const edm::Handle< std::vector< pat::MET > > &)
Definition: TtFullLepHypGenMatch.cc:128
singleTopDQM_cfi.jets
jets
Definition: singleTopDQM_cfi.py:42
singleTopDQM_cfi.mets
mets
Definition: singleTopDQM_cfi.py:43
edm::Handle
Definition: AssociativeIterator.h:50
TtFullLepHypGenMatch::findMatchingLepton
int findMatchingLepton(const reco::GenParticle *, const edm::Handle< std::vector< O > > &)
Definition: TtFullLepHypGenMatch.cc:114
LeafCandidate.h
TtFullLepHypGenMatch
Definition: TtFullLepHypGenMatch.h:7
singleTopDQM_cfi.elecs
elecs
Definition: singleTopDQM_cfi.py:41
TtFullLepHypothesis.h
TtFullLepHypGenMatch::~TtFullLepHypGenMatch
~TtFullLepHypGenMatch() override
Definition: TtFullLepHypGenMatch.cc:8
edm::ParameterSet
Definition: ParameterSet.h:47
TtFullLepHypGenMatch::buildHypo
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) override
build event hypothesis from the reco objects of a semi-leptonic event
Definition: TtFullLepHypGenMatch.cc:10
match
std::pair< typename Association::data_type::first_type, double > match(Reference key, Association association, bool bestMatchByMaxValue)
Generic matching function.
Definition: Utils.h:10
TtFullLepHypGenMatch::TtFullLepHypGenMatch
TtFullLepHypGenMatch(const edm::ParameterSet &)
Definition: TtFullLepHypGenMatch.cc:5
TtEvent::kGenMatch
Definition: TtEvent.h:30
TtFullLepHypGenMatch::genEvtToken_
edm::EDGetTokenT< TtGenEvent > genEvtToken_
Definition: TtFullLepHypGenMatch.h:29
edm::Event
Definition: Event.h:73
TtFullLepHypGenMatch::buildKey
void buildKey() override
build the event hypothesis key
Definition: TtFullLepHypGenMatch.h:14
TtFullLepHypothesis::key_
int key_
hypothesis key (to be set by the buildKey function)
Definition: TtFullLepHypothesis.h:93