4 std::pair<unsigned int,unsigned int>
6 unsigned int nParts = 0;
7 unsigned int nVerts = 0;
12 nParts += (*itr)->particles_size();
13 nVerts += (*itr)->vertices_size();
16 return std::make_pair( nParts, nVerts );
19std::map<std::string, unsigned long int> names_to_name_index_map(
const std::vector<std::string> &input )
21std::map<std::string, unsigned long int>
result;
27std::vector<std::pair<int,int> > vector_to_vector_int_int(
const std::vector<int> &input )
30std::vector<std::pair<int,int> >
result;
32for (
const auto&
a: input) {
result.push_back(std::pair<int,int>(i,
a));
i++;}
DataModel_detail::const_iterator< DataVector > const_iterator
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
This defines the McEventCollection, which is really just an ObjectVector of McEvent objectsFile: Gene...