All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
sim::details Namespace Reference

Functions

std::map< geo::PlaneID, size_t > createPlaneIndexMap ()
 

Function Documentation

std::map< geo::PlaneID, size_t > sim::details::createPlaneIndexMap ( )

Definition at line 26 of file MCRecoEdep.cxx.

26  {
27  art::ServiceHandle<geo::Geometry const> geom;
28  std::map<geo::PlaneID, size_t> m;
29  size_t i = 0;
30  for(auto const& pid : geom->IteratePlaneIDs()){
31  m[pid] = i;
32  i++;
33  }
34  return m;
35  }
tuple m
now if test mode generate materials, CRT shell, world, gdml header else just generate CRT shell for u...