12 m_ownsTopology (
true )
17 theTopology(topology),
20 m_ownsTopology (
false )
30 const std::vector<DetId>&
52 for(
unsigned int i ( 0 ) ;
i != baseIds.size() ; ++
i )
55 if(
id.det() == det &&
56 id.subdetId() == subdet )
73 DetId returnId ( 0 ) ;
75 for( std::vector<DetId>::const_iterator it ( detIds.begin() ) ;
76 it != detIds.end(); ++it )
106 std::vector<HepGeom::Point3D<double> >
109 HepGeom::Point3D<double> & ref )
static std::vector< HepGeom::Point3D< double > > localCorners(const double *pv, HepGeom::Point3D< double > &ref)
virtual ~CastorGeometry()
static unsigned int alignmentTransformIndexLocal(const DetId &id)
DetId::Detector lastReqDet_
virtual const std::vector< DetId > & getValidDetIds(DetId::Detector det=DetId::Detector(0), int subdet=0) const
Get a list of valid detector ids (for the given subdetector)
virtual const CaloCellGeometry * getGeometry(const DetId &id) const
Get the cell geometry of a given detector id. Should return false if not found.
const CastorTopology * theTopology
static std::vector< HepGeom::Point3D< double > > localCorners(const double *pv, unsigned int i, HepGeom::Point3D< double > &ref)
bool inside(const GlobalPoint &point) const
static CaloCellGeometry * newCell(const GlobalPoint &f1, const GlobalPoint &f2, const GlobalPoint &f3, CaloCellGeometry::CornersMgr *mgr, const double *parm, const DetId &detId)
static unsigned int alignmentTransformIndexGlobal(const DetId &id)
virtual const std::vector< DetId > & getValidDetIds(DetId::Detector det=DetId::Detector(0), int subdet=0) const
Get a list of valid detector ids (for the given subdetector)
std::vector< DetId > m_validIds
virtual DetId getClosestCell(const GlobalPoint &r) const