27 vector<vector<ElementLink<IParticleContainer> > >* matchedparts =
28 new vector<vector<ElementLink<IParticleContainer> > >(jets.size());
32 part_itr != parts.end(); ++part_itr) {
38 for (
unsigned int iJet = 0; iJet < jets.size(); iJet++) {
42 double dr =
jet.p4().DeltaR(part.p4());
49 if (drmin < 0 || dr < drmin) {
56 if (matchjetidx >= 0) {
58 EL.toContainedElement(parts, *part_itr);
59 (*matchedparts)[matchjetidx].push_back(
EL);
JetParticleAssociation(const std::string &name)
JetParticleShrinkingConeAssociation(const std::string &name)
virtual const std::vector< std::vector< ElementLink< xAOD::IParticleContainer > > > * match(const xAOD::JetContainer &, const xAOD::IParticleContainer &) const override
double coneSize(double pt) const
Class providing the definition of the 4-vector interface.