10 namespace PhysicsTools {
14 std::vector<PosVar>::iterator pos =
15 std::lower_bound(
vars.begin(),
vars.end(),
18 if (pos !=
vars.end() && (pos->var == var ||
19 (pos->var->getSource() == var->
getSource() &&
28 vars.insert(pos, 1, item);
35 std::vector<PosVar>::const_iterator pos =
36 std::lower_bound(
vars.begin(),
vars.end(),
39 if (pos ==
vars.end() || pos->var->getName() !=
name)
47 for(std::vector<PosVar>::const_iterator pos =
vars.begin();
48 pos !=
vars.end(); ++pos)
49 if (pos->magic == magic)
57 std::vector<SourceVariable*>
result(
vars.size());
59 for(std::vector<PosVar>::const_iterator
iter =
vars.begin();
64 unsigned int pos =
vars.size();
65 for(std::vector<PosVar>::const_iterator
iter =
vars.begin();
unsigned int offset(bool)