CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Member Functions | Private Attributes | Static Private Attributes
DDHGCalMixRotatedLayer Class Reference
Inheritance diagram for DDHGCalMixRotatedLayer:

Public Member Functions

 DDHGCalMixRotatedLayer ()
 
void execute (DDCompactView &cpv) override
 
void initialize (const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs) override
 

Protected Member Functions

void constructLayers (const DDLogicalPart &, DDCompactView &cpv)
 
void positionMix (const DDLogicalPart &glog, const std::string &nameM, int copyM, double thick, const DDMaterial &matter, DDCompactView &cpv)
 

Private Attributes

int absorbMode_
 
double alpha_
 
HGCalCassette cassette_
 
int cassettes_
 
std::vector< double > cassetteShift_
 
std::unordered_set< int > copies_
 
std::vector< int > copyNumber_
 
std::vector< int > copyNumberTop_
 
double cosAlpha_
 
int facingTypes_
 
int firstLayer_
 
HGCalGeomTools geomTools_
 
std::vector< int > layerOrient_
 
std::vector< int > layers_
 
std::vector< int > layerSense_
 
std::vector< double > layerThick_
 
std::vector< double > layerThickTop_
 
std::vector< int > layerType_
 
std::vector< int > layerTypeTop_
 
std::vector< std::string > materials_
 
std::vector< std::string > materialTop_
 
std::vector< std::string > names_
 
std::string nameSpace_
 
std::vector< std::string > namesTop_
 
int orientationTypes_
 
int phiBinsScint_
 
int placeOffset_
 
std::vector< double > rMaxFront_
 
std::vector< double > rMinFront_
 
int sectors_
 
int sensitiveMode_
 
std::vector< double > slopeB_
 
std::vector< double > slopeT_
 
std::vector< double > thick_
 
std::vector< int > tileIndex_
 
std::vector< int > tileLayerStart_
 
std::vector< int > tilePhis_
 
std::vector< double > tileRMax_
 
std::vector< double > tileRMin_
 
std::vector< std::string > waferFull_
 
std::vector< int > waferIndex_
 
std::vector< int > waferLayerStart_
 
std::vector< std::string > waferPart_
 
std::vector< int > waferProperty_
 
double waferSepar_
 
double waferSize_
 
int waferTypes_
 
std::vector< double > zFrontB_
 
std::vector< double > zFrontT_
 
double zMinBlock_
 

Static Private Attributes

static constexpr double tol1_ = 0.01
 
static constexpr double tol2_ = 0.00001
 

Detailed Description

Definition at line 37 of file DDHGCalMixRotatedLayer.cc.

Constructor & Destructor Documentation

◆ DDHGCalMixRotatedLayer()

DDHGCalMixRotatedLayer::DDHGCalMixRotatedLayer ( )

Definition at line 113 of file DDHGCalMixRotatedLayer.cc.

113  {
114 #ifdef EDM_ML_DEBUG
115  edm::LogVerbatim("HGCalGeom") << "DDHGCalMixRotatedLayer: Creating an instance";
116 #endif
117 }
Log< level::Info, true > LogVerbatim

Member Function Documentation

◆ constructLayers()

void DDHGCalMixRotatedLayer::constructLayers ( const DDLogicalPart module,
DDCompactView cpv 
)
protected

Definition at line 331 of file DDHGCalMixRotatedLayer.cc.

References funct::abs(), angle_units::operators::convertRadToDeg(), filterCSVwithJSON::copy, DDBase< N, C >::ddname(), DDSplit(), dqmdumpme::first, mps_fire::i, cuy::ii, l1ctLayer1_patternWriters_cff::isec, dqmdumpme::k, SiStripPI::min, Skims_PA_cff::name, DDBase< N, C >::name(), DDSolidFactory::polyhedra(), DDCompactView::position(), HGCalGeomTools::radius(), makeMuonMisalignmentScenario::rot, edm::second(), AlCaHLTBitMon_QueryRunRegistry::string, to_string(), DDSolidFactory::tubs(), and geometryCSVtoXML::zz.

