9 std::vector<GeometricDetExtra>::const_iterator gdeiEnd(gdes.end());
10 std::vector<GeometricDetExtra>::const_iterator gdei(gdes.begin());
11 for (; gdei != gdeiEnd; ++gdei) {
13 _helperMap[gdei->geographicalId().rawId()] = gdeaddr;
18 edm::LogInfo(
"CmsTrackerDebugNavigator")<<
" CmsTrackerDebugNavigator - Starting debug";
22 for (
int k=0;
k<20;
k++){
23 edm::LogInfo(
"CmsTrackerDebugNavigator")<<
" CmsTrackerDebugNavigator has found "<<
numinstances[
k]<<
" GeometricDets at level "<<
k;
31 for(
unsigned int i=0; (
int)
i<=level;
i++) spaces+=
" ";
33 edm::LogInfo(
"CmsTrackerDebugNavigator") << level << spaces
34 <<
"### VOLUME " << in.
components()[
k]->name().name()
36 <<
" copy number " << extra->
copyno()
37 <<
" positioned in " << in.
name().
name()
38 <<
" global position of centre " << in.
components()[
k]->translation()
40 <<
" volume = " << extra->
volume() <<
" cm3" 41 <<
" density = " << extra->
density() <<
" g/cm3" 42 <<
" weight " << extra->
weight() <<
" g"
void dump(const GeometricDet &, const std::vector< GeometricDetExtra > &)
ConstGeometricDetContainer & components()
DDName const & name() const
CmsTrackerDebugNavigator(const std::vector< GeometricDetExtra > &)
void iterate(const GeometricDet &, int, const std::vector< GeometricDetExtra > &)
std::map< uint32_t, const GeometricDetExtra * > _helperMap
const std::string & name() const
Returns the name.