5 statusToken_(consumes<std::
vector<int> >(cfg.getParameter<edm::
InputTag>(
"status"))),
19 std::vector<int>&
match,
20 const unsigned int iComb) {
23 if ((*status)[iComb] != 0) {
45 if (!(partonsHadP->empty() || partonsHadQ->empty() || partonsHadB->empty() || partonsLepB->empty())) {
55 if (!leptons->empty()) {
63 if (!neutrinos->empty()) {
edm::EDGetTokenT< std::vector< pat::Particle > > partonsHadPToken_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
reco::ShallowClonePtrCandidate * lepton_
reco::ShallowClonePtrCandidate * lightQBar_
edm::EDGetTokenT< std::vector< pat::Particle > > partonsHadBToken_
edm::EDGetTokenT< std::vector< int > > statusToken_
reco::ShallowClonePtrCandidate * neutrino_
edm::EDGetTokenT< std::vector< pat::Particle > > partonsLepBToken_
TtSemiLepHypKinFit(const edm::ParameterSet &)
void buildHypo(edm::Event &, const edm::Handle< edm::View< reco::RecoCandidate > > &, const edm::Handle< std::vector< pat::MET > > &, const edm::Handle< std::vector< pat::Jet > > &, std::vector< int > &, const unsigned int iComb) override
build event hypothesis from the reco objects of a semi-leptonic event
reco::ShallowClonePtrCandidate * hadronicB_
~TtSemiLepHypKinFit() override
edm::EDGetTokenT< std::vector< pat::Particle > > partonsHadQToken_
edm::EDGetTokenT< std::vector< pat::Particle > > neutrinosToken_
void setCandidate(const edm::Handle< C > &handle, const int &idx, reco::ShallowClonePtrCandidate *&clone)
use one object in a collection to set a ShallowClonePtrCandidate
std::pair< typename Association::data_type::first_type, double > match(Reference key, Association association, bool bestMatchByMaxValue)
Generic matching function.
reco::ShallowClonePtrCandidate * lightQ_
reco::ShallowClonePtrCandidate * leptonicB_
edm::EDGetTokenT< std::vector< pat::Particle > > leptonsToken_