CMS 3D CMS Logo

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

Public Member Functions

 DDHGCalSiliconModule ()
 
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 positionSensitive (const DDLogicalPart &glog, int layertype, int layer, DDCompactView &cpv)
 

Private Attributes

int absorbMode_
 
double alpha_
 
std::unordered_set< int > copies_
 
std::vector< int > copyNumber_
 
double cosAlpha_
 
int facingTypes_
 
int firstLayer_
 
HGCalGeomTools geomTools_
 
std::vector< int > layerCenter_
 
std::vector< int > layers_
 
std::vector< int > layerSense_
 
std::vector< double > layerThick_
 
std::vector< int > layerType_
 
std::vector< std::string > materials_
 
std::vector< std::string > names_
 
std::string nameSpace_
 
int orientationTypes_
 
int partialTypes_
 
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< 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 36 of file DDHGCalSiliconModule.cc.

Constructor & Destructor Documentation

◆ DDHGCalSiliconModule()

DDHGCalSiliconModule::DDHGCalSiliconModule ( )

Definition at line 93 of file DDHGCalSiliconModule.cc.

93  {
94 #ifdef EDM_ML_DEBUG
95  edm::LogVerbatim("HGCalGeom") << "DDHGCalSiliconModule: Creating an instance";
96 #endif
97 }

Member Function Documentation

◆ constructLayers()

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

Definition at line 256 of file DDHGCalSiliconModule.cc.

256  {
257 #ifdef EDM_ML_DEBUG
258  edm::LogVerbatim("HGCalGeom") << "DDHGCalSiliconModule: \t\tInside Layers";
259 #endif
260  double zi(zMinBlock_);
261  int laymin(0);
262  for (unsigned int i = 0; i < layers_.size(); i++) {
263  double zo = zi + layerThick_[i];
264  double routF = HGCalGeomTools::radius(zi, zFrontT_, rMaxFront_, slopeT_);
265  int laymax = laymin + layers_[i];
266  double zz = zi;
267  double thickTot(0);
268  for (int ly = laymin; ly < laymax; ++ly) {
269  int ii = layerType_[ly];
270  int copy = copyNumber_[ii];
271  double hthick = 0.5 * thick_[ii];
272  double rinB = HGCalGeomTools::radius(zo - tol1_, zFrontB_, rMinFront_, slopeB_);
273  zz += hthick;
274  thickTot += thick_[ii];
275 
276  std::string name = names_[ii] + std::to_string(copy);
277 #ifdef EDM_ML_DEBUG
278  edm::LogVerbatim("HGCalGeom") << "DDHGCalSiliconModule: Layer " << ly << ":" << ii << " Front " << zi << ", "
279  << routF << " Back " << zo << ", " << rinB << " superlayer thickness "
280  << layerThick_[i];
281 #endif
283  DDMaterial matter(matName);
284  DDLogicalPart glog;
285  if (layerSense_[ly] < 1) {
286  std::vector<double> pgonZ, pgonRin, pgonRout;
287  double rmax = routF * cosAlpha_ - tol1_;
288  HGCalGeomTools::radius(zz - hthick,
289  zz + hthick,
290  zFrontB_,
291  rMinFront_,
292  slopeB_,
293  zFrontT_,
294  rMaxFront_,
295  slopeT_,
296  -layerSense_[ly],
297  pgonZ,
298  pgonRin,
299  pgonRout);
300  for (unsigned int isec = 0; isec < pgonZ.size(); ++isec) {
301  pgonZ[isec] -= zz;
302  if (layerSense_[ly] == 0 || absorbMode_ == 0)
303  pgonRout[isec] = rmax;
304  else
305  pgonRout[isec] = pgonRout[isec] * cosAlpha_ - tol1_;
306  }
307  DDSolid solid =
308  DDSolidFactory::polyhedra(DDName(name, nameSpace_), sectors_, -alpha_, 2._pi, pgonZ, pgonRin, pgonRout);
309  glog = DDLogicalPart(solid.ddname(), matter, solid);
310 #ifdef EDM_ML_DEBUG
311  edm::LogVerbatim("HGCalGeom") << "DDHGCalSiliconModule: " << solid.name() << " polyhedra of " << sectors_
312  << " sectors covering " << convertRadToDeg(-alpha_) << ":"
313  << convertRadToDeg(-alpha_ + 2._pi) << " with " << pgonZ.size()
314  << " sections and filled with " << matName;
315  for (unsigned int k = 0; k < pgonZ.size(); ++k)
316  edm::LogVerbatim("HGCalGeom") << "[" << k << "] z " << pgonZ[k] << " R " << pgonRin[k] << ":" << pgonRout[k];
317 #endif
318  } else {
319  double rins =
321  double routs =
322  (sensitiveMode_ < 1) ? routF : HGCalGeomTools::radius(zz - hthick, zFrontT_, rMaxFront_, slopeT_);
323  DDSolid solid = DDSolidFactory::tubs(DDName(name, nameSpace_), hthick, rins, routs, 0.0, 2._pi);
324  glog = DDLogicalPart(solid.ddname(), matter, solid);
325 #ifdef EDM_ML_DEBUG
326  edm::LogVerbatim("HGCalGeom") << "DDHGCalSiliconModule: " << solid.name() << " Tubs made of " << matName
327  << " of dimensions " << rinB << ":" << rins << ", " << routF << ":" << routs
328  << ", " << hthick << ", 0.0, 360.0 and position " << glog.name() << " number "
329  << copy << ":" << layerCenter_[copy - firstLayer_];
330 #endif
331  positionSensitive(glog, layerSense_[ly], (copy - firstLayer_), cpv);
332  }
333  DDTranslation r1(0, 0, zz);
334  DDRotation rot;
335  cpv.position(glog, module, copy, r1, rot);
336  int inc = ((layerSense_[ly] > 0) && (facingTypes_ > 1)) ? 2 : 1;
337  copyNumber_[ii] = copy + inc;
338 #ifdef EDM_ML_DEBUG
339  edm::LogVerbatim("HGCalGeom") << "DDHGCalSiliconModule: " << glog.name() << " number " << copy
340  << " positioned in " << module.name() << " at " << r1 << " with no rotation";
341 #endif
342  zz += hthick;
343  } // End of loop over layers in a block
344  zi = zo;
345  laymin = laymax;
346  // Make consistency check of all the partitions of the block
347  if (std::abs(thickTot - layerThick_[i]) >= tol2_) {
348  if (thickTot > layerThick_[i]) {
349  edm::LogError("HGCalGeom") << "Thickness of the partition " << layerThick_[i] << " is smaller than " << thickTot
350  << ": thickness of all its components **** ERROR ****";
351  } else {
352  edm::LogWarning("HGCalGeom") << "Thickness of the partition " << layerThick_[i] << " does not match with "
353  << thickTot << " of the components";
354  }
355  }
356  } // End of loop over blocks
357 }

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

