1 #ifndef EcalEndcapGeometry_h 2 #define EcalEndcapGeometry_h 22 typedef std::vector<TruncatedPyramid>
CellVec;
104 return (1 + (
i - 1) % 360);
int _nncrys
number of crystals per module
static constexpr int kSizeForDenseIndexing
void setNumberOfCrystalPerModule(const int nncrys)
std::set< DetId > DetIdSet
static constexpr int k_NumberOfShapes
~EcalEndcapGeometry() override
static constexpr int k_NumberOfCellsForCorners
static unsigned int numberOfAlignments()
static void localCorners(Pt3DVec &lc, const CCGFloat *pv, unsigned int i, Pt3D &ref)
CaloCellGeometry::Pt3D Pt3D
static std::string producerTag()
std::vector< Pt3D > Pt3DVec
static unsigned int alignmentTransformIndexGlobal(const DetId &id)
CaloCellGeometry::CCGFloat CCGFloat
void setNumberOfModules(const int nnmods)
std::atomic< EZMgrFL< EBDetId > * > m_borderMgr
int getNumberOfCrystalPerModule() const
static unsigned int alignmentTransformIndexLocal(const DetId &id)
unsigned int numberOfParametersPerShape() const override
CaloCellGeometry::CCGFloat CCGFloat
const CaloCellGeometry * getGeometryRawPtr(uint32_t index) const override
std::atomic< VecOrdListEBDetIdPtr * > m_borderPtrVec
CCGFloat avgAbsZFrontFaceCenter() const
CaloCellGeometry::Pt3DVec Pt3DVec
bool present(const DetId &id) const override
is this detid present in the geometry?
unsigned int yindex(CCGFloat y, CCGFloat z) const
#define CMS_THREAD_GUARD(_var_)
std::vector< OrderedListOfEBDetId * > VecOrdListEBDetIdPtr
CaloCellGeometry::CCGFloat CCGFloat
std::vector< TruncatedPyramid > CellVec
unsigned int xindex(CCGFloat x, CCGFloat z) const
EEDetId gId(float x, float y, float z) const
EcalEndcapNumberingScheme NumberingScheme
EEAlignmentRcd AlignmentRecord
unsigned int numberOfShapes() const override
int _nnmods
number of modules
CaloCellGeometry::Pt3D Pt3D
EcalEndcapGeometryRecord AlignedRecord
CaloSubdetectorGeometry::DetIdSet getCells(const GlobalPoint &r, double dR) const override
Get a list of all cells within a dR of the given cell.
CaloCellGeometry::Pt3DVec Pt3DVec
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...
DetId getClosestCell(const GlobalPoint &r) const override
IdealGeometryRecord IdealRecord
static std::string hitString()
EZArrayFL< EBDetId > OrderedListOfEBDetId
static DetId detIdFromLocalAlignmentIndex(unsigned int iLoc)
const OrderedListOfEBDetId * getClosestBarrelCells(EEDetId id) const
int getNumberOfModules() const
static std::string dbString()
static constexpr int k_NumberOfParametersPerShape
PEcalEndcapRcd PGeometryRecord
void initializeParms() override