331  {
332  double zi(zMinBlock_);
333  int laymin(0);
334  for (unsigned int i = 0; i < layers_.size(); i++) {
335  double zo = zi + layerThick_[i];
336  double routF = HGCalGeomTools::radius(zi, zFrontT_, rMaxFront_, slopeT_);
337  int laymax = laymin + layers_[i];
338  double zz = zi;
339  double thickTot(0);
340  for (int ly = laymin; ly < laymax; ++ly) {
341  int ii = layerType_[ly];
342  int copy = copyNumber_[ii];
343  double hthick = 0.5 * thick_[ii];
344  double rinB = HGCalGeomTools::radius(zo, zFrontB_, rMinFront_, slopeB_);
345  zz += hthick;
346  thickTot += thick_[ii];
347 
349 #ifdef EDM_ML_DEBUG
350  edm::LogVerbatim("HGCalGeom") << "DDHGCalMixRotatedLayer: Layer " << ly << ":" << ii << " Front " << zi << ", "
351  << routF << " Back " << zo << ", " << rinB << " superlayer thickness "
352  << layerThick_[i];
353 #endif
355  DDMaterial matter(matName);
356  DDLogicalPart glog;
357  if (layerSense_[ly] < 1) {
358  std::vector<double> pgonZ, pgonRin, pgonRout;
359  double rmax =
361  HGCalGeomTools::radius(zz - hthick,
362  zz + hthick,
363  zFrontB_,
364  rMinFront_,
365  slopeB_,
366  zFrontT_,
367  rMaxFront_,
368  slopeT_,
369  -layerSense_[ly],
370  pgonZ,
371  pgonRin,
372  pgonRout);
373  for (unsigned int isec = 0; isec < pgonZ.size(); ++isec) {
374  pgonZ[isec] -= zz;
375  if (layerSense_[ly] == 0 || absorbMode_ == 0)
376  pgonRout[isec] = rmax;
377  else
378  pgonRout[isec] = pgonRout[isec] * cosAlpha_ - tol1_;
379  }
380  DDSolid solid =
381  DDSolidFactory::polyhedra(DDName(name, nameSpace_), sectors_, -alpha_, 2._pi, pgonZ, pgonRin, pgonRout);
382  glog = DDLogicalPart(solid.ddname(), matter, solid);
383 #ifdef EDM_ML_DEBUG
384  edm::LogVerbatim("HGCalGeom") << "DDHGCalMixRotatedLayer: " << solid.name() << " polyhedra of " << sectors_
385  << " sectors covering " << convertRadToDeg(-alpha_) << ":"
386  << convertRadToDeg(-alpha_ + 2._pi) << " with " << pgonZ.size() << " sections";
387  for (unsigned int k = 0; k < pgonZ.size(); ++k)
388  edm::LogVerbatim("HGCalGeom") << "[" << k << "] z " << pgonZ[k] << " R " << pgonRin[k] << ":" << pgonRout[k];
389 #endif
390  } else {
391  double rins = (sensitiveMode_ < 1) ? rinB : HGCalGeomTools::radius(zz + hthick, zFrontB_, rMinFront_, slopeB_);
392  double routs =
393  (sensitiveMode_ < 1) ? routF : HGCalGeomTools::radius(zz - hthick, zFrontT_, rMaxFront_, slopeT_);
394  DDSolid solid = DDSolidFactory::tubs(DDName(name, nameSpace_), hthick, rins, routs, 0.0, 2._pi);
395  glog = DDLogicalPart(solid.ddname(), matter, solid);
396 #ifdef EDM_ML_DEBUG
397  edm::LogVerbatim("HGCalGeom") << "DDHGCalMixRotatedLayer: " << solid.name() << " Tubs made of " << matName
398  << " of dimensions " << rinB << ":" << rins << ", " << routF << ":" << routs
399  << ", " << hthick << ", 0.0, 360.0 and positioned in: " << glog.name()
400  << " number " << copy;
401 #endif
402  positionMix(glog, name, copy, thick_[ii], matter, cpv);
403  }
404  DDTranslation r1(0, 0, zz);
405  DDRotation rot;
406  cpv.position(glog, module, copy, r1, rot);
407  ++copyNumber_[ii];
408 #ifdef EDM_ML_DEBUG
409  edm::LogVerbatim("HGCalGeom") << "DDHGCalMixRotatedLayer: " << glog.name() << " number " << copy
410  << " positioned in " << module.name() << " at " << r1 << " with no rotation";
411 #endif
412  zz += hthick;
413  } // End of loop over layers in a block
414  zi = zo;
415  laymin = laymax;
416  // Make consistency check of all the partitions of the block
417  if (std::abs(thickTot - layerThick_[i]) >= tol2_) {
418  if (thickTot > layerThick_[i]) {
419  edm::LogError("HGCalGeom") << "Thickness of the partition " << layerThick_[i] << " is smaller than " << thickTot
420  << ": thickness of all its components **** ERROR ****";
421  } else {
422  edm::LogWarning("HGCalGeom") << "Thickness of the partition " << layerThick_[i] << " does not match with "
423  << thickTot << " of the components";
424  }
425  }
426  } // End of loop over blocks
427 }
Log< level::Info, true > LogVerbatim
std::vector< double > slopeT_
static void radius(double zf, double zb, std::vector< double > const &zFront1, std::vector< double > const &rFront1, std::vector< double > const &slope1, std::vector< double > const &zFront2, std::vector< double > const &rFront2, std::vector< double > const &slope2, int flag, std::vector< double > &zz, std::vector< double > &rin, std::vector< double > &rout)
void position(const DDLogicalPart &self, const DDLogicalPart &parent, const std::string &copyno, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div=nullptr)
std::vector< double > slopeB_
DDMaterial is used to define and access material information.
Definition: DDMaterial.h:45
constexpr NumType convertRadToDeg(NumType radians)
Definition: angle_units.h:21
DDName is used to identify DDD entities uniquely.
Definition: DDName.h:17
std::vector< double > zFrontB_
std::vector< double > thick_
std::vector< std::string > materials_
std::vector< double > rMaxFront_
Log< level::Error, false > LogError
A DDSolid represents the shape of a part.
Definition: DDSolid.h:39
static std::string to_string(const XMLCh *ch)
Represents a uniquely identifyable rotation matrix.
Definition: DDTransform.h:57
U second(std::pair< T, U > const &p)
static constexpr double tol1_
std::vector< double > layerThick_
std::vector< int > copyNumber_
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
A DDLogicalPart aggregates information concerning material, solid and sensitveness ...
Definition: DDLogicalPart.h:93
std::vector< int > layerSense_
static DDSolid tubs(const DDName &name, double zhalf, double rIn, double rOut, double startPhi, double deltaPhi)
Definition: DDSolid.cc:667
ii
Definition: cuy.py:589
const N & name() const
Definition: DDBase.h:59
void positionMix(const DDLogicalPart &glog, const std::string &nameM, int copyM, double thick, const DDMaterial &matter, DDCompactView &cpv)
std::vector< double > rMinFront_
const N & ddname() const
Definition: DDBase.h:61
std::vector< double > zFrontT_
std::vector< std::string > names_
Log< level::Warning, false > LogWarning
std::pair< std::string, std::string > DDSplit(const std::string &n)
split into (name,namespace), separator = &#39;:&#39;
Definition: DDSplit.cc:3
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
Definition: DDTranslation.h:7
static constexpr double tol2_
static DDSolid polyhedra(const DDName &name, int sides, double startPhi, double deltaPhi, const std::vector< double > &z, const std::vector< double > &rmin, const std::vector< double > &rmax)
Creates a polyhedra (refere to Geant3 or Geant4 documentation)
Definition: DDSolid.cc:565

◆ execute()

void DDHGCalMixRotatedLayer::execute ( DDCompactView cpv)
override

Definition at line 314 of file DDHGCalMixRotatedLayer.cc.

References DDHGCalGeom::constructLayers(), dqmdumpme::k, and class-composition::parent.

314  {
315 #ifdef EDM_ML_DEBUG
316  edm::LogVerbatim("HGCalGeom") << "==>> Constructing DDHGCalMixRotatedLayer...";
317  copies_.clear();
318 #endif
319  constructLayers(parent(), cpv);
320 #ifdef EDM_ML_DEBUG
321  edm::LogVerbatim("HGCalGeom") << "DDHGCalMixRotatedLayer: " << copies_.size() << " different wafer copy numbers";
322  int k(0);
323  for (std::unordered_set<int>::const_iterator itr = copies_.begin(); itr != copies_.end(); ++itr, ++k) {
324  edm::LogVerbatim("HGCalGeom") << "Copy [" << k << "] : " << (*itr);
325  }
326  copies_.clear();
327  edm::LogVerbatim("HGCalGeom") << "<<== End of DDHGCalMixRotatedLayer construction...";
328 #endif
329 }
Log< level::Info, true > LogVerbatim
void constructLayers(const DDLogicalPart &, DDCompactView &cpv)
std::unordered_set< int > copies_

◆ initialize()

void DDHGCalMixRotatedLayer::initialize ( const DDNumericArguments nArgs,
const DDVectorArguments vArgs,
const DDMapArguments mArgs,
const DDStringArguments sArgs,
const DDStringVectorArguments vsArgs 
)
override

