39 if (gd == 0)
throw cms::Exception(
"NoGeometry") <<
"Cannot find GeomDet for DetID: " <<
id.rawId() <<
"\n";
53 "Muon sub-dectors are all handle as one sub-system, but subDetectorIndex is not zero.\n";
58 for(std::vector<GeomDet*>::const_iterator it = geomDetsCSC.begin(); it != geomDetsCSC.end(); ++it)
59 if (
CSCChamber* csc = dynamic_cast< CSCChamber*>(*it)) {
67 for(std::vector<GeomDet*>::const_iterator it = geomDetsDT.begin(); it != geomDetsDT.end(); ++it)
79 std::pair<DetIdAssociator::const_iterator,DetIdAssociator::const_iterator>
106 return std::pair<const_iterator,const_iterator>(
points_.begin(),
points_.end());
bool isInBadChamber(const CSCDetId &id) const
Is the gven chamber flagged as bad?
const CSCBadChambers * cscbadchambers_
virtual float length() const =0
virtual const std::vector< DetId > & getValidDetIds(unsigned int) const
virtual bool inside(const Local3DPoint &) const =0
Determine if the point is inside the bounds.
GlobalPoint toGlobal(const Local2DPoint &lp) const
Conversion to the global R.F. from the R.F. of the GeomDet.
virtual GlobalPoint getPosition(const DetId &id) const
Global3DPoint GlobalPoint
LocalPoint toLocal(const GlobalPoint &gp) const
Conversion to the R.F. of the GeomDet.
virtual void check_setup() const
static int position[TOTALCHAMBERS][3]
std::vector< DetId > validIds_
virtual bool insideElement(const GlobalPoint &point, const DetId &id) const
virtual float thickness() const =0
const DepRecordT & getRecord() const
virtual const GeomDet * idToDet(DetId) const
virtual const GeomDet * getGeomDet(const DetId &id) const
std::vector< GlobalPoint > points_
const TrackingGeometry * slaveGeometry(DetId id) const
Return the pointer to the actual geometry for a given DetId.
virtual void check_setup() const
virtual const DetContainer & dets() const =0
Returm a vector of all GeomDet (including all GeomDetUnits)
const Bounds & bounds() const
T const * product() const
const GlobalTrackingGeometry * geometry_
virtual std::pair< const_iterator, const_iterator > getDetIdPoints(const DetId &id) const
virtual float width() const =0
virtual const BoundPlane & surface() const
The nominal surface of the GeomDet.
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
virtual void setGeometry(const GlobalTrackingGeometry *ptr)