CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TtSemiLepHypGeom.cc
Go to the documentation of this file.
2 
4 public:
6 
7 private:
9  void buildKey() override { key_ = TtSemiLeptonicEvent::kGeom; };
11  void buildHypo(edm::Event& evt,
13  const edm::Handle<std::vector<pat::MET> >& mets,
14  const edm::Handle<std::vector<pat::Jet> >& jets,
15  std::vector<int>& match,
16  const unsigned int iComb) override {
17  TtSemiLepHypothesis::buildHypo(leps, mets, jets, match);
18  };
19 };
20 
tuple cfg
Definition: looper.py:296
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
void buildHypo(const edm::Handle< edm::View< reco::RecoCandidate > > &leps, const edm::Handle< std::vector< pat::MET > > &mets, const edm::Handle< std::vector< pat::Jet > > &jets, std::vector< int > &jetPartonAssociation)
minimalistic build function for simple hypotheses
void buildKey() override
build the event hypothesis key
TtSemiLepHypGeom(const edm::ParameterSet &cfg)
vector< PseudoJet > jets
void buildHypo(edm::Event &evt, const edm::Handle< edm::View< reco::RecoCandidate > > &leps, const edm::Handle< std::vector< pat::MET > > &mets, const edm::Handle< std::vector< pat::Jet > > &jets, std::vector< int > &match, const unsigned int iComb) override
build event hypothesis from the reco objects of a semi-leptonic event
std::pair< typename Association::data_type::first_type, double > match(Reference key, Association association, bool bestMatchByMaxValue)
Generic matching function.
Definition: Utils.h:10
int key_
hypothesis key (to be set by the buildKey function)