Definition at line 119 of file DDHGCalMixRotatedLayer.cc.

References angle_units::operators::convertRadToDeg(), funct::cos(), dbl_to_int(), mps_fire::i, testProducerWithPsetDescEmpty_cfi::i1, testProducerWithPsetDescEmpty_cfi::i2, cuy::ii, createfilelist::int, dqmiolumiharvest::j, dqmdumpme::k, HGCalTypes::layerType(), SiStripPI::min, DDCurrentNamespace::ns(), HGCalTileIndex::tileUnpack(), HGCalWaferIndex::waferLayer(), HGCalProperty::waferOrient(), HGCalProperty::waferPartial(), HGCalProperty::waferThick(), HGCalWaferIndex::waferU(), and HGCalWaferIndex::waferV().

123  {
124  waferTypes_ = static_cast<int>(nArgs["WaferTypes"]);
125  facingTypes_ = static_cast<int>(nArgs["FacingTypes"]);
126  orientationTypes_ = static_cast<int>(nArgs["OrientationTypes"]);
127  placeOffset_ = static_cast<int>(nArgs["PlaceOffset"]);
128  phiBinsScint_ = static_cast<int>(nArgs["NPhiBinScint"]);
129 #ifdef EDM_ML_DEBUG
130  edm::LogVerbatim("HGCalGeom") << "DDHGCalMixRotatedLayer::Number of types of wafers: " << waferTypes_
131  << " facings: " << facingTypes_ << " Orientations: " << orientationTypes_
132  << " PlaceOffset: " << placeOffset_ << "; number of cells along phi " << phiBinsScint_;
133 #endif
134  firstLayer_ = (int)(nArgs["FirstLayer"]);
135  absorbMode_ = (int)(nArgs["AbsorberMode"]);
136  sensitiveMode_ = (int)(nArgs["SensitiveMode"]);
137 #ifdef EDM_ML_DEBUG
138  edm::LogVerbatim("HGCalGeom") << "DDHGCalMixRotatedLayer::First Layer " << firstLayer_ << " and "
139  << "Absober:Sensitive mode " << absorbMode_ << ":" << sensitiveMode_;
140 #endif
141  zMinBlock_ = nArgs["zMinBlock"];
142  waferSize_ = nArgs["waferSize"];
143  waferSepar_ = nArgs["SensorSeparation"];
144  sectors_ = static_cast<int>(nArgs["Sectors"]);
145  cassettes_ = static_cast<int>(nArgs["Cassettes"]);
146  alpha_ = (1._pi) / sectors_;
147  cosAlpha_ = cos(alpha_);
148 #ifdef EDM_ML_DEBUG
149  edm::LogVerbatim("HGCalGeom") << "DDHGCalMixRotatedLayer: zStart " << zMinBlock_ << " wafer width " << waferSize_
150  << " separations " << waferSepar_ << " sectors " << sectors_ << ":"
151  << convertRadToDeg(alpha_) << ":" << cosAlpha_ << " with " << cassettes_
152  << " cassettes";
153 #endif
154  slopeB_ = vArgs["SlopeBottom"];
155  zFrontB_ = vArgs["ZFrontBottom"];
156  rMinFront_ = vArgs["RMinFront"];
157  slopeT_ = vArgs["SlopeTop"];
158  zFrontT_ = vArgs["ZFrontTop"];
159  rMaxFront_ = vArgs["RMaxFront"];
160 #ifdef EDM_ML_DEBUG
161  for (unsigned int i = 0; i < slopeB_.size(); ++i)
162  edm::LogVerbatim("HGCalGeom") << "Bottom Block [" << i << "] Zmin " << zFrontB_[i] << " Rmin " << rMinFront_[i]
163  << " Slope " << slopeB_[i];
164  for (unsigned int i = 0; i < slopeT_.size(); ++i)
165  edm::LogVerbatim("HGCalGeom") << "Top Block [" << i << "] Zmin " << zFrontT_[i] << " Rmax " << rMaxFront_[i]
166  << " Slope " << slopeT_[i];
167 #endif
168  waferFull_ = vsArgs["WaferNamesFull"];
169  waferPart_ = vsArgs["WaferNamesPartial"];
170 #ifdef EDM_ML_DEBUG
171  edm::LogVerbatim("HGCalGeom") << "DDHGCalMixRotatedLayer: " << waferFull_.size() << " full and " << waferPart_.size()
172  << " partial modules\nDDHGCalMixRotatedLayer:Full Modules:";
173  unsigned int i1max = static_cast<unsigned int>(waferFull_.size());
174  for (unsigned int i1 = 0; i1 < i1max; i1 += 2) {
175  std::ostringstream st1;
176  unsigned int i2 = std::min((i1 + 2), i1max);
177  for (unsigned int i = i1; i < i2; ++i)
178  st1 << " [" << i << "] " << waferFull_[i];
179  edm::LogVerbatim("HGCalGeom") << st1.str();
180  }
181  edm::LogVerbatim("HGCalGeom") << "DDHGCalMixRotatedLayer: Partial Modules:";
182  i1max = static_cast<unsigned int>(waferPart_.size());
183  for (unsigned int i1 = 0; i1 < i1max; i1 += 2) {
184  std::ostringstream st1;
185  unsigned int i2 = std::min((i1 + 2), i1max);
186  for (unsigned int i = i1; i < i2; ++i)
187  st1 << " [" << i << "] " << waferPart_[i];
188  edm::LogVerbatim("HGCalGeom") << st1.str();
189  }
190 #endif
191  materials_ = vsArgs["MaterialNames"];
192  names_ = vsArgs["VolumeNames"];
193  thick_ = vArgs["Thickness"];
194  copyNumber_.resize(materials_.size(), 1);
195 #ifdef EDM_ML_DEBUG
196  edm::LogVerbatim("HGCalGeom") << "DDHGCalMixRotatedLayer: " << materials_.size() << " types of volumes";
197  for (unsigned int i = 0; i < names_.size(); ++i)
198  edm::LogVerbatim("HGCalGeom") << "Volume [" << i << "] " << names_[i] << " of thickness " << thick_[i]
199  << " filled with " << materials_[i] << " first copy number " << copyNumber_[i];
200 #endif
201  layers_ = dbl_to_int(vArgs["Layers"]);
202  layerThick_ = vArgs["LayerThick"];
203 #ifdef EDM_ML_DEBUG
204  edm::LogVerbatim("HGCalGeom") << "There are " << layers_.size() << " blocks";
205  for (unsigned int i = 0; i < layers_.size(); ++i)
206  edm::LogVerbatim("HGCalGeom") << "Block [" << i << "] of thickness " << layerThick_[i] << " with " << layers_[i]
207  << " layers";
208 #endif
209  layerType_ = dbl_to_int(vArgs["LayerType"]);
210  layerSense_ = dbl_to_int(vArgs["LayerSense"]);
211  layerOrient_ = dbl_to_int(vArgs["LayerTypes"]);
212  for (unsigned int k = 0; k < layerOrient_.size(); ++k)
214 #ifdef EDM_ML_DEBUG
215  for (unsigned int i = 0; i < layerOrient_.size(); ++i)
216  edm::LogVerbatim("HGCalGeom") << "LayerTypes [" << i << "] " << layerOrient_[i];
217 #endif
218  if (firstLayer_ > 0) {
219  for (unsigned int i = 0; i < layerType_.size(); ++i) {
220  if (layerSense_[i] > 0) {
221  int ii = layerType_[i];
223 #ifdef EDM_ML_DEBUG
224  edm::LogVerbatim("HGCalGeom") << "First copy number for layer type " << i << ":" << ii << " with "
225  << materials_[ii] << " changed to " << copyNumber_[ii];
226 #endif
227  break;
228  }
229  }
230  } else {
231  firstLayer_ = 1;
232  }
233 #ifdef EDM_ML_DEBUG
234  edm::LogVerbatim("HGCalGeom") << "There are " << layerType_.size() << " layers";
235  for (unsigned int i = 0; i < layerType_.size(); ++i)
236  edm::LogVerbatim("HGCalGeom") << "Layer [" << i << "] with material type " << layerType_[i] << " sensitive class "
237  << layerSense_[i];
238 #endif
239  materialTop_ = vsArgs["TopMaterialNames"];
240  namesTop_ = vsArgs["TopVolumeNames"];
241  layerThickTop_ = vArgs["TopLayerThickness"];
242  layerTypeTop_ = dbl_to_int(vArgs["TopLayerType"]);
243  copyNumberTop_.resize(materialTop_.size(), firstLayer_);
244 #ifdef EDM_ML_DEBUG
245  edm::LogVerbatim("HGCalGeom") << "DDHGCalMixRotatedLayer: " << materialTop_.size()
246  << " types of volumes in the top part";
247  for (unsigned int i = 0; i < materialTop_.size(); ++i)
248  edm::LogVerbatim("HGCalGeom") << "Volume [" << i << "] " << namesTop_[i] << " of thickness " << layerThickTop_[i]
249  << " filled with " << materialTop_[i] << " first copy number " << copyNumberTop_[i];
250  edm::LogVerbatim("HGCalGeom") << "There are " << layerTypeTop_.size() << " layers in the top part";
251  for (unsigned int i = 0; i < layerTypeTop_.size(); ++i)
252  edm::LogVerbatim("HGCalGeom") << "Layer [" << i << "] with material type " << layerTypeTop_[i];
253 #endif
254  waferIndex_ = dbl_to_int(vArgs["WaferIndex"]);
255  waferProperty_ = dbl_to_int(vArgs["WaferProperties"]);
256  waferLayerStart_ = dbl_to_int(vArgs["WaferLayerStart"]);
257  cassetteShift_ = vArgs["CassetteShift"];
258 #ifdef EDM_ML_DEBUG
259  edm::LogVerbatim("HGCalGeom") << "waferProperties with " << waferIndex_.size() << " entries in "
260  << waferLayerStart_.size() << " layers";
261  for (unsigned int k = 0; k < waferLayerStart_.size(); ++k)
262  edm::LogVerbatim("HGCalGeom") << "LayerStart[" << k << "] " << waferLayerStart_[k];
263  for (unsigned int k = 0; k < waferIndex_.size(); ++k)
264  edm::LogVerbatim("HGCalGeom") << "[" << k << "] " << waferIndex_[k] << " ("
267  << HGCalWaferIndex::waferV(waferIndex_[k]) << ") : ("
271  edm::LogVerbatim("HGCalGeom") << "DDHGCalMixRotatedLayer: " << cassetteShift_.size()
272  << " elements for cassette shifts";
273  unsigned int j1max = cassetteShift_.size();
274  for (unsigned int j1 = 0; j1 < j1max; j1 += 6) {
275  std::ostringstream st1;
276  unsigned int j2 = std::min((j1 + 6), j1max);
277  for (unsigned int j = j1; j < j2; ++j)
278  st1 << " [" << j << "] " << std::setw(9) << cassetteShift_[j];
279  edm::LogVerbatim("HGCalGeom") << st1.str();
280  }
281 #endif
282  tileRMin_ = vArgs["TileRMin"];
283  tileRMax_ = vArgs["TileRMax"];
284  tileIndex_ = dbl_to_int(vArgs["TileLayerRings"]);
285  tilePhis_ = dbl_to_int(vArgs["TilePhiRange"]);
286  tileLayerStart_ = dbl_to_int(vArgs["TileLayerStart"]);
287 #ifdef EDM_ML_DEBUG
288  edm::LogVerbatim("HGCalGeom") << "DDHGCalMixRotatedLayer:: with " << tileRMin_.size() << " rings";
289  for (unsigned int k = 0; k < tileRMin_.size(); ++k)
290  edm::LogVerbatim("HGCalGeom") << "Ring[" << k << "] " << tileRMin_[k] << " : " << tileRMax_[k];
291  edm::LogVerbatim("HGCalGeom") << "TileProperties with " << tileIndex_.size() << " entries in "
292  << tileLayerStart_.size() << " layers";
293  for (unsigned int k = 0; k < tileLayerStart_.size(); ++k)
294  edm::LogVerbatim("HGCalGeom") << "LayerStart[" << k << "] " << tileLayerStart_[k];
295  for (unsigned int k = 0; k < tileIndex_.size(); ++k)
296  edm::LogVerbatim("HGCalGeom") << "[" << k << "] " << tileIndex_[k] << " ("
297  << "Layer " << std::get<0>(HGCalTileIndex::tileUnpack(tileIndex_[k])) << " Ring "
298  << std::get<1>(HGCalTileIndex::tileUnpack(tileIndex_[k])) << ":"
299  << std::get<2>(HGCalTileIndex::tileUnpack(tileIndex_[k])) << ") Phi "
300  << std::get<1>(HGCalTileIndex::tileUnpack(tilePhis_[k])) << ":"
301  << std::get<2>(HGCalTileIndex::tileUnpack(tilePhis_[k]));
302 #endif
304 #ifdef EDM_ML_DEBUG
305  edm::LogVerbatim("HGCalGeom") << "DDHGCalMixRotatedLayer: NameSpace " << nameSpace_ << ":";
306 #endif
308 }
Log< level::Info, true > LogVerbatim
std::vector< double > slopeT_
std::vector< double > slopeB_
int32_t waferU(const int32_t index)
std::vector< double > cassetteShift_
int32_t waferLayer(const int32_t index)
constexpr NumType convertRadToDeg(NumType radians)
Definition: angle_units.h:21
std::vector< int > copyNumberTop_
std::vector< double > zFrontB_
static std::string & ns()
std::vector< double > tileRMin_
std::vector< double > thick_
std::vector< std::string > materials_
std::vector< double > rMaxFront_
std::vector< std::string > waferFull_
std::vector< int > waferLayerStart_
int32_t waferOrient(const int32_t property)
std::vector< int > waferIndex_
std::vector< double > layerThick_
std::vector< int > copyNumber_
Cos< T >::type cos(const T &t)
Definition: Cos.h:22
std::vector< int > layerSense_
int32_t waferThick(const int32_t property)
std::vector< double > tileRMax_
std::vector< int > layerTypeTop_
std::vector< double > layerThickTop_
ii
Definition: cuy.py:589
std::vector< int > dbl_to_int(const std::vector< double > &vecdbl)
Converts a std::vector of doubles to a std::vector of int.
Definition: DDutils.h:7
std::vector< int > waferProperty_
std::tuple< int32_t, int32_t, int32_t > tileUnpack(int32_t index)
std::vector< std::string > waferPart_
std::vector< double > rMinFront_
std::vector< double > zFrontT_
int32_t waferPartial(const int32_t property)
std::vector< std::string > materialTop_
int32_t waferV(const int32_t index)
std::vector< std::string > namesTop_
std::vector< std::string > names_
static int32_t layerType(int type)
Definition: HGCalTypes.cc:42
std::vector< int > layerOrient_
std::vector< int > tileLayerStart_
void setParameter(int cassette, const std::vector< double > &shifts)
Definition: HGCalCassette.cc:8

