CMS 3D CMS Logo

TtSemiLepHypGeom.h
Go to the documentation of this file.
1 #ifndef TtSemiLepHypGeom_h
2 #define TtSemiLepHypGeom_h
3 
5 
6 
8 
9  public:
10 
13 
14  private:
15 
17  virtual void buildKey() { key_= TtSemiLeptonicEvent::kGeom; };
19  virtual void buildHypo(edm::Event& evt,
21  const edm::Handle<std::vector<pat::MET> >& mets,
22  const edm::Handle<std::vector<pat::Jet> >& jets,
23  std::vector<int>& match, const unsigned int iComb) { TtSemiLepHypothesis::buildHypo(leps, mets, jets, match); };
24 };
25 
26 #endif
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
TtSemiLepHypGeom(const edm::ParameterSet &cfg)
vector< PseudoJet > jets
virtual void buildKey()
build the event hypothesis key
virtual 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)
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)