◆ execute()

void DDHGCalSiliconModule::execute ( DDCompactView cpv)
override

Definition at line 239 of file DDHGCalSiliconModule.cc.

239  {
240 #ifdef EDM_ML_DEBUG
241  edm::LogVerbatim("HGCalGeom") << "==>> Constructing DDHGCalSiliconModule...";
242  copies_.clear();
243 #endif
244  constructLayers(parent(), cpv);
245 #ifdef EDM_ML_DEBUG
246  edm::LogVerbatim("HGCalGeom") << "DDHGCalSiliconModule: " << copies_.size() << " different wafer copy numbers";
247  int k(0);
248  for (std::unordered_set<int>::const_iterator itr = copies_.begin(); itr != copies_.end(); ++itr, ++k) {
249  edm::LogVerbatim("HGCalGeom") << "Copy [" << k << "] : " << (*itr);
250  }
251  copies_.clear();
252  edm::LogVerbatim("HGCalGeom") << "<<== End of DDHGCalSiliconModule construction...";
253 #endif
254 }

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

◆ initialize()

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

Definition at line 99 of file DDHGCalSiliconModule.cc.

103  {
104  waferTypes_ = static_cast<int>(nArgs["WaferTypes"]);
105  facingTypes_ = static_cast<int>(nArgs["FacingTypes"]);
106  partialTypes_ = static_cast<int>(nArgs["PartialTypes"]);
107  orientationTypes_ = static_cast<int>(nArgs["OrientationTypes"]);
108 #ifdef EDM_ML_DEBUG
109  edm::LogVerbatim("HGCalGeom") << "Number of types of wafers: " << waferTypes_ << " facings: " << facingTypes_
110  << " partials: " << partialTypes_ << " Orientations: " << orientationTypes_;
111 #endif
112  firstLayer_ = static_cast<int>(nArgs["FirstLayer"]);
113  absorbMode_ = static_cast<int>(nArgs["AbsorberMode"]);
114  sensitiveMode_ = static_cast<int>(nArgs["SensitiveMode"]);
115 #ifdef EDM_ML_DEBUG
116  edm::LogVerbatim("HGCalGeom") << "First Layer " << firstLayer_ << " and "
117  << "Absober:Sensitive mode " << absorbMode_ << ":" << sensitiveMode_;
118 #endif
119  zMinBlock_ = nArgs["zMinBlock"];
120  waferSize_ = nArgs["waferSize"];
121  waferSepar_ = nArgs["SensorSeparation"];
122  sectors_ = (int)(nArgs["Sectors"]);
123  alpha_ = (1._pi) / sectors_;
124  cosAlpha_ = cos(alpha_);
125 #ifdef EDM_ML_DEBUG
126  edm::LogVerbatim("HGCalGeom") << "zStart " << zMinBlock_ << " wafer width " << waferSize_ << " separations "
127  << waferSepar_ << " sectors " << sectors_ << ":" << convertRadToDeg(alpha_) << ":"
128  << cosAlpha_;
129 #endif
130  waferFull_ = vsArgs["WaferNamesFull"];
131  waferPart_ = vsArgs["WaferNamesPartial"];
132 #ifdef EDM_ML_DEBUG
133  edm::LogVerbatim("HGCalGeom") << "DDHGCalSiliconModule: " << waferFull_.size() << " full and " << waferPart_.size()
134  << " partial modules\nDDHGCalSiliconModule:Full Modules:";
135  unsigned int i1max = static_cast<unsigned int>(waferFull_.size());
136  for (unsigned int i1 = 0; i1 < i1max; i1 += 2) {
137  std::ostringstream st1;
138  unsigned int i2 = std::min((i1 + 2), i1max);
139  for (unsigned int i = i1; i < i2; ++i)
140  st1 << " [" << i << "] " << waferFull_[i];
141  edm::LogVerbatim("HGCalGeom") << st1.str() << std::endl;
142  }
143  edm::LogVerbatim("HGCalGeom") << "DDHGCalSiliconModule: Partial Modules:";
144  i1max = static_cast<unsigned int>(waferPart_.size());
145  for (unsigned int i1 = 0; i1 < i1max; i1 += 2) {
146  std::ostringstream st1;
147  unsigned int i2 = std::min((i1 + 2), i1max);
148  for (unsigned int i = i1; i < i2; ++i)
149  st1 << " [" << i << "] " << waferPart_[i];
150  edm::LogVerbatim("HGCalGeom") << st1.str() << std::endl;
151  }
152 #endif
153  materials_ = vsArgs["MaterialNames"];
154  names_ = vsArgs["VolumeNames"];
155  thick_ = vArgs["Thickness"];
156  copyNumber_.resize(materials_.size(), 1);
157 #ifdef EDM_ML_DEBUG
158  edm::LogVerbatim("HGCalGeom") << "DDHGCalSiliconModule: " << materials_.size() << " types of volumes";
159  for (unsigned int i = 0; i < names_.size(); ++i)
160  edm::LogVerbatim("HGCalGeom") << "Volume [" << i << "] " << names_[i] << " of thickness " << thick_[i]
161  << " filled with " << materials_[i] << " first copy number " << copyNumber_[i];
162 #endif
163  layers_ = dbl_to_int(vArgs["Layers"]);
164  layerThick_ = vArgs["LayerThick"];
165 #ifdef EDM_ML_DEBUG
166  edm::LogVerbatim("HGCalGeom") << "There are " << layers_.size() << " blocks";
167  for (unsigned int i = 0; i < layers_.size(); ++i)
168  edm::LogVerbatim("HGCalGeom") << "Block [" << i << "] of thickness " << layerThick_[i] << " with " << layers_[i]
169  << " layers";
170 #endif
171  layerType_ = dbl_to_int(vArgs["LayerType"]);
172  layerSense_ = dbl_to_int(vArgs["LayerSense"]);
173  layerCenter_ = dbl_to_int(vArgs["LayerCenter"]);
174 #ifdef EDM_ML_DEBUG
175  for (unsigned int i = 0; i < layerCenter_.size(); ++i)
176  edm::LogVerbatim("HGCalGeom") << "LayerCenter [" << i << "] " << layerCenter_[i];
177 #endif
178  if (firstLayer_ > 0) {
179  for (unsigned int i = 0; i < layerType_.size(); ++i) {
180  if (layerSense_[i] > 0) {
181  int ii = layerType_[i];
182  copyNumber_[ii] = (layerSense_[i] == 1) ? firstLayer_ : (firstLayer_ + 1);
183 #ifdef EDM_ML_DEBUG
184  edm::LogVerbatim("HGCalGeom") << "First copy number for layer type " << i << ":" << ii << " with "
185  << materials_[ii] << " changed to " << copyNumber_[ii];
186 #endif
187  }
188  }
189  } else {
190  firstLayer_ = 1;
191  }
192 #ifdef EDM_ML_DEBUG
193  edm::LogVerbatim("HGCalGeom") << "There are " << layerType_.size() << " layers";
194  for (unsigned int i = 0; i < layerType_.size(); ++i)
195  edm::LogVerbatim("HGCalGeom") << "Layer [" << i << "] with material type " << layerType_[i] << " sensitive class "
196  << layerSense_[i];
197 #endif
198  slopeB_ = vArgs["SlopeBottom"];
199  zFrontB_ = vArgs["ZFrontBottom"];
200  rMinFront_ = vArgs["RMinFront"];
201  slopeT_ = vArgs["SlopeTop"];
202  zFrontT_ = vArgs["ZFrontTop"];
203  rMaxFront_ = vArgs["RMaxFront"];
204 #ifdef EDM_ML_DEBUG
205  for (unsigned int i = 0; i < slopeB_.size(); ++i)
206  edm::LogVerbatim("HGCalGeom") << "Bottom Block [" << i << "] Zmin " << zFrontB_[i] << " Rmin " << rMinFront_[i]
207  << " Slope " << slopeB_[i];
208  for (unsigned int i = 0; i < slopeT_.size(); ++i)
209  edm::LogVerbatim("HGCalGeom") << "Top Block [" << i << "] Zmin " << zFrontT_[i] << " Rmax " << rMaxFront_[i]
210  << " Slope " << slopeT_[i];
211 #endif
212  waferIndex_ = dbl_to_int(vArgs["WaferIndex"]);
213  waferProperty_ = dbl_to_int(vArgs["WaferProperties"]);
214  waferLayerStart_ = dbl_to_int(vArgs["WaferLayerStart"]);
215 #ifdef EDM_ML_DEBUG
216  edm::LogVerbatim("HGCalGeom") << "waferProperties with " << waferIndex_.size() << " entries in "
217  << waferLayerStart_.size() << " layers";
218  for (unsigned int k = 0; k < waferLayerStart_.size(); ++k)
219  edm::LogVerbatim("HGCalGeom") << "LayerStart[" << k << "] " << waferLayerStart_[k];
220  for (unsigned int k = 0; k < waferIndex_.size(); ++k)
221  edm::LogVerbatim("HGCalGeom") << "Wafer[" << k << "] " << waferIndex_[k] << " ("
224  << HGCalWaferIndex::waferV(waferIndex_[k]) << ") : ("
228 #endif
230 #ifdef EDM_ML_DEBUG
231  edm::LogVerbatim("HGCalGeom") << "DDHGCalSiliconModule: NameSpace " << nameSpace_;
232 #endif
233 }

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