◆ positionMix()

void DDHGCalMixRotatedLayer::positionMix ( const DDLogicalPart glog,
const std::string &  nameM,
int  copyM,
double  thick,
const DDMaterial matter,
DDCompactView cpv 
)
protected

Definition at line 429 of file DDHGCalMixRotatedLayer.cc.

References funct::abs(), angle(), HGCalCassette::cassetteType(), HGCalCell::cellPlacementIndex(), angle_units::operators::convertRadToDeg(), filterCSVwithJSON::copy, DDBase< N, C >::ddname(), DDSplit(), PVValHelper::dy, dqmdumpme::first, mps_fire::i, cuy::ii, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::iv, dqmdumpme::k, HGCalTypes::layerFrontBack(), Skims_PA_cff::name, DDBase< N, C >::name(), EgHLTOffHistBins_cfi::nr, HGCalTypes::packTypeUV(), DDCompactView::position(), diffTwoXMLs::r2, makeMuonMisalignmentScenario::rot, edm::second(), mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, HGCalTileIndex::tileUnpack(), to_string(), DDSolidFactory::tubs(), findQualityFiles::v, HGCalProperty::waferCassette(), HGCalTypes::WaferFull, HGCalTypes::WaferHDTop, HGCalWaferIndex::waferLayer(), HGCalProperty::waferOrient(), HGCalTypes::WaferPartHDOffset, HGCalProperty::waferPartial(), HGCalTypes::WaferPartLDOffset, HGCalProperty::waferThick(), HGCalTypes::WaferTypeOffset, HGCalWaferIndex::waferU(), and HGCalWaferIndex::waferV().

