ATLAS Offline Software
Functions
InDetSimDataHelpers Namespace Reference

Functions

std::vector< Identifieridentifiers (const InDetSimDataCollection &coll)
 
const InDetSimDatagetData (const InDetSimDataCollection &coll, const Identifier &id)
 

Function Documentation

◆ getData()

const InDetSimData* InDetSimDataHelpers::getData ( const InDetSimDataCollection coll,
const Identifier id 
)

Definition at line 24 of file InDetSimDataDict.h.

26 {
27  auto it = coll.find (id);
28  if (it != coll.end()) {
29  return &it->second;
30  }
31  return nullptr;
32 }

◆ identifiers()

std::vector<Identifier> InDetSimDataHelpers::identifiers ( const InDetSimDataCollection coll)

Definition at line 15 of file InDetSimDataDict.h.

16 {
17  std::vector<Identifier> v;
18  v.reserve (coll.size());
19  for (const auto& p : coll)
20  v.push_back (p.first);
21  return v;
22 }
skel.it
it
Definition: skel.GENtoEVGEN.py:396
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
python.PyAthena.v
v
Definition: PyAthena.py:154