◆ positionSensitive()

void DDHGCalSiliconModule::positionSensitive ( const DDLogicalPart glog,
int  layertype,
int  layer,
DDCompactView cpv 
)
protected

Definition at line 359 of file DDHGCalSiliconModule.cc.

359  {
360  static const double sqrt3 = std::sqrt(3.0);
361  int layercenter = layerCenter_[layer];
362  int firstWafer = waferLayerStart_[layer];
363  int lastWafer = ((layer + 1 < static_cast<int>(waferLayerStart_.size())) ? waferLayerStart_[layer + 1]
364  : static_cast<int>(waferIndex_.size()));
365  double r = 0.5 * (waferSize_ + waferSepar_);
366  double R = 2.0 * r / sqrt3;
367  double dy = 0.75 * R;
368  const auto& xyoff = geomTools_.shiftXY(layercenter, (waferSize_ + waferSepar_));
369 #ifdef EDM_ML_DEBUG
370  int ium(0), ivm(0), kount(0);
371  std::vector<int> ntype(3, 0);
372  edm::LogVerbatim("HGCalGeom") << "DDHGCalSiliconModule: " << glog.ddname() << " r " << r << " R " << R << " dy "
373  << dy << " Shift " << xyoff.first << ":" << xyoff.second << " WaferSize "
374  << (waferSize_ + waferSepar_) << " index " << firstWafer << ":" << (lastWafer - 1);
375 #endif
376  for (int k = firstWafer; k < lastWafer; ++k) {
379 #ifdef EDM_ML_DEBUG
380  int iu = std::abs(u);
381  int iv = std::abs(v);
382 #endif
383  int nr = 2 * v;
384  int nc = -2 * u + v;
385  double xpos = xyoff.first + nc * r;
386  double ypos = xyoff.second + nr * dy;
390  std::string wafer;
391  int i(999);
392  if (part == HGCalTypes::WaferFull) {
393  i = (layertype - 1) * waferTypes_ + type;
394  wafer = waferFull_[i];
395  } else {
397  (layertype - 1) * waferTypes_ * orientationTypes_ + type * orientationTypes_ + orien;
398 #ifdef EDM_ML_DEBUG
399  edm::LogVerbatim("HGCalGeom") << " layertype:type:part:orien:ind " << layertype << ":" << type << ":" << part
400  << ":" << orien << ":" << i << ":" << waferPart_.size();
401 #endif
402  wafer = waferPart_[i];
403  }
404  int copy = HGCalTypes::packTypeUV(type, u, v);
405 #ifdef EDM_ML_DEBUG
406  edm::LogVerbatim("HGCalGeom") << " DDHGCalSiliconModule: Layer " << HGCalWaferIndex::waferLayer(waferIndex_[k])
407  << " Wafer " << wafer << " number " << copy << " type:part:orien:ind " << type << ":"
408  << part << ":" << orien << ":" << i << " layer:u:v:indx " << (layer + firstLayer_)
409  << ":" << u << ":" << v;
410  if (iu > ium)
411  ium = iu;
412  if (iv > ivm)
413  ivm = iv;
414  kount++;
415  if (copies_.count(copy) == 0)
416  copies_.insert(copy);
417 #endif
418  DDTranslation tran(xpos, ypos, 0.0);
420  DDName name = DDName(DDSplit(wafer).first, DDSplit(wafer).second);
421  cpv.position(name, glog.ddname(), copy, tran, rotation);
422 #ifdef EDM_ML_DEBUG
423  ++ntype[type];
424  edm::LogVerbatim("HGCalGeom") << " DDHGCalSiliconModule: " << name << " number " << copy << " type " << layertype
425  << ":" << type << " positioned in " << glog.ddname() << " at " << tran
426  << " with no rotation";
427 #endif
428  }
429 #ifdef EDM_ML_DEBUG
430  edm::LogVerbatim("HGCalGeom") << "DDHGCalSiliconModule: Maximum # of u " << ium << " # of v " << ivm << " and "
431  << kount << " wafers (" << ntype[0] << ":" << ntype[1] << ":" << ntype[2] << ") for "
432  << glog.ddname();
433 #endif
434 }

