1 #ifndef EcalEndcapGeometry_h 2 #define EcalEndcapGeometry_h 24 typedef std::vector<TruncatedPyramid>
CellVec ;
72 double dR )
const override ;
98 const CCGFloat* parm ,
99 const DetId& detId )
override ;
107 static int myPhi(
int i ) { i+=720;
return ( 1 + (i-1)%360 ) ; }
121 unsigned int xindex( CCGFloat
x, CCGFloat
z )
const ;
122 unsigned int yindex( CCGFloat
y, CCGFloat
z )
const ;
int _nncrys
number of crystals per module
void setNumberOfCrystalPerModule(const int nncrys)
std::set< DetId > DetIdSet
~EcalEndcapGeometry() override
static unsigned int numberOfAlignments()
int getNumberOfModules() const
static void localCorners(Pt3DVec &lc, const CCGFloat *pv, unsigned int i, Pt3D &ref)
CaloCellGeometry::Pt3D Pt3D
CaloSubdetectorGeometry::DetIdSet getCells(const GlobalPoint &r, double dR) const override
Get a list of all cells within a dR of the given cell.
static std::string producerTag()
std::vector< Pt3D > Pt3DVec
static unsigned int alignmentTransformIndexGlobal(const DetId &id)
void setNumberOfModules(const int nnmods)
CCGFloat avgAbsZFrontFaceCenter() const
std::atomic< EZMgrFL< EBDetId > * > m_borderMgr
static unsigned int alignmentTransformIndexLocal(const DetId &id)
unsigned int yindex(CCGFloat y, CCGFloat z) const
CaloCellGeometry::CCGFloat CCGFloat
std::atomic< VecOrdListEBDetIdPtr * > m_borderPtrVec
CaloCellGeometry::Pt3DVec Pt3DVec
const CaloCellGeometry * cellGeomPtr(uint32_t index) const override
#define CMS_THREAD_GUARD(_var_)
std::vector< OrderedListOfEBDetId * > VecOrdListEBDetIdPtr
std::vector< TruncatedPyramid > CellVec
const OrderedListOfEBDetId * getClosestBarrelCells(EEDetId id) const
unsigned int numberOfParametersPerShape() const override
EcalEndcapNumberingScheme NumberingScheme
EEAlignmentRcd AlignmentRecord
int _nnmods
number of modules
unsigned int xindex(CCGFloat x, CCGFloat z) const
EcalEndcapGeometryRecord AlignedRecord
int getNumberOfCrystalPerModule() const
HepGeom::Point3D< CCGFloat > Pt3D
void newCell(const GlobalPoint &f1, const GlobalPoint &f2, const GlobalPoint &f3, const CCGFloat *parm, const DetId &detId) override
std::atomic< bool > m_check
A base class to handle the particular shape of Ecal Xtals. Taken from ORCA Calorimetry Code...
IdealGeometryRecord IdealRecord
unsigned int numberOfShapes() const override
static std::string hitString()
EZArrayFL< EBDetId > OrderedListOfEBDetId
static DetId detIdFromLocalAlignmentIndex(unsigned int iLoc)
DetId getClosestCell(const GlobalPoint &r) const override
EEDetId gId(float x, float y, float z) const
static std::string dbString()
PEcalEndcapRcd PGeometryRecord
void initializeParms() override