434  {
435  DDRotation rot;
436 
437  // Make the top part first
438  for (unsigned int ly = 0; ly < layerTypeTop_.size(); ++ly) {
439  int ii = layerTypeTop_[ly];
440  copyNumberTop_[ii] = copyM;
441  }
442  double hthick = 0.5 * thick;
443  double dphi = (2._pi) / phiBinsScint_;
444  double thickTot(0), zpos(-hthick);
445  for (unsigned int ly = 0; ly < layerTypeTop_.size(); ++ly) {
446  int ii = layerTypeTop_[ly];
447  int copy = copyNumberTop_[ii];
448  int layer = copy - firstLayer_;
449  double hthickl = 0.5 * layerThickTop_[ii];
450  thickTot += layerThickTop_[ii];
451  zpos += hthickl;
453  DDMaterial matter1(matName);
454  unsigned int k = 0;
455  int firstTile = tileLayerStart_[layer];
456  int lastTile = ((layer + 1 < static_cast<int>(tileLayerStart_.size())) ? tileLayerStart_[layer + 1]
457  : static_cast<int>(tileIndex_.size()));
458 #ifdef EDM_ML_DEBUG
459  edm::LogVerbatim("HGCalGeom") << "DDHGCalMixRotatedLayer: Layer " << ly << ":" << ii << " Copy " << copy
460  << " Tiles " << firstTile << ":" << lastTile;
461 #endif
462  for (int ti = firstTile; ti < lastTile; ++ti) {
463  double r1 = tileRMin_[std::get<1>(HGCalTileIndex::tileUnpack(tileIndex_[ti])) - 1];
464  double r2 = tileRMax_[std::get<2>(HGCalTileIndex::tileUnpack(tileIndex_[ti])) - 1];
465  int cassette = std::get<0>(HGCalTileIndex::tileUnpack(tilePhis_[ti]));
466  int fimin = std::get<1>(HGCalTileIndex::tileUnpack(tilePhis_[ti]));
467  int fimax = std::get<2>(HGCalTileIndex::tileUnpack(tilePhis_[ti]));
468  double phi1 = dphi * (fimin - 1);
469  double phi2 = dphi * (fimax - fimin + 1);
470  auto cshift = cassette_.getShift(layer + 1, 1, cassette);
471 #ifdef EDM_ML_DEBUG
472  int cassette0 = HGCalCassette::cassetteType(2, 1, cassette); //
473  edm::LogVerbatim("HGCalGeom") << "DDHGCalMixRotatedLayer: Layer " << copy << ":" << (layer + 1) << " iR "
474  << std::get<1>(HGCalTileIndex::tileUnpack(tileIndex_[ti])) << ":"
475  << std::get<2>(HGCalTileIndex::tileUnpack(tileIndex_[ti])) << " R " << r1 << ":"
476  << r2 << " Thick " << (2.0 * hthickl) << " phi " << fimin << ":" << fimax << ":"
477  << convertRadToDeg(phi1) << ":" << convertRadToDeg(phi2) << " cassette " << cassette
478  << ":" << cassette0 << " Shift " << cshift.first << ":" << cshift.second;
479 #endif
481  ++k;
482  DDSolid solid = DDSolidFactory::tubs(DDName(name, nameSpace_), hthickl, r1, r2, phi1, phi2);
483  DDLogicalPart glog1 = DDLogicalPart(solid.ddname(), matter1, solid);
484 #ifdef EDM_ML_DEBUG
485  edm::LogVerbatim("HGCalGeom") << "DDHGCalMixRotatedLayer: " << glog1.name() << " Tubs made of " << matName
486  << " of dimensions " << r1 << ", " << r2 << ", " << hthickl << ", "
487  << convertRadToDeg(phi1) << ", " << convertRadToDeg(phi2);
488 #endif
489  DDTranslation tran(-cshift.first, cshift.second, zpos);
490  cpv.position(glog1, glog, copy, tran, rot);
491 #ifdef EDM_ML_DEBUG
492  edm::LogVerbatim("HGCalGeom") << "DDHGCalMixRotatedLayer: Position " << glog1.name() << " number " << copy
493  << " in " << glog.name() << " at " << tran << " with no rotation";
494 #endif
495  }
496  ++copyNumberTop_[ii];
497  zpos += hthickl;
498  }
499  if (std::abs(thickTot - thick) >= tol2_) {
500  if (thickTot > thick) {
501  edm::LogError("HGCalGeom") << "DDHGCalMixRotatedLayer: Thickness of the partition " << thick
502  << " is smaller than " << thickTot
503  << ": thickness of all its components in the top part **** ERROR ****";
504  } else {
505  edm::LogWarning("HGCalGeom") << "DDHGCalMixRotatedLayer: Thickness of the partition " << thick
506  << " does not match with " << thickTot << " of the components in top part";
507  }
508  }
509 
510  // Make the bottom part next
511  int layer = (copyM - firstLayer_);
512  static const double sqrt3 = std::sqrt(3.0);
513  int layercenter = layerOrient_[layer];
515  int firstWafer = waferLayerStart_[layer];
516  int lastWafer = ((layer + 1 < static_cast<int>(waferLayerStart_.size())) ? waferLayerStart_[layer + 1]
517  : static_cast<int>(waferIndex_.size()));
518  double delx = 0.5 * (waferSize_ + waferSepar_);
519  double dely = 2.0 * delx / sqrt3;
520  double dy = 0.75 * dely;
521  const auto& xyoff = geomTools_.shiftXY(layercenter, (waferSize_ + waferSepar_));
522 #ifdef EDM_ML_DEBUG
523  int ium(0), ivm(0), kount(0);
524  std::vector<int> ntype(3, 0);
525  edm::LogVerbatim("HGCalGeom") << "DDHGCalMixRotatedLayer: " << glog.ddname() << " r " << delx << " R " << dely
526  << " dy " << dy << " Shift " << xyoff.first << ":" << xyoff.second << " WaferSize "
527  << (waferSize_ + waferSepar_) << " index " << firstWafer << ":" << (lastWafer - 1);
528 #endif
529  for (int k = firstWafer; k < lastWafer; ++k) {
532 #ifdef EDM_ML_DEBUG
533  int iu = std::abs(u);
534  int iv = std::abs(v);
535 #endif
536  int nr = 2 * v;
537  int nc = -2 * u + v;
542  int place = HGCalCell::cellPlacementIndex(1, layertype, orien);
543 #ifdef EDM_ML_DEBUG
544  edm::LogVerbatim("HGCalGeom")
545  << "DDHGCalMixRotatedLayer::index:Property:layertype:type:part:orien:cassette:place:offsets:ind " << k << ":"
546  << waferProperty_[k] << ":" << layertype << ":" << type << ":" << part << ":" << orien << ":" << cassette << ":"
547  << place;
548 #endif
549  auto cshift = cassette_.getShift(layer + 1, -1, cassette);
550  double xpos = xyoff.first - cshift.first + nc * delx;
551  double ypos = xyoff.second + cshift.second + nr * dy;
552 #ifdef EDM_ML_DEBUG
553  double xorig = xyoff.first + nc * delx;
554  double yorig = xyoff.second + nr * dy;
555  double angle = std::atan2(yorig, xorig);
556  edm::LogVerbatim("HGCalGeom") << "DDHGCalMixRotatedLayer::Wafer: layer " << layer + 1 << " cassette " << cassette
557  << " Shift " << cshift.first << ":" << cshift.second << " Original " << xorig << ":"
558  << yorig << ":" << convertRadToDeg(angle) << " Final " << xpos << ":" << ypos;
559 #endif
560  std::string wafer;
561  int i(999);
562  if (part == HGCalTypes::WaferFull) {
564 #ifdef EDM_ML_DEBUG
565  edm::LogVerbatim("HGCalGeom") << " FullWafer type:place:ind " << type << ":" << place << ":" << i << ":"
566  << waferFull_.size();
567 #endif
568  wafer = waferFull_[i];
569  } else {
571  i = (part - partoffset) * facingTypes_ * orientationTypes_ +
573 #ifdef EDM_ML_DEBUG
574  edm::LogVerbatim("HGCalGeom") << " layertype:type:part:orien:cassette:place:offsets:ind " << layertype << ":"
575  << type << ":" << part << ":" << orien << ":" << cassette << ":" << place << ":"
576  << partoffset << ":" << HGCalTypes::WaferTypeOffset[type] << ":" << i << ":"
577  << waferPart_.size();
578 #endif
579  wafer = waferPart_[i];
580  }
581  int copy = HGCalTypes::packTypeUV(type, u, v);
582 #ifdef EDM_ML_DEBUG
583  edm::LogVerbatim("HGCalGeom") << " DDHGCalMixRotatedLayer: Layer " << HGCalWaferIndex::waferLayer(waferIndex_[k])
584  << " Wafer " << wafer << " number " << copy << " type :part:orien:ind " << type << ":"
585  << part << ":" << orien << ":" << i << " layer:u:v " << (layer + firstLayer_) << ":"
586  << u << ":" << v;
587  if (iu > ium)
588  ium = iu;
589  if (iv > ivm)
590  ivm = iv;
591  kount++;
592  if (copies_.count(copy) == 0)
593  copies_.insert(copy);
594 #endif
595  DDTranslation tran(xpos, ypos, 0.0);
596  DDName name = DDName(DDSplit(wafer).first, DDSplit(wafer).second);
597  cpv.position(name, glog.ddname(), copy, tran, rot);
598 #ifdef EDM_ML_DEBUG
599  ++ntype[type];
600  edm::LogVerbatim("HGCalGeom") << " DDHGCalMixRotatedLayer: " << name << " number " << copy << " type " << layertype
601  << ":" << type << " positioned in " << glog.ddname() << " at " << tran
602  << " with no rotation";
603 #endif
604  }
605 #ifdef EDM_ML_DEBUG
606  edm::LogVerbatim("HGCalGeom") << "DDHGCalMixRotatedLayer: Maximum # of u " << ium << " # of v " << ivm << " and "
607  << kount << " wafers (" << ntype[0] << ":" << ntype[1] << ":" << ntype[2] << ") for "
608  << glog.ddname();
609 #endif
610 }
Log< level::Info, true > LogVerbatim
static int32_t cellPlacementIndex(int32_t iz, int32_t frontBack, int32_t orient)
Definition: HGCalCell.cc:237
static constexpr int32_t WaferPartLDOffset
Definition: HGCalTypes.h:57
void position(const DDLogicalPart &self, const DDLogicalPart &parent, const std::string &copyno, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div=nullptr)
static constexpr int32_t WaferTypeOffset[3]
Definition: HGCalTypes.h:61
DDMaterial is used to define and access material information.
Definition: DDMaterial.h:45
int32_t waferU(const int32_t index)
int32_t waferLayer(const int32_t index)
constexpr NumType convertRadToDeg(NumType radians)
Definition: angle_units.h:21
std::pair< double, double > getShift(int layer, int zside, int cassette) const
DDName is used to identify DDD entities uniquely.
Definition: DDName.h:17
std::vector< int > copyNumberTop_
std::vector< double > tileRMin_
Log< level::Error, false > LogError
std::vector< std::string > waferFull_
std::vector< int > waferLayerStart_
int32_t waferOrient(const int32_t property)
std::pair< double, double > shiftXY(int waferPosition, double waferSize) const
std::vector< int > waferIndex_
A DDSolid represents the shape of a part.
Definition: DDSolid.h:39
static std::string to_string(const XMLCh *ch)
Represents a uniquely identifyable rotation matrix.
Definition: DDTransform.h:57
U second(std::pair< T, U > const &p)
int32_t waferCassette(const int32_t property)
static constexpr int32_t WaferFull
Definition: HGCalTypes.h:35
T sqrt(T t)
Definition: SSEVec.h:19
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
A DDLogicalPart aggregates information concerning material, solid and sensitveness ...
Definition: DDLogicalPart.h:93
static DDSolid tubs(const DDName &name, double zhalf, double rIn, double rOut, double startPhi, double deltaPhi)
Definition: DDSolid.cc:667
int32_t waferThick(const int32_t property)
std::vector< double > tileRMax_
std::vector< int > layerTypeTop_
std::vector< double > layerThickTop_
ii
Definition: cuy.py:589
std::vector< int > waferProperty_
const N & name() const
Definition: DDBase.h:59
std::tuple< int32_t, int32_t, int32_t > tileUnpack(int32_t index)
static constexpr int32_t WaferPartHDOffset
Definition: HGCalTypes.h:58
std::vector< std::string > waferPart_
part
Definition: HCALResponse.h:20
const N & ddname() const
Definition: DDBase.h:61
int32_t waferPartial(const int32_t property)
std::vector< std::string > materialTop_
int32_t waferV(const int32_t index)
static int32_t packTypeUV(int type, int u, int v)
Definition: HGCalTypes.cc:3
static constexpr int32_t WaferHDTop
Definition: HGCalTypes.h:51
std::vector< std::string > namesTop_
Log< level::Warning, false > LogWarning
std::pair< std::string, std::string > DDSplit(const std::string &n)
split into (name,namespace), separator = &#39;:&#39;
Definition: DDSplit.cc:3
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
Definition: DDTranslation.h:7
static constexpr double tol2_
std::vector< int > layerOrient_
static int cassetteType(int det, int zside, int cassette)
std::vector< int > tileLayerStart_
std::unordered_set< int > copies_
T angle(T x1, T y1, T z1, T x2, T y2, T z2)
Definition: angle.h:11
static constexpr int32_t layerFrontBack(int32_t layerOrient)
Definition: HGCalTypes.h:137

