1 #ifndef EcalEndcapGeometry_h
2 #define EcalEndcapGeometry_h
42 static std::string
dbString() {
return "PEcalEndcapRcd" ; }
70 static std::string
hitString() {
return "EcalHitsEE" ; }
82 static std::vector<HepGeom::Point3D<double> >
localCorners(
const double* pv,
84 HepGeom::Point3D<double> & ref ) ;
91 const DetId& detId ) ;
95 static int myPhi(
int i ) { i+=720;
return ( 1 + (i-1)%360 ) ; }
109 unsigned int xindex(
double x,
double z )
const ;
110 unsigned int yindex(
double y,
double z )
const ;
int _nncrys
number of crystals per module
virtual DetId getClosestCell(const GlobalPoint &r) const
double avgAbsZFrontFaceCenter() const
virtual unsigned int numberOfShapes() const
void setNumberOfCrystalPerModule(const int nncrys)
std::set< DetId > DetIdSet
static unsigned int numberOfAlignments()
int getNumberOfModules() const
static std::string producerTag()
VecOrdListEBDetIdPtr * m_borderPtrVec
static unsigned int alignmentTransformIndexGlobal(const DetId &id)
void setNumberOfModules(const int nnmods)
virtual CaloSubdetectorGeometry::DetIdSet getCells(const GlobalPoint &r, double dR) const
Get a list of all cells within a dR of the given cell.
static unsigned int alignmentTransformIndexLocal(const DetId &id)
unsigned int xindex(double x, double z) const
static CaloCellGeometry * newCell(const GlobalPoint &f1, const GlobalPoint &f2, const GlobalPoint &f3, CaloCellGeometry::CornersMgr *mgr, const double *parm, const DetId &detId)
EZMgrFL< EBDetId > * m_borderMgr
virtual ~EcalEndcapGeometry()
std::vector< OrderedListOfEBDetId * > VecOrdListEBDetIdPtr
const OrderedListOfEBDetId * getClosestBarrelCells(EEDetId id) const
virtual void initializeParms()
EcalEndcapNumberingScheme NumberingScheme
EEAlignmentRcd AlignmentRecord
int _nnmods
number of modules
static std::vector< HepGeom::Point3D< double > > localCorners(const double *pv, unsigned int i, HepGeom::Point3D< double > &ref)
EcalEndcapGeometryRecord AlignedRecord
int getNumberOfCrystalPerModule() const
A base class to handle the particular shape of Ecal Xtals. Taken from ORCA Calorimetry Code...
IdealGeometryRecord IdealRecord
static std::string hitString()
EZArrayFL< EBDetId > OrderedListOfEBDetId
static DetId detIdFromLocalAlignmentIndex(unsigned int iLoc)
EEDetId gId(float x, float y, float z) const
unsigned int yindex(double y, double z) const
static std::string dbString()
virtual unsigned int numberOfParametersPerShape() const
PEcalEndcapRcd PGeometryRecord