#include <MeasurementDetSystem.h>
Public Member Functions | |
virtual const MeasurementDet * | idToDet (const DetId &id) const =0 |
Return the pointer to the MeasurementDet corresponding to a given DetId. |
Definition at line 7 of file MeasurementDetSystem.h.
const MeasurementDet * MeasurementTracker::idToDet | ( | const DetId & | id | ) | const [pure virtual] |
Return the pointer to the MeasurementDet corresponding to a given DetId.
Implemented in MeasurementTracker, and OnDemandMeasurementTracker.
Definition at line 450 of file MeasurementTracker.cc.
Referenced by GeometricSearchDetMeasurements::get().
{ std::map<DetId,MeasurementDet*>::const_iterator it = theDetMap.find(id); if(it !=theDetMap.end()) { return it->second; }else{ //throw exception; } return 0; //to avoid compile warning }