References funct::abs(), filterCSVwithJSON::copy, DDBase< N, C >::ddname(), DDSplit(), PVValHelper::dy, first, mps_fire::i, gpuVertexFinder::iv, dqmdumpme::k, phase1PixelTopology::layer, Skims_PA_cff::name, EgHLTOffHistBins_cfi::nr, HGCalTypes::packTypeUV(), DDCompactView::position(), dttmaxenums::R, alignCSCRings::r, idealTransformation::rotation, edm::second(), mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, findQualityFiles::v, HGCalTypes::WaferFull, HGCalWaferIndex::waferLayer(), HGCalProperty::waferOrient(), HGCalProperty::waferPartial(), HGCalProperty::waferThick(), HGCalWaferIndex::waferU(), and HGCalWaferIndex::waferV().

Member Data Documentation

◆ absorbMode_

int DDHGCalSiliconModule::absorbMode_
private

Definition at line 62 of file DDHGCalSiliconModule.cc.

◆ alpha_

double DDHGCalSiliconModule::alpha_
private

Definition at line 90 of file DDHGCalSiliconModule.cc.

◆ copies_

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

Definition at line 89 of file DDHGCalSiliconModule.cc.

◆ copyNumber_

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

Definition at line 73 of file DDHGCalSiliconModule.cc.

