25 edm::LogVerbatim(
"HGCalGeom") <<
"Number of Cells " << numberOfCells <<
":" << numberExpected <<
" for sub-detector " 28 geom->allocateCorners(numberOfCells);
45 unsigned int kount(0);
58 double xx = (
zside > 0) ?
w.first : -
w.first;
59 CLHEP::Hep3Vector h3v(
xx,
w.second, mytr.
h3v.z());
60 const HepGeom::Transform3D ht3d(mytr.
hr, h3v);
62 edm::LogVerbatim(
"HGCalGeom") <<
"HGCalTBGeometryLoader:: Wafer:Type " << wafer <<
":" <<
type <<
" DetId " 64 << ht3d.getTranslation() <<
" and " << ht3d.getRotation();
85 if (
counter != numberExpected) {
86 edm::LogError(
"HGCalGeom") <<
"Inconsistent # of cells: expected " << numberExpected <<
":" << numberOfCells
unsigned int totalGeomModules() const
Log< level::Info, true > LogVerbatim
static constexpr unsigned int k_NumberOfParametersPerHex
bool waferInLayer(int wafer, int lay, bool reco) const
ForwardSubdetector subDetector() const
Log< level::Error, false > LogError
int waferTypeT(int wafer) const
void buildGeom(const ParmVec &, const HepGeom::Transform3D &, const DetId &, HGCalTBGeometry *)
static constexpr uint32_t k_R
static constexpr uint32_t k_r
std::vector< float > ParmVec
unsigned int volumes() const
std::pair< double, double > waferPosition(int wafer, bool reco) const
double cellSizeHex(int type) const
unsigned int getTrFormN() const
const HGCalTBDDDConstants & dddConstants() const
HGCalTBParameters::hgtrap getModule(unsigned int k, bool hexType, bool reco) const
static constexpr uint32_t k_dZ
unsigned int allGeomModules() const
static std::atomic< unsigned int > counter
static constexpr unsigned int k_NumberOfShapes
HGCalTBParameters::hgtrform getTrForm(unsigned int k) const