19 for (DetContainer::iterator it =
theDets.begin(), ed =
theDets.end(); it != ed; ++it)
delete *it;
20 for (DetTypeContainer::iterator it =
theDetTypes.begin(), ed =
theDetTypes.end(); it != ed; ++it)
delete *it;
45 switch(
id.subdetId()){
65 edm::LogError(
"TrackerGeometry")<<
"ERROR - I was expecting a Tracker Subdetector, I got a "<<
id.subdetId();
129 edm::LogError(
"TrackerGeometry")<<
"Invalid DetID: no GeomDetUnit associated";
140 edm::LogError(
"TrackerGeometry")<<
"Invalid DetID: no GeomDet associated";
TrackerGeometry(GeometricDet const *gd=0)
std::vector< GeomDet * > DetContainer
DetIdContainer theDetUnitIds
DetUnitContainer theDetUnits
uint32_t rawId() const
get the raw id
virtual const DetUnitContainer & detUnits() const
Returm a vector of all GeomDetUnit.
virtual const DetIdContainer & detIds() const
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)
mapIdToDetUnit theMapUnit
const DetContainer & detsTEC() const
DetTypeContainer theDetTypes
virtual ~TrackerGeometry()
std::vector< GeomDetUnit * > DetUnitContainer
virtual const DetTypeContainer & detTypes() const
Return a vector of all det types.
const DetContainer & detsPXB() const
GeometricDet const * trackerDet() const
DetId geographicalId() const
The label of this GeomDet.
virtual const GeomDet * idToDet(DetId) const
const DetContainer & detsTIB() const
std::vector< GeomDetType * > DetTypeContainer
void addDetUnitId(DetId p)
void addType(GeomDetType *p)
virtual const GeomDetUnit * idToDetUnit(DetId) const
Return the pointer to the GeomDetUnit corresponding to a given DetId.
virtual const DetIdContainer & detUnitIds() const
Returm a vector of all GeomDetUnit DetIds.
const DetContainer & detsPXF() const
const DetContainer & detsTOB() const
void addDetUnit(GeomDetUnit *p)
GeometricDet const * theTrackerDet
virtual const DetContainer & dets() const
Returm a vector of all GeomDet (including all GeomDetUnits)
const DetContainer & detsTID() const
std::vector< DetId > DetIdContainer