◆ cosAlpha_

double DDHGCalSiliconModule::cosAlpha_
private

Definition at line 90 of file DDHGCalSiliconModule.cc.

◆ facingTypes_

int DDHGCalSiliconModule::facingTypes_
private

Definition at line 58 of file DDHGCalSiliconModule.cc.

◆ firstLayer_

int DDHGCalSiliconModule::firstLayer_
private

Definition at line 61 of file DDHGCalSiliconModule.cc.

◆ geomTools_

HGCalGeomTools DDHGCalSiliconModule::geomTools_
private

Definition at line 52 of file DDHGCalSiliconModule.cc.

◆ layerCenter_

std::vector<int> DDHGCalSiliconModule::layerCenter_
private

Definition at line 78 of file DDHGCalSiliconModule.cc.

◆ layers_

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

Definition at line 74 of file DDHGCalSiliconModule.cc.

◆ layerSense_

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

Definition at line 77 of file DDHGCalSiliconModule.cc.

◆ layerThick_

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

Definition at line 75 of file DDHGCalSiliconModule.cc.

◆ layerType_

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

Definition at line 76 of file DDHGCalSiliconModule.cc.

◆ materials_

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

Definition at line 70 of file DDHGCalSiliconModule.cc.

◆ names_

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

Definition at line 71 of file DDHGCalSiliconModule.cc.