Member Data Documentation

◆ absorbMode_

int DDHGCalMixRotatedLayer::absorbMode_
private

Definition at line 70 of file DDHGCalMixRotatedLayer.cc.

◆ alpha_

double DDHGCalMixRotatedLayer::alpha_
private

Definition at line 110 of file DDHGCalMixRotatedLayer.cc.

◆ cassette_

HGCalCassette DDHGCalMixRotatedLayer::cassette_
private

Definition at line 59 of file DDHGCalMixRotatedLayer.cc.

◆ cassettes_

int DDHGCalMixRotatedLayer::cassettes_
private

Definition at line 76 of file DDHGCalMixRotatedLayer.cc.

◆ cassetteShift_

std::vector<double> DDHGCalMixRotatedLayer::cassetteShift_
private

Definition at line 102 of file DDHGCalMixRotatedLayer.cc.

◆ copies_

std::unordered_set<int> DDHGCalMixRotatedLayer::copies_
private

Definition at line 109 of file DDHGCalMixRotatedLayer.cc.

◆ copyNumber_

std::vector<int> DDHGCalMixRotatedLayer::copyNumber_
private

Definition at line 88 of file DDHGCalMixRotatedLayer.cc.

◆ copyNumberTop_

std::vector<int> DDHGCalMixRotatedLayer::copyNumberTop_
private

