Definition at line 73 of file ZdcHardcodeGeometryLoader.cc.
References cms::cuda::assert(), funct::cos(), hcalRecHitTable_cff::detId, cuy::dh, PVValHelper::dx, PVValHelper::dy, PVValHelper::dz, HcalZDCDetId::EM, relativeConstraints::geom, CaloCellGeometry::getParmPtr(), HcalZDCDetId::HAD, ZdcGeometry::k_NumberOfParametersPerShape, HcalZDCDetId::LUM, HcalZDCDetId::RPD, hgcalPlots::section, x, y, z, HLTMuonOfflineAnalyzer_cfi::z0, ecaldqm::zside(), and geometryCSVtoXML::zz.
Referenced by fill().
78 const int channel(
detId.channel());
84 static const double x0(0);
85 static const double y0(0);
86 static const double z0(14000);
88 static const double angEM(0);
89 static const double angLUM(0);
90 static const double angRPD(0);
91 static const double angHAD(atan(1.));
95 static const double dxHAD(4.8);
96 static const double dxEM(dxHAD / 5.);
97 static const double dxLUM(4.8);
98 static const double dxRPD(4.8);
100 static const double dhEM(6.25);
101 static const double dhLUM(6.25);
102 static const double dhHAD(6.25);
103 static const double dhRPD(6.25);
105 static const double dzEM(33. * 0.15);
106 static const double dzLUM(23.5);
107 static const double dzHAD(0.82 * 6. /
cos(angHAD));
108 static const double dzRPD(23.5);
113 static const double xOffEM(-4. * dxEM);
114 static const double xOffLUM(0);
115 static const double xOffHAD(0);
116 static const double xOffRPD(0);
118 static const double yOffEM(0);
119 static const double yOffLUM(0);
120 static const double yOffHAD(0);
121 static const double yOffRPD(0);
123 static const double zOffEM(-49.85 - 0.15);
124 static const double zOffLUM(-39.555);
125 static const double zOffHAD(-29.00);
126 static const double zOffRPD(-39.555);
137 x =
zside * (
x0 + xOffEM + (channel - 1.0) * dxEM * 2.);
147 z =
zside * (
z0 + zOffLUM + (channel - 1.0) * dzLUM * 2.);
155 z =
zside * (
z0 + zOffRPD + (channel - 1.0) * dzRPD * 2.);
164 z =
zside * (
z0 + zOffHAD + (channel - 1.0) * dzHAD * 2.);
171 std::vector<CCGFloat>
zz;
Log< level::Info, true > LogVerbatim
static constexpr int k_NumberOfParametersPerShape
Cos< T >::type cos(const T &t)
static const CCGFloat * getParmPtr(const std::vector< CCGFloat > &vd, ParMgr *mgr, ParVecVec &pvv)