49 if (
theGeometries[idx]==0)
throw cms::Exception(
"NoGeometry") <<
"No Tracking Geometry is available for DetId " <<
id.rawId() << std::endl;
61 if( *
geom == 0 )
continue;
64 for( DetTypeContainer::const_iterator detType =
detTypes.begin(), detTypeEnd =
detTypes.end(); detType != detTypeEnd; ++detType )
77 if( *
geom == 0 )
continue;
80 for( DetUnitContainer::const_iterator detUnit =
detUnits.begin(), detUnitEnd =
detUnits.end(); detUnit != detUnitEnd; ++detUnit )
93 if( *
geom == 0 )
continue;
96 for( DetContainer::const_iterator det =
dets.begin(), detEnd =
dets.end(); det != detEnd; ++det )
109 if( *
geom == 0 )
continue;
112 for( DetIdContainer::const_iterator detUnitId =
detUnitIds.begin(), detUnitIdEnd =
detUnitIds.end(); detUnitId != detUnitIdEnd; ++detUnitId )
125 if( *
geom == 0 )
continue;
128 for( DetIdContainer::const_iterator detId =
detIds.begin(), detIdEnd =
detIds.end(); detId != detIdEnd; ++detId )
std::vector< const TrackingGeometry * > theGeometries
DetTypeContainer theDetTypes
std::vector< GeomDet * > DetContainer
virtual const GeomDet * idToDet(DetId) const
virtual const GeomDetUnit * idToDetUnit(DetId) const =0
Return the pointer to the GeomDetUnit corresponding to a given DetId.
virtual const GeomDetUnit * idToDetUnit(DetId) const
Return the pointer to the GeomDetUnit corresponding to a given DetId.
std::vector< GeomDetUnit * > DetUnitContainer
const TrackingGeometry * slaveGeometry(DetId id) const
Return the pointer to the actual geometry for a given DetId.
virtual ~GlobalTrackingGeometry()
Destructor.
virtual const DetUnitContainer & detUnits() const
Returm a vector of all GeomDetUnit.
std::vector< GeomDetType * > DetTypeContainer
virtual const DetIdContainer & detIds() const
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)
virtual const DetContainer & dets() const
Returm a vector of all GeomDet (including all GeomDetUnits)
GlobalTrackingGeometry(std::vector< const TrackingGeometry * > &geos)
Constructor.
virtual const GeomDet * idToDet(DetId) const =0
tuple idx
DEBUGGING if hasattr(process,"trackMonIterativeTracking2012"): print "trackMonIterativeTracking2012 D...
virtual const DetTypeContainer & detTypes() const
Return a vector of all det types.
DetIdContainer theDetUnitIds
DetUnitContainer theDetUnits
virtual const DetIdContainer & detUnitIds() const
Returm a vector of all GeomDetUnit DetIds.
std::vector< DetId > DetIdContainer