Definition at line 97 of file DDHGCalMixRotatedLayer.cc.

◆ cosAlpha_

double DDHGCalMixRotatedLayer::cosAlpha_
private

Definition at line 110 of file DDHGCalMixRotatedLayer.cc.

◆ facingTypes_

int DDHGCalMixRotatedLayer::facingTypes_
private

Definition at line 65 of file DDHGCalMixRotatedLayer.cc.

◆ firstLayer_

int DDHGCalMixRotatedLayer::firstLayer_
private

Definition at line 69 of file DDHGCalMixRotatedLayer.cc.

◆ geomTools_

HGCalGeomTools DDHGCalMixRotatedLayer::geomTools_
private

Definition at line 58 of file DDHGCalMixRotatedLayer.cc.

◆ layerOrient_

std::vector<int> DDHGCalMixRotatedLayer::layerOrient_
private

Definition at line 98 of file DDHGCalMixRotatedLayer.cc.

◆ layers_

std::vector<int> DDHGCalMixRotatedLayer::layers_
private

Definition at line 89 of file DDHGCalMixRotatedLayer.cc.

◆ layerSense_

std::vector<int> DDHGCalMixRotatedLayer::layerSense_
private

Definition at line 92 of file DDHGCalMixRotatedLayer.cc.

◆ layerThick_

