CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TtFullLepHypKinSolution.h
Go to the documentation of this file.
1 #ifndef TtFullLepHypKinSolution_h
2 #define TtFullLepHypKinSolution_h
3 
5 
7 public:
9  ~TtFullLepHypKinSolution() override;
10 
11 private:
13  void buildKey() override { key_ = TtEvent::kKinSolution; };
15  void buildHypo(edm::Event& evt,
16  const edm::Handle<std::vector<pat::Electron> >& elecs,
17  const edm::Handle<std::vector<pat::Muon> >& mus,
18  const edm::Handle<std::vector<pat::Jet> >& jets,
19  const edm::Handle<std::vector<pat::MET> >& mets,
20  std::vector<int>& match,
21  const unsigned int iComb) override;
22 
23  // edm::EDGetTokenT<std::vector<std::vector<int> > > particleIdcsToken_;
27 };
28 
29 #endif
int key_
hypothesis key (to be set by the buildKey function)
edm::EDGetTokenT< std::vector< reco::LeafCandidate > > nuBarsToken_
vector< PseudoJet > jets
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 full-leptonic event
edm::EDGetTokenT< std::vector< reco::LeafCandidate > > nusToken_
edm::EDGetTokenT< std::vector< double > > solWeightToken_
std::pair< typename Association::data_type::first_type, double > match(Reference key, Association association, bool bestMatchByMaxValue)
Generic matching function.
Definition: Utils.h:10
TtFullLepHypKinSolution(const edm::ParameterSet &)
void buildKey() override
build the event hypothesis key