Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
Namespace List
Namespace Members
sim
details
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
22
of file
MCRecoEdep.cxx
.
22
{
23
art::ServiceHandle<geo::Geometry const>
geom;
24
std::map<geo::PlaneID, size_t>
m
;
25
size_t
i = 0;
26
for
(
auto
const
&
pid
: geom->
IteratePlaneIDs
()){
27
m[
pid
] = i;
28
i++;
29
}
30
return
m
;
31
}
art::ServiceHandle< geo::Geometry const >
geo::GeometryCore::IteratePlaneIDs
IteratorBox< plane_id_iterator,&GeometryCore::begin_plane_id,&GeometryCore::end_plane_id > IteratePlaneIDs() const
Enables ranged-for loops on all plane IDs of the detector.
Definition:
GeometryCore.h:3127
cache_state.m
m
Definition:
cache_state.py:415
pid
Definition:
Chi2ParticleID_module.cc:24
Generated by
1.8.11