ATLAS Offline Software
Functions
TrkTruthDataHelpers Namespace Reference

Functions

std::vector< std::pair< Identifier, HepMcParticleLink > > getData (const PRD_MultiTruthCollection &prd)
 

Function Documentation

◆ getData()

std::vector<std::pair<Identifier, HepMcParticleLink> > TrkTruthDataHelpers::getData ( const PRD_MultiTruthCollection prd)

Definition at line 26 of file TrkTruthDataDict.h.

27 {
28  std::vector<std::pair<Identifier, HepMcParticleLink> > v;
29  v.reserve (prd.size());
30  for (const auto& p : prd) {
31  v.emplace_back (p.first, p.second);
32  }
33  return v;
34 }
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
python.PyAthena.v
v
Definition: PyAthena.py:154