◆ nameSpace_

std::string DDHGCalSiliconModule::nameSpace_
private

Definition at line 88 of file DDHGCalSiliconModule.cc.

◆ orientationTypes_

int DDHGCalSiliconModule::orientationTypes_
private

Definition at line 60 of file DDHGCalSiliconModule.cc.

◆ partialTypes_

int DDHGCalSiliconModule::partialTypes_
private

Definition at line 59 of file DDHGCalSiliconModule.cc.

◆ rMaxFront_

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

Definition at line 84 of file DDHGCalSiliconModule.cc.

◆ rMinFront_

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

Definition at line 81 of file DDHGCalSiliconModule.cc.

◆ sectors_

int DDHGCalSiliconModule::sectors_
private

Definition at line 67 of file DDHGCalSiliconModule.cc.

◆ sensitiveMode_

int DDHGCalSiliconModule::sensitiveMode_
private

Definition at line 63 of file DDHGCalSiliconModule.cc.

◆ slopeB_

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

Definition at line 79 of file DDHGCalSiliconModule.cc.

◆ slopeT_

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

Definition at line 82 of file DDHGCalSiliconModule.cc.

◆ thick_

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

Definition at line 72 of file DDHGCalSiliconModule.cc.

◆ tol1_

constexpr double DDHGCalSiliconModule::tol1_ = 0.01
staticconstexprprivate

Definition at line 54 of file DDHGCalSiliconModule.cc.

◆ tol2_

constexpr double DDHGCalSiliconModule::tol2_ = 0.00001
staticconstexprprivate

Definition at line 55 of file DDHGCalSiliconModule.cc.

◆ waferFull_

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

Definition at line 68 of file DDHGCalSiliconModule.cc.

◆ waferIndex_

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

Definition at line 85 of file DDHGCalSiliconModule.cc.

◆ waferLayerStart_

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

Definition at line 87 of file DDHGCalSiliconModule.cc.

◆ waferPart_

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

Definition at line 69 of file DDHGCalSiliconModule.cc.

◆ waferProperty_

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

Definition at line 86 of file DDHGCalSiliconModule.cc.

◆ waferSepar_

double DDHGCalSiliconModule::waferSepar_
private

Definition at line 66 of file DDHGCalSiliconModule.cc.

◆ waferSize_

double DDHGCalSiliconModule::waferSize_
private

Definition at line 65 of file DDHGCalSiliconModule.cc.

◆ waferTypes_

int DDHGCalSiliconModule::waferTypes_
private

Definition at line 57 of file DDHGCalSiliconModule.cc.

◆ zFrontB_

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

Definition at line 80 of file DDHGCalSiliconModule.cc.

◆ zFrontT_

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

Definition at line 83 of file DDHGCalSiliconModule.cc.

◆ zMinBlock_

double DDHGCalSiliconModule::zMinBlock_
private

Definition at line 64 of file DDHGCalSiliconModule.cc.