std::vector<double> DDHGCalMixRotatedLayer::layerThick_
private

Definition at line 90 of file DDHGCalMixRotatedLayer.cc.

◆ layerThickTop_

std::vector<double> DDHGCalMixRotatedLayer::layerThickTop_
private

Definition at line 95 of file DDHGCalMixRotatedLayer.cc.

◆ layerType_

std::vector<int> DDHGCalMixRotatedLayer::layerType_
private

Definition at line 91 of file DDHGCalMixRotatedLayer.cc.

◆ layerTypeTop_

std::vector<int> DDHGCalMixRotatedLayer::layerTypeTop_
private

Definition at line 96 of file DDHGCalMixRotatedLayer.cc.

◆ materials_

std::vector<std::string> DDHGCalMixRotatedLayer::materials_
private

Definition at line 85 of file DDHGCalMixRotatedLayer.cc.

◆ materialTop_

std::vector<std::string> DDHGCalMixRotatedLayer::materialTop_
private

Definition at line 93 of file DDHGCalMixRotatedLayer.cc.

◆ names_

std::vector<std::string> DDHGCalMixRotatedLayer::names_
private

Definition at line 86 of file DDHGCalMixRotatedLayer.cc.

◆ nameSpace_

std::string DDHGCalMixRotatedLayer::nameSpace_
private

Definition at line 108 of file DDHGCalMixRotatedLayer.cc.

◆ namesTop_

std::vector<std::string> DDHGCalMixRotatedLayer::namesTop_
private

Definition at line 94 of file DDHGCalMixRotatedLayer.cc.

◆ orientationTypes_

int DDHGCalMixRotatedLayer::orientationTypes_
private

Definition at line 66 of file DDHGCalMixRotatedLayer.cc.

◆ phiBinsScint_

int DDHGCalMixRotatedLayer::phiBinsScint_
private

Definition at line 68 of file DDHGCalMixRotatedLayer.cc.

◆ placeOffset_

int DDHGCalMixRotatedLayer::placeOffset_
private

Definition at line 67 of file DDHGCalMixRotatedLayer.cc.

◆ rMaxFront_

std::vector<double> DDHGCalMixRotatedLayer::rMaxFront_
private

Definition at line 82 of file DDHGCalMixRotatedLayer.cc.

◆ rMinFront_

std::vector<double> DDHGCalMixRotatedLayer::rMinFront_
private

Definition at line 79 of file DDHGCalMixRotatedLayer.cc.

◆ sectors_

int DDHGCalMixRotatedLayer::sectors_
private

Definition at line 75 of file DDHGCalMixRotatedLayer.cc.

◆ sensitiveMode_

int DDHGCalMixRotatedLayer::sensitiveMode_
private

Definition at line 71 of file DDHGCalMixRotatedLayer.cc.

◆ slopeB_

std::vector<double> DDHGCalMixRotatedLayer::slopeB_
private

Definition at line 77 of file DDHGCalMixRotatedLayer.cc.

◆ slopeT_

std::vector<double> DDHGCalMixRotatedLayer::slopeT_
private

Definition at line 80 of file DDHGCalMixRotatedLayer.cc.

◆ thick_

std::vector<double> DDHGCalMixRotatedLayer::thick_
private

Definition at line 87 of file DDHGCalMixRotatedLayer.cc.

◆ tileIndex_

std::vector<int> DDHGCalMixRotatedLayer::tileIndex_
private

Definition at line 105 of file DDHGCalMixRotatedLayer.cc.

◆ tileLayerStart_

std::vector<int> DDHGCalMixRotatedLayer::tileLayerStart_
private

Definition at line 107 of file DDHGCalMixRotatedLayer.cc.

◆ tilePhis_

std::vector<int> DDHGCalMixRotatedLayer::tilePhis_
private

Definition at line 106 of file DDHGCalMixRotatedLayer.cc.

◆ tileRMax_

std::vector<double> DDHGCalMixRotatedLayer::tileRMax_
private

Definition at line 104 of file DDHGCalMixRotatedLayer.cc.

◆ tileRMin_

std::vector<double> DDHGCalMixRotatedLayer::tileRMin_
private

Definition at line 103 of file DDHGCalMixRotatedLayer.cc.

◆ tol1_

constexpr double DDHGCalMixRotatedLayer::tol1_ = 0.01
staticprivate

Definition at line 61 of file DDHGCalMixRotatedLayer.cc.

◆ tol2_

constexpr double DDHGCalMixRotatedLayer::tol2_ = 0.00001
staticprivate

Definition at line 62 of file DDHGCalMixRotatedLayer.cc.

◆ waferFull_

std::vector<std::string> DDHGCalMixRotatedLayer::waferFull_
private

Definition at line 83 of file DDHGCalMixRotatedLayer.cc.

◆ waferIndex_

std::vector<int> DDHGCalMixRotatedLayer::waferIndex_
private

Definition at line 99 of file DDHGCalMixRotatedLayer.cc.

◆ waferLayerStart_

std::vector<int> DDHGCalMixRotatedLayer::waferLayerStart_
private

Definition at line 101 of file DDHGCalMixRotatedLayer.cc.

◆ waferPart_

std::vector<std::string> DDHGCalMixRotatedLayer::waferPart_
private

Definition at line 84 of file DDHGCalMixRotatedLayer.cc.

◆ waferProperty_

std::vector<int> DDHGCalMixRotatedLayer::waferProperty_
private

Definition at line 100 of file DDHGCalMixRotatedLayer.cc.

◆ waferSepar_

double DDHGCalMixRotatedLayer::waferSepar_
private

Definition at line 74 of file DDHGCalMixRotatedLayer.cc.

◆ waferSize_

double DDHGCalMixRotatedLayer::waferSize_
private

Definition at line 73 of file DDHGCalMixRotatedLayer.cc.

◆ waferTypes_

int DDHGCalMixRotatedLayer::waferTypes_
private

Definition at line 64 of file DDHGCalMixRotatedLayer.cc.

◆ zFrontB_

std::vector<double> DDHGCalMixRotatedLayer::zFrontB_
private

Definition at line 78 of file DDHGCalMixRotatedLayer.cc.

◆ zFrontT_

std::vector<double> DDHGCalMixRotatedLayer::zFrontT_
private

Definition at line 81 of file DDHGCalMixRotatedLayer.cc.

◆ zMinBlock_

double DDHGCalMixRotatedLayer::zMinBlock_
private

Definition at line 72 of file DDHGCalMixRotatedLayer.cc.