1 #ifndef GEOMETRY_CALOGEOMETRY_CALOSUBDETECTORGEOMETRY_H
2 #define GEOMETRY_CALOGEOMETRY_CALOSUBDETECTORGEOMETRY_H 1
25 typedef std::vector< const CaloCellGeometry * >
CellCont;
33 typedef std::vector<double>
TrVec ;
34 typedef std::vector<unsigned int>
IVec ;
60 int subdet = 0 )
const ;
100 DimVec& dimVector )
const ;
CaloCellGeometry::CornersMgr * m_cmgr
std::set< DetId > DetIdSet
virtual void initializeParms()
std::vector< double > * m_deltaEta
static double deltaR(const GlobalPoint &p1, const GlobalPoint &p2)
std::vector< const CaloCellGeometry * > CellCont
std::vector< ParVec > ParVecVec
virtual unsigned int numberOfParametersPerShape() const
double deltaEta(const DetId &detId) const
const ParMgr * parMgrConst() const
MgrType::size_type size_type
std::vector< unsigned int > IVec
virtual void fillDefaultNamedParameters() const
void allocatePar(ParVec::size_type n, unsigned int m)
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.
double deltaR(double eta1, double phi1, double eta2, double phi2)
void addCell(const DetId &id, CaloCellGeometry *ccg)
Add a cell to the geometry.
virtual bool present(const DetId &id) const
is this detid present in the geometry?
virtual DetIdSet getCells(const GlobalPoint &r, double dR) const
Get a list of all cells within a dR of the given cell.
double deltaPhi(const DetId &detId) const
virtual unsigned int numberOfShapes() const
const CellCont & cellGeometries() const
the cells
std::vector< DetId > m_validIds
CaloCellGeometry::ParVec ParVec
CaloSubdetectorGeometry()
virtual DetId getClosestCell(const GlobalPoint &r) const
std::vector< double > DimVec
void getSummary(TrVec &trVector, IVec &iVector, DimVec &dimVector) const
CaloCellGeometry::CornersMgr * cornersMgr()
CaloCellGeometry::ParVecVec ParVecVec
std::vector< double > * m_deltaPhi
const ParVecVec & parVecVec() const
CaloCellGeometry::ParMgr ParMgr
virtual ~CaloSubdetectorGeometry()
The base class DOES assume that it owns the CaloCellGeometry objects.
void allocateCorners(CaloCellGeometry::CornersVec::size_type n)
std::vector< double > TrVec
CaloSubdetectorGeometry & operator=(const CaloSubdetectorGeometry &)
virtual unsigned int numberOfTransformParms() const