DDHGCalSiliconModule::copies_
std::unordered_set< int > copies_
Definition: DDHGCalSiliconModule.cc:89
DDHGCalSiliconModule::waferTypes_
int waferTypes_
Definition: DDHGCalSiliconModule.cc:57
testProducerWithPsetDescEmpty_cfi.i2
i2
Definition: testProducerWithPsetDescEmpty_cfi.py:46
mps_fire.i
i
Definition: mps_fire.py:428
geometryCSVtoXML.zz
zz
Definition: geometryCSVtoXML.py:19
DDHGCalSiliconModule::sectors_
int sectors_
Definition: DDHGCalSiliconModule.cc:67
DDHGCalSiliconModule::materials_
std::vector< std::string > materials_
Definition: DDHGCalSiliconModule.cc:70
DDHGCalSiliconModule::slopeT_
std::vector< double > slopeT_
Definition: DDHGCalSiliconModule.cc:82
filterCSVwithJSON.copy
copy
Definition: filterCSVwithJSON.py:36
DDName
DDName is used to identify DDD entities uniquely.
Definition: DDName.h:15
DDHGCalSiliconModule::rMaxFront_
std::vector< double > rMaxFront_
Definition: DDHGCalSiliconModule.cc:84
DDHGCalSiliconModule::zFrontB_
std::vector< double > zFrontB_
Definition: DDHGCalSiliconModule.cc:80
min
T min(T a, T b)
Definition: MathUtil.h:58
angle_units::operators::convertRadToDeg
constexpr NumType convertRadToDeg(NumType radians)
Definition: angle_units.h:21
gpuVertexFinder::iv
int32_t *__restrict__ iv
Definition: gpuClusterTracksDBSCAN.h:42
HGCalTypes::WaferFull
Definition: HGCalTypes.h:50
testProducerWithPsetDescEmpty_cfi.i1
i1
Definition: testProducerWithPsetDescEmpty_cfi.py:45
DDHGCalSiliconModule::waferFull_
std::vector< std::string > waferFull_
Definition: DDHGCalSiliconModule.cc:68
HGCalWaferIndex::waferU
int32_t waferU(const int32_t index)
Definition: HGCalWaferIndex.cc:27
HGCalProperty::waferOrient
int32_t waferOrient(const int32_t property)
Definition: HGCalProperty.cc:17
DDHGCalSiliconModule::sensitiveMode_
int sensitiveMode_
Definition: DDHGCalSiliconModule.cc:63
edm::second
U second(std::pair< T, U > const &p)
Definition: ParameterSet.cc:222
DDHGCalSiliconModule::absorbMode_
int absorbMode_
Definition: DDHGCalSiliconModule.cc:62
DDHGCalSiliconModule::copyNumber_
std::vector< int > copyNumber_
Definition: DDHGCalSiliconModule.cc:73
HGCalGeomTools::shiftXY
std::pair< double, double > shiftXY(int waferPosition, double waferSize) const
Definition: HGCalGeomTools.cc:176
findQualityFiles.v
v
Definition: findQualityFiles.py:179
DDHGCalSiliconModule::thick_
std::vector< double > thick_
Definition: DDHGCalSiliconModule.cc:72
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
DDHGCalSiliconModule::constructLayers
void constructLayers(const DDLogicalPart &, DDCompactView &cpv)
Definition: DDHGCalSiliconModule.cc:256
DDHGCalSiliconModule::layerSense_
std::vector< int > layerSense_
Definition: DDHGCalSiliconModule.cc:77
DDHGCalSiliconModule::waferProperty_
std::vector< int > waferProperty_
Definition: DDHGCalSiliconModule.cc:86
DDHGCalSiliconModule::layerCenter_
std::vector< int > layerCenter_
Definition: DDHGCalSiliconModule.cc:78
DDMaterial
DDMaterial is used to define and access material information.
Definition: DDMaterial.h:45
part
part
Definition: HCALResponse.h:20
funct::cos
Cos< T >::type cos(const T &t)
Definition: Cos.h:22
DDTranslation
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
Definition: DDTranslation.h:7
DDSolidFactory::polyhedra
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:551
DDHGCalSiliconModule::waferPart_
std::vector< std::string > waferPart_
Definition: DDHGCalSiliconModule.cc:69
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
DDBase::name
const N & name() const
Definition: DDBase.h:59
HGCalWaferIndex::waferV
int32_t waferV(const int32_t index)
Definition: HGCalWaferIndex.cc:32
DDSolidFactory::tubs
static DDSolid tubs(const DDName &name, double zhalf, double rIn, double rOut, double startPhi, double deltaPhi)
Definition: DDSolid.cc:653
dqmdumpme.k
k
Definition: dqmdumpme.py:60
DDHGCalSiliconModule::rMinFront_
std::vector< double > rMinFront_
Definition: DDHGCalSiliconModule.cc:81
first
auto first
Definition: CAHitNtupletGeneratorKernelsImpl.h:112
HGCalTypes::packTypeUV
static int32_t packTypeUV(int type, int u, int v)
Definition: HGCalTypes.cc:3
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition: phase1PixelTopology.h:99
DDHGCalSiliconModule::cosAlpha_
double cosAlpha_
Definition: DDHGCalSiliconModule.cc:90
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DDHGCalSiliconModule::waferSepar_
double waferSepar_
Definition: DDHGCalSiliconModule.cc:66
idealTransformation.rotation
dictionary rotation
Definition: idealTransformation.py:1
DDHGCalSiliconModule::waferLayerStart_
std::vector< int > waferLayerStart_
Definition: DDHGCalSiliconModule.cc:87
EgHLTOffHistBins_cfi.nr
nr
Definition: EgHLTOffHistBins_cfi.py:4
DDBase::ddname
const N & ddname() const
Definition: DDBase.h:61
DDHGCalSiliconModule::waferIndex_
std::vector< int > waferIndex_
Definition: DDHGCalSiliconModule.cc:85
type
type
Definition: SiPixelVCal_PayloadInspector.cc:37
DDHGCalSiliconModule::orientationTypes_
int orientationTypes_
Definition: DDHGCalSiliconModule.cc:60
gainCalibHelper::gainCalibPI::type
type
Definition: SiPixelGainCalibHelper.h:40
DDLogicalPart
A DDLogicalPart aggregates information concerning material, solid and sensitveness ....
Definition: DDLogicalPart.h:93
createfilelist.int
int
Definition: createfilelist.py:10
HGCalProperty::waferThick
int32_t waferThick(const int32_t property)
Definition: HGCalProperty.cc:9
DDHGCalSiliconModule::tol2_
static constexpr double tol2_
Definition: DDHGCalSiliconModule.cc:55
DDHGCalSiliconModule::zFrontT_
std::vector< double > zFrontT_
Definition: DDHGCalSiliconModule.cc:83
PVValHelper::dy
Definition: PVValidationHelpers.h:50
DDHGCalSiliconModule::tol1_
static constexpr double tol1_
Definition: DDHGCalSiliconModule.cc:54
DDHGCalSiliconModule::alpha_
double alpha_
Definition: DDHGCalSiliconModule.cc:90
edm::LogError
Log< level::Error, false > LogError
Definition: MessageLogger.h:123
HGCalProperty::waferPartial
int32_t waferPartial(const int32_t property)
Definition: HGCalProperty.cc:13
DDHGCalSiliconModule::positionSensitive
void positionSensitive(const DDLogicalPart &glog, int layertype, int layer, DDCompactView &cpv)
Definition: DDHGCalSiliconModule.cc:359
alignCSCRings.r
r
Definition: alignCSCRings.py:93
DDHGCalSiliconModule::geomTools_
HGCalGeomTools geomTools_
Definition: DDHGCalSiliconModule.cc:52
HGCalWaferIndex::waferLayer
int32_t waferLayer(const int32_t index)
Definition: HGCalWaferIndex.cc:23
HGCalGeomTools::radius
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)
Definition: HGCalGeomTools.cc:11
DDHGCalSiliconModule::nameSpace_
std::string nameSpace_
Definition: DDHGCalSiliconModule.cc:88
diffTwoXMLs.r1
r1
Definition: diffTwoXMLs.py:53
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128
DDCurrentNamespace::ns
static std::string & ns()
Definition: DDCurrentNamespace.cc:3
DDHGCalSiliconModule::firstLayer_
int firstLayer_
Definition: DDHGCalSiliconModule.cc:61
DDHGCalSiliconModule::names_
std::vector< std::string > names_
Definition: DDHGCalSiliconModule.cc:71
makeMuonMisalignmentScenario.rot
rot
Definition: makeMuonMisalignmentScenario.py:322
DDHGCalSiliconModule::layers_
std::vector< int > layers_
Definition: DDHGCalSiliconModule.cc:74
DDHGCalSiliconModule::waferSize_
double waferSize_
Definition: DDHGCalSiliconModule.cc:65
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
DDSolid
A DDSolid represents the shape of a part.
Definition: DDSolid.h:39
DDRotation
Represents a uniquely identifyable rotation matrix.
Definition: DDTransform.h:57
DDHGCalSiliconModule::slopeB_
std::vector< double > slopeB_
Definition: DDHGCalSiliconModule.cc:79
DDHGCalSiliconModule::zMinBlock_
double zMinBlock_
Definition: DDHGCalSiliconModule.cc:64
DDHGCalSiliconModule::partialTypes_
int partialTypes_
Definition: DDHGCalSiliconModule.cc:59
DDHGCalSiliconModule::layerThick_
std::vector< double > layerThick_
Definition: DDHGCalSiliconModule.cc:75
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
dbl_to_int
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
edm::Log
Definition: MessageLogger.h:70
dttmaxenums::R
Definition: DTTMax.h:29
DDHGCalSiliconModule::facingTypes_
int facingTypes_
Definition: DDHGCalSiliconModule.cc:58
class-composition.parent
parent
Definition: class-composition.py:88
cuy.ii
ii
Definition: cuy.py:590
DDHGCalSiliconModule::layerType_
std::vector< int > layerType_
Definition: DDHGCalSiliconModule.cc:76
DDSplit
std::pair< std::string, std::string > DDSplit(const std::string &n)
split into (name,namespace), separator = ':'
Definition: DDSplit.cc:3
DDCompactView::position
void position(const DDLogicalPart &self, const DDLogicalPart &parent, const std::string &copyno, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div=nullptr)
Definition: DDCompactView.cc:76