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 
12  ~TtSemiLepHypGeom() override {};
13 
14  private:
15 
17  void buildKey() override { key_= TtSemiLeptonicEvent::kGeom; };
19  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) override { 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
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)