CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TtSemiLepHypGeom.h
Go to the documentation of this file.
1 #ifndef TtSemiLepHypGeom_h
2 #define TtSemiLepHypGeom_h
3 
5 
7 public:
9  ~TtSemiLepHypGeom() override{};
10 
11 private:
13  void buildKey() override { key_ = TtSemiLeptonicEvent::kGeom; };
15  void buildHypo(edm::Event& evt,
17  const edm::Handle<std::vector<pat::MET> >& mets,
18  const edm::Handle<std::vector<pat::Jet> >& jets,
19  std::vector<int>& match,
20  const unsigned int iComb) override {
21  TtSemiLepHypothesis::buildHypo(leps, mets, jets, match);
22  };
23 };
24 
25 #endif
tuple cfg
Definition: looper.py:296
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
~TtSemiLepHypGeom() override
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)