41 if (gd == 0)
throw cms::Exception(
"NoGeometry") <<
"Cannot find GeomDet for DetID: " <<
id.rawId() <<
"\n";
55 "Muon sub-dectors are all handle as one sub-system, but subDetectorIndex is not zero.\n";
60 for(std::vector<GeomDet*>::const_iterator it = geomDetsCSC.begin(); it != geomDetsCSC.end(); ++it)
61 if (
CSCChamber* csc = dynamic_cast< CSCChamber*>(*it)) {
69 for(std::vector<GeomDet*>::const_iterator it = geomDetsDT.begin(); it != geomDetsDT.end(); ++it)
75 for(std::vector<GeomDet*>::const_iterator it = geomDetsRPC.begin(); it != geomDetsRPC.end(); ++it)
76 if (
RPCChamber* rpc = dynamic_cast< RPCChamber*>(*it)) {
77 std::vector< const RPCRoll*> rolls = (rpc->rolls());
78 for(std::vector<const RPCRoll*>::iterator
r = rolls.begin();
r != rolls.end(); ++
r)
91 std::pair<DetIdAssociator::const_iterator,DetIdAssociator::const_iterator>
118 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
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 BoundPlane & surface() const
The nominal surface of the GeomDet.
static int position[264][3]
const GlobalTrackingGeometry * geometry_
virtual std::pair< const_iterator, const_iterator > getDetIdPoints(const DetId &id) const
virtual float width() const =0
*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)