CMS 3D CMS Logo

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

Public Member Functions

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

Protected Member Functions

void constructLayers (const DDLogicalPart &, DDCompactView &cpv)
 
void positionSensitive (const DDLogicalPart &glog, double rin, double rout, double zpos, int layertype, int layercenter, DDCompactView &cpv)
 

Private Attributes

int absorbMode_
 
double alpha_
 
int choiceType_
 
std::unordered_set< int > copies_
 
std::vector< int > copyNumber_
 
double cosAlpha_
 
int firstLayer_
 
double fracAreaMin_
 
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 nCutRadPar_
 
std::vector< double > rad100to200_
 
std::vector< double > rad200to300_
 
std::vector< double > rMaxFront_
 
std::vector< double > rMinFront_
 
int sectors_
 
std::vector< double > slopeB_
 
std::vector< double > slopeT_
 
std::vector< double > thick_
 
std::vector< std::string > wafers_
 
double waferSepar_
 
double waferSize_
 
std::unique_ptr< HGCalWaferTypewaferType_
 
std::vector< double > zFrontB_
 
std::vector< double > zFrontT_
 
double zMinBlock_
 
double zMinRadPar_
 

Detailed Description

Definition at line 31 of file DDHGCalEEAlgo.cc.

Constructor & Destructor Documentation

◆ DDHGCalEEAlgo()

DDHGCalEEAlgo::DDHGCalEEAlgo ( )

Definition at line 91 of file DDHGCalEEAlgo.cc.

91  {
92 #ifdef EDM_ML_DEBUG
93  edm::LogVerbatim("HGCalGeom") << "DDHGCalEEAlgo: Creating an instance";
94 #endif
95 }

◆ ~DDHGCalEEAlgo()

DDHGCalEEAlgo::~DDHGCalEEAlgo ( )
override

Definition at line 97 of file DDHGCalEEAlgo.cc.

97 {}

Member Function Documentation

◆ constructLayers()

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

Definition at line 227 of file DDHGCalEEAlgo.cc.

227  {
228 #ifdef EDM_ML_DEBUG
229  edm::LogVerbatim("HGCalGeom") << "DDHGCalEEAlgo: \t\tInside Layers";
230 #endif
231  double zi(zMinBlock_);
232  int laymin(0);
233  const double tol(0.01);
234  for (unsigned int i = 0; i < layers_.size(); i++) {
235  double zo = zi + layerThick_[i];
236  double routF = HGCalGeomTools::radius(zi, zFrontT_, rMaxFront_, slopeT_);
237  int laymax = laymin + layers_[i];
238  double zz = zi;
239  double thickTot(0);
240  for (int ly = laymin; ly < laymax; ++ly) {
241  int ii = layerType_[ly];
242  int copy = copyNumber_[ii];
243  double hthick = 0.5 * thick_[ii];
244  double rinB = HGCalGeomTools::radius(zo, zFrontB_, rMinFront_, slopeB_);
245  zz += hthick;
246  thickTot += thick_[ii];
247 
248  std::string name = names_[ii] + std::to_string(copy);
249 #ifdef EDM_ML_DEBUG
250  edm::LogVerbatim("HGCalGeom") << "DDHGCalEEAlgo: Layer " << ly << ":" << ii << " Front " << zi << ", " << routF
251  << " Back " << zo << ", " << rinB << " superlayer thickness " << layerThick_[i];
252 #endif
254  DDMaterial matter(matName);
255  DDLogicalPart glog;
256  if (layerSense_[ly] < 1) {
257  std::vector<double> pgonZ, pgonRin, pgonRout;
258  if (layerSense_[ly] == 0 || absorbMode_ == 0) {
259  double rmax = routF * cosAlpha_ - tol;
260  pgonZ.emplace_back(-hthick);
261  pgonZ.emplace_back(hthick);
262  pgonRin.emplace_back(rinB);
263  pgonRin.emplace_back(rinB);
264  pgonRout.emplace_back(rmax);
265  pgonRout.emplace_back(rmax);
266  } else {
267  HGCalGeomTools::radius(zz - hthick,
268  zz + hthick,
269  zFrontB_,
270  rMinFront_,
271  slopeB_,
272  zFrontT_,
273  rMaxFront_,
274  slopeT_,
275  -layerSense_[ly],
276  pgonZ,
277  pgonRin,
278  pgonRout);
279 #ifdef EDM_ML_DEBUG
280  edm::LogVerbatim("HGCalGeom") << "DDHGCalEEAlgo: z " << (zz - hthick) << ":" << (zz + hthick) << " with "
281  << pgonZ.size() << " palnes";
282  for (unsigned int isec = 0; isec < pgonZ.size(); ++isec)
283  edm::LogVerbatim("HGCalGeom")
284  << "[" << isec << "] z " << pgonZ[isec] << " R " << pgonRin[isec] << ":" << pgonRout[isec];
285 #endif
286  for (unsigned int isec = 0; isec < pgonZ.size(); ++isec) {
287  pgonZ[isec] -= zz;
288  pgonRout[isec] = pgonRout[isec] * cosAlpha_ - tol;
289  }
290  }
291  DDSolid solid =
292  DDSolidFactory::polyhedra(DDName(name, nameSpace_), sectors_, -alpha_, 2._pi, pgonZ, pgonRin, pgonRout);
293  glog = DDLogicalPart(solid.ddname(), matter, solid);
294 #ifdef EDM_ML_DEBUG
295  edm::LogVerbatim("HGCalGeom") << "DDHGCalEEAlgo: " << solid.name() << " polyhedra of " << sectors_
296  << " sectors covering " << convertRadToDeg(-alpha_) << ":"
297  << convertRadToDeg(-alpha_ + 2._pi) << " with " << pgonZ.size()
298  << " sections and filled with " << matName << ":" << &matter;
299  for (unsigned int k = 0; k < pgonZ.size(); ++k)
300  edm::LogVerbatim("HGCalGeom") << "[" << k << "] z " << pgonZ[k] << " R " << pgonRin[k] << ":" << pgonRout[k];
301 #endif
302  } else {
303  DDSolid solid = DDSolidFactory::tubs(DDName(name, nameSpace_), hthick, rinB, routF, 0.0, 2._pi);
304  glog = DDLogicalPart(solid.ddname(), matter, solid);
305 #ifdef EDM_ML_DEBUG
306  edm::LogVerbatim("HGCalGeom") << "DDHGCalEEAlgo: " << solid.name() << " Tubs made of " << matName << ":"
307  << &matter << " of dimensions " << rinB << ", " << routF << ", " << hthick
308  << ", 0.0, 360.0 and position " << glog.name() << " number " << copy << ":"
309  << layerCenter_[copy - 1];
310 #endif
311  positionSensitive(glog, rinB, routF, zz, layerSense_[ly], layerCenter_[copy - 1], cpv);
312  }
313  DDTranslation r1(0, 0, zz);
314  DDRotation rot;
315  cpv.position(glog, module, copy, r1, rot);
316  ++copyNumber_[ii];
317 #ifdef EDM_ML_DEBUG
318  edm::LogVerbatim("HGCalGeom") << "DDHGCalEEAlgo: " << glog.name() << " number " << copy << " positioned in "
319  << module.name() << " at " << r1 << " with " << rot;
320 #endif
321  zz += hthick;
322  } // End of loop over layers in a block
323  zi = zo;
324  laymin = laymax;
325  if (std::abs(thickTot - layerThick_[i]) < 0.00001) {
326  } else if (thickTot > layerThick_[i]) {
327  edm::LogError("HGCalGeom") << "Thickness of the partition " << layerThick_[i] << " is smaller than " << thickTot
328  << ": thickness of all its "
329  << "components **** ERROR ****";
330  } else if (thickTot < layerThick_[i]) {
331  edm::LogWarning("HGCalGeom") << "Thickness of the partition " << layerThick_[i] << " does not match with "
332  << thickTot << " of the components";
333  }
334  } // End of loop over blocks
335 }

References funct::abs(), angle_units::operators::convertRadToDeg(), filterCSVwithJSON::copy, DDBase< N, C >::ddname(), DDSplit(), dqmdumpme::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 DDHGCalEEAlgo::execute ( DDCompactView cpv)
override

Definition at line 210 of file DDHGCalEEAlgo.cc.

210  {
211 #ifdef EDM_ML_DEBUG
212  edm::LogVerbatim("HGCalGeom") << "==>> Constructing DDHGCalEEAlgo...";
213  copies_.clear();
214 #endif
215  constructLayers(parent(), cpv);
216 #ifdef EDM_ML_DEBUG
217  edm::LogVerbatim("HGCalGeom") << "DDHGCalEEAlgo: " << copies_.size() << " different wafer copy numbers";
218  int k(0);
219  for (std::unordered_set<int>::const_iterator itr = copies_.begin(); itr != copies_.end(); ++itr, ++k) {
220  edm::LogVerbatim("HGCalGeom") << "Copy [" << k << "] : " << (*itr);
221  }
222  copies_.clear();
223  edm::LogVerbatim("HGCalGeom") << "<<== End of DDHGCalEEAlgo construction...";
224 #endif
225 }

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

◆ initialize()

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

Definition at line 99 of file DDHGCalEEAlgo.cc.

103  {
104  wafers_ = vsArgs["WaferNames"];
105 #ifdef EDM_ML_DEBUG
106  edm::LogVerbatim("HGCalGeom") << "DDHGCalEEAlgo: " << wafers_.size() << " wafers";
107  for (unsigned int i = 0; i < wafers_.size(); ++i)
108  edm::LogVerbatim("HGCalGeom") << "Wafer[" << i << "] " << wafers_[i];
109 #endif
110  materials_ = vsArgs["MaterialNames"];
111  names_ = vsArgs["VolumeNames"];
112  thick_ = vArgs["Thickness"];
113  for (unsigned int i = 0; i < materials_.size(); ++i) {
114  copyNumber_.emplace_back(1);
115  }
116 #ifdef EDM_ML_DEBUG
117  edm::LogVerbatim("HGCalGeom") << "DDHGCalEEAlgo: " << materials_.size() << " types of volumes";
118  for (unsigned int i = 0; i < names_.size(); ++i)
119  edm::LogVerbatim("HGCalGeom") << "Volume [" << i << "] " << names_[i] << " of thickness " << thick_[i]
120  << " filled with " << materials_[i] << " first copy number " << copyNumber_[i];
121 #endif
122  layers_ = dbl_to_int(vArgs["Layers"]);
123  layerThick_ = vArgs["LayerThick"];
124 #ifdef EDM_ML_DEBUG
125  edm::LogVerbatim("HGCalGeom") << "There are " << layers_.size() << " blocks";
126  for (unsigned int i = 0; i < layers_.size(); ++i)
127  edm::LogVerbatim("HGCalGeom") << "Block [" << i << "] of thickness " << layerThick_[i] << " with " << layers_[i]
128  << " layers";
129 #endif
130  layerType_ = dbl_to_int(vArgs["LayerType"]);
131  layerSense_ = dbl_to_int(vArgs["LayerSense"]);
132  firstLayer_ = (int)(nArgs["FirstLayer"]);
133  absorbMode_ = (int)(nArgs["AbsorberMode"]);
134 #ifdef EDM_ML_DEBUG
135  edm::LogVerbatim("HGCalGeom") << "First Layere " << firstLayer_ << " and "
136  << "Absober mode " << absorbMode_;
137 #endif
138  layerCenter_ = dbl_to_int(vArgs["LayerCenter"]);
139 #ifdef EDM_ML_DEBUG
140  for (unsigned int i = 0; i < layerCenter_.size(); ++i)
141  edm::LogVerbatim("HGCalGeom") << "LayerCenter [" << i << "] " << layerCenter_[i];
142 #endif
143  if (firstLayer_ > 0) {
144  for (unsigned int i = 0; i < layerType_.size(); ++i) {
145  if (layerSense_[i] > 0) {
146  int ii = layerType_[i];
148 #ifdef EDM_ML_DEBUG
149  edm::LogVerbatim("HGCalGeom") << "First copy number for layer type " << i << ":" << ii << " with "
150  << materials_[ii] << " changed to " << copyNumber_[ii];
151 #endif
152  break;
153  }
154  }
155  }
156 #ifdef EDM_ML_DEBUG
157  edm::LogVerbatim("HGCalGeom") << "There are " << layerType_.size() << " layers";
158  for (unsigned int i = 0; i < layerType_.size(); ++i)
159  edm::LogVerbatim("HGCalGeom") << "Layer [" << i << "] with material type " << layerType_[i] << " sensitive class "
160  << layerSense_[i];
161 #endif
162  zMinBlock_ = nArgs["zMinBlock"];
163  rad100to200_ = vArgs["rad100to200"];
164  rad200to300_ = vArgs["rad200to300"];
165  zMinRadPar_ = nArgs["zMinForRadPar"];
166  choiceType_ = (int)(nArgs["choiceType"]);
167  nCutRadPar_ = (int)(nArgs["nCornerCut"]);
168  fracAreaMin_ = nArgs["fracAreaMin"];
169  waferSize_ = nArgs["waferSize"];
170  waferSepar_ = nArgs["SensorSeparation"];
171  sectors_ = (int)(nArgs["Sectors"]);
172  alpha_ = (1._pi) / sectors_;
173  cosAlpha_ = cos(alpha_);
174 #ifdef EDM_ML_DEBUG
175  edm::LogVerbatim("HGCalGeom") << "zStart " << zMinBlock_ << " radius for wafer type separation uses "
176  << rad100to200_.size() << " parameters; zmin " << zMinRadPar_ << " cutoff "
177  << choiceType_ << ":" << nCutRadPar_ << ":" << fracAreaMin_ << " wafer width "
178  << waferSize_ << " separations " << waferSepar_ << " sectors " << sectors_ << ":"
179  << convertRadToDeg(alpha_) << ":" << cosAlpha_;
180  for (unsigned int k = 0; k < rad100to200_.size(); ++k)
181  edm::LogVerbatim("HGCalGeom") << "[" << k << "] 100-200 " << rad100to200_[k] << " 200-300 " << rad200to300_[k];
182 #endif
183  slopeB_ = vArgs["SlopeBottom"];
184  zFrontB_ = vArgs["ZFrontBottom"];
185  rMinFront_ = vArgs["RMinFront"];
186  slopeT_ = vArgs["SlopeTop"];
187  zFrontT_ = vArgs["ZFrontTop"];
188  rMaxFront_ = vArgs["RMaxFront"];
189 #ifdef EDM_ML_DEBUG
190  for (unsigned int i = 0; i < slopeB_.size(); ++i)
191  edm::LogVerbatim("HGCalGeom") << "Block [" << i << "] Zmin " << zFrontB_[i] << " Rmin " << rMinFront_[i]
192  << " Slope " << slopeB_[i];
193  for (unsigned int i = 0; i < slopeT_.size(); ++i)
194  edm::LogVerbatim("HGCalGeom") << "Block [" << i << "] Zmin " << zFrontT_[i] << " Rmax " << rMaxFront_[i]
195  << " Slope " << slopeT_[i];
196 #endif
198 #ifdef EDM_ML_DEBUG
199  edm::LogVerbatim("HGCalGeom") << "DDHGCalEEAlgo: NameSpace " << nameSpace_;
200 #endif
201 
202  waferType_ = std::make_unique<HGCalWaferType>(
204 }

References angle_units::operators::convertRadToDeg(), funct::cos(), dbl_to_int(), mps_fire::i, cuy::ii, createfilelist::int, dqmdumpme::k, and DDCurrentNamespace::ns().

◆ positionSensitive()

void DDHGCalEEAlgo::positionSensitive ( const DDLogicalPart glog,
double  rin,
double  rout,
double  zpos,
int  layertype,
int  layercenter,
DDCompactView cpv 
)
protected

Definition at line 337 of file DDHGCalEEAlgo.cc.

343  {
344  static const double sqrt3 = std::sqrt(3.0);
345  double r = 0.5 * (waferSize_ + waferSepar_);
346  double R = 2.0 * r / sqrt3;
347  double dy = 0.75 * R;
348  int N = (int)(0.5 * rout / r) + 2;
349  std::pair<double, double> xyoff = geomTools_.shiftXY(layercenter, (waferSize_ + waferSepar_));
350 #ifdef EDM_ML_DEBUG
351  int ium(0), ivm(0), iumAll(0), ivmAll(0), kount(0), ntot(0), nin(0);
352  std::vector<int> ntype(6, 0);
353  edm::LogVerbatim("HGCalGeom") << "DDHGCalEEAlgo: " << glog.ddname() << " rin:rout " << rin << ":" << rout << " zpos "
354  << zpos << " N " << N << " for maximum u, v; r " << r << " R " << R << " dy " << dy
355  << " Shift " << xyoff.first << ":" << xyoff.second << " WaferSize "
356  << (waferSize_ + waferSepar_);
357 #endif
358  for (int u = -N; u <= N; ++u) {
359  int iu = std::abs(u);
360  for (int v = -N; v <= N; ++v) {
361  int iv = std::abs(v);
362  int nr = 2 * v;
363  int nc = -2 * u + v;
364  double xpos = xyoff.first + nc * r;
365  double ypos = xyoff.second + nr * dy;
366  std::pair<int, int> corner = HGCalGeomTools::waferCorner(xpos, ypos, r, R, rin, rout, false);
367 #ifdef EDM_ML_DEBUG
368  ++ntot;
369  if (((corner.first <= 0) && std::abs(u) < 5 && std::abs(v) < 5) || (std::abs(u) < 2 && std::abs(v) < 2)) {
370  edm::LogVerbatim("HGCalGeom") << "DDHGCalEEAlgo: " << glog.ddname() << " R " << rin << ":" << rout << "\n Z "
371  << zpos << " LayerType " << layertype << " u " << u << " v " << v << " with "
372  << corner.first << " corners";
373  }
374 #endif
375  if (corner.first > 0) {
376  int type = waferType_->getType(xpos, ypos, zpos);
377  int copy = type * 1000000 + iv * 100 + iu;
378  if (u < 0)
379  copy += 10000;
380  if (v < 0)
381  copy += 100000;
382 #ifdef EDM_ML_DEBUG
383  if (iu > ium)
384  ium = iu;
385  if (iv > ivm)
386  ivm = iv;
387  kount++;
388  if (copies_.count(copy) == 0)
389  copies_.insert(copy);
390 #endif
391  if (corner.first == (int)(HGCalParameters::k_CornerSize)) {
392 #ifdef EDM_ML_DEBUG
393  if (iu > iumAll)
394  iumAll = iu;
395  if (iv > ivmAll)
396  ivmAll = iv;
397  ++nin;
398 #endif
399  DDTranslation tran(xpos, ypos, 0.0);
401  if (layertype > 1)
402  type += 3;
404  cpv.position(name, glog.ddname(), copy, tran, rotation);
405 #ifdef EDM_ML_DEBUG
406  ++ntype[type];
407  edm::LogVerbatim("HGCalGeom") << " DDHGCalEEAlgo: " << name << " number " << copy << " positioned in "
408  << glog.ddname() << " at " << tran << " with " << rotation;
409 #endif
410  }
411  }
412  }
413  }
414 #ifdef EDM_ML_DEBUG
415  edm::LogVerbatim("HGCalGeom") << "DDHGCalEEAlgo: Maximum # of u " << ium << ":" << iumAll << " # of v " << ivm << ":"
416  << ivmAll << " and " << nin << ":" << kount << ":" << ntot << " wafers (" << ntype[0]
417  << ":" << ntype[1] << ":" << ntype[2] << ":" << ntype[3] << ":" << ntype[4] << ":"
418  << ntype[5] << ") for " << glog.ddname() << " R " << rin << ":" << rout;
419 #endif
420 }

References funct::abs(), filterCSVwithJSON::copy, distTCMET_cfi::corner, DDBase< N, C >::ddname(), DDSplit(), PVValHelper::dy, dqmdumpme::first, createfilelist::int, HGCalParameters::k_CornerSize, N, Skims_PA_cff::name, nin, EgHLTOffHistBins_cfi::nr, DDCompactView::position(), dttmaxenums::R, alignCSCRings::r, idealTransformation::rotation, edm::second(), mathSSE::sqrt(), findQualityFiles::v, and HGCalGeomTools::waferCorner().

Member Data Documentation

◆ absorbMode_

int DDHGCalEEAlgo::absorbMode_
private

Definition at line 69 of file DDHGCalEEAlgo.cc.

◆ alpha_

double DDHGCalEEAlgo::alpha_
private

Definition at line 88 of file DDHGCalEEAlgo.cc.

◆ choiceType_

int DDHGCalEEAlgo::choiceType_
private

Definition at line 74 of file DDHGCalEEAlgo.cc.

◆ copies_

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

Definition at line 87 of file DDHGCalEEAlgo.cc.

◆ copyNumber_

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

Definition at line 62 of file DDHGCalEEAlgo.cc.

◆ cosAlpha_

double DDHGCalEEAlgo::cosAlpha_
private

Definition at line 88 of file DDHGCalEEAlgo.cc.

◆ firstLayer_

int DDHGCalEEAlgo::firstLayer_
private

Definition at line 68 of file DDHGCalEEAlgo.cc.

◆ fracAreaMin_

double DDHGCalEEAlgo::fracAreaMin_
private

Definition at line 76 of file DDHGCalEEAlgo.cc.

◆ geomTools_

HGCalGeomTools DDHGCalEEAlgo::geomTools_
private

Definition at line 55 of file DDHGCalEEAlgo.cc.

◆ layerCenter_

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

Definition at line 67 of file DDHGCalEEAlgo.cc.

◆ layers_

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

Definition at line 63 of file DDHGCalEEAlgo.cc.

◆ layerSense_

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

Definition at line 66 of file DDHGCalEEAlgo.cc.

◆ layerThick_

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

Definition at line 64 of file DDHGCalEEAlgo.cc.

◆ layerType_

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

Definition at line 65 of file DDHGCalEEAlgo.cc.

◆ materials_

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

Definition at line 59 of file DDHGCalEEAlgo.cc.

◆ names_

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

Definition at line 60 of file DDHGCalEEAlgo.cc.

◆ nameSpace_

std::string DDHGCalEEAlgo::nameSpace_
private

Definition at line 86 of file DDHGCalEEAlgo.cc.

◆ nCutRadPar_

int DDHGCalEEAlgo::nCutRadPar_
private

Definition at line 75 of file DDHGCalEEAlgo.cc.

◆ rad100to200_

std::vector<double> DDHGCalEEAlgo::rad100to200_
private

Definition at line 71 of file DDHGCalEEAlgo.cc.

◆ rad200to300_

std::vector<double> DDHGCalEEAlgo::rad200to300_
private

Definition at line 72 of file DDHGCalEEAlgo.cc.

◆ rMaxFront_

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

Definition at line 85 of file DDHGCalEEAlgo.cc.

◆ rMinFront_

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

Definition at line 82 of file DDHGCalEEAlgo.cc.

◆ sectors_

int DDHGCalEEAlgo::sectors_
private

Definition at line 79 of file DDHGCalEEAlgo.cc.

◆ slopeB_

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

Definition at line 80 of file DDHGCalEEAlgo.cc.

◆ slopeT_

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

Definition at line 83 of file DDHGCalEEAlgo.cc.

◆ thick_

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

Definition at line 61 of file DDHGCalEEAlgo.cc.

◆ wafers_

std::vector<std::string> DDHGCalEEAlgo::wafers_
private

Definition at line 58 of file DDHGCalEEAlgo.cc.

◆ waferSepar_

double DDHGCalEEAlgo::waferSepar_
private

Definition at line 78 of file DDHGCalEEAlgo.cc.

◆ waferSize_

double DDHGCalEEAlgo::waferSize_
private

Definition at line 77 of file DDHGCalEEAlgo.cc.

◆ waferType_

std::unique_ptr<HGCalWaferType> DDHGCalEEAlgo::waferType_
private

Definition at line 56 of file DDHGCalEEAlgo.cc.

◆ zFrontB_

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

Definition at line 81 of file DDHGCalEEAlgo.cc.

◆ zFrontT_

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

Definition at line 84 of file DDHGCalEEAlgo.cc.

◆ zMinBlock_

double DDHGCalEEAlgo::zMinBlock_
private

Definition at line 70 of file DDHGCalEEAlgo.cc.

◆ zMinRadPar_

double DDHGCalEEAlgo::zMinRadPar_
private

Definition at line 73 of file DDHGCalEEAlgo.cc.

HGCalGeomTools::waferCorner
static std::pair< int32_t, int32_t > waferCorner(double xpos, double ypos, double r, double R, double rMin, double rMax, bool oldBug=false)
Definition: HGCalGeomTools.cc:219
DDHGCalEEAlgo::layerThick_
std::vector< double > layerThick_
Definition: DDHGCalEEAlgo.cc:64
mps_fire.i
i
Definition: mps_fire.py:355
geometryCSVtoXML.zz
zz
Definition: geometryCSVtoXML.py:19
DDHGCalEEAlgo::slopeT_
std::vector< double > slopeT_
Definition: DDHGCalEEAlgo.cc:83
DDHGCalEEAlgo::layerCenter_
std::vector< int > layerCenter_
Definition: DDHGCalEEAlgo.cc:67
DDHGCalEEAlgo::waferSize_
double waferSize_
Definition: DDHGCalEEAlgo.cc:77
filterCSVwithJSON.copy
copy
Definition: filterCSVwithJSON.py:36
DDHGCalEEAlgo::alpha_
double alpha_
Definition: DDHGCalEEAlgo.cc:88
DDHGCalEEAlgo::rMinFront_
std::vector< double > rMinFront_
Definition: DDHGCalEEAlgo.cc:82
DDName
DDName is used to identify DDD entities uniquely.
Definition: DDName.h:15
DDHGCalEEAlgo::geomTools_
HGCalGeomTools geomTools_
Definition: DDHGCalEEAlgo.cc:55
DDHGCalEEAlgo::waferSepar_
double waferSepar_
Definition: DDHGCalEEAlgo.cc:78
angle_units::operators::convertRadToDeg
constexpr NumType convertRadToDeg(NumType radians)
Definition: angle_units.h:21
HGCalParameters::k_CornerSize
static constexpr uint32_t k_CornerSize
Definition: HGCalParameters.h:38
distTCMET_cfi.corner
corner
Definition: distTCMET_cfi.py:38
nin
int nin
Definition: CascadeWrapper.h:114
edm::second
U second(std::pair< T, U > const &p)
Definition: ParameterSet.cc:215
DDHGCalEEAlgo::layerType_
std::vector< int > layerType_
Definition: DDHGCalEEAlgo.cc:65
HGCalGeomTools::shiftXY
std::pair< double, double > shiftXY(int waferPosition, double waferSize) const
Definition: HGCalGeomTools.cc:166
DDHGCalEEAlgo::constructLayers
void constructLayers(const DDLogicalPart &, DDCompactView &cpv)
Definition: DDHGCalEEAlgo.cc:227
findQualityFiles.v
v
Definition: findQualityFiles.py:179
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
dqmdumpme.first
first
Definition: dqmdumpme.py:55
DDHGCalEEAlgo::positionSensitive
void positionSensitive(const DDLogicalPart &glog, double rin, double rout, double zpos, int layertype, int layercenter, DDCompactView &cpv)
Definition: DDHGCalEEAlgo.cc:337
DDHGCalEEAlgo::materials_
std::vector< std::string > materials_
Definition: DDHGCalEEAlgo.cc:59
DDHGCalEEAlgo::waferType_
std::unique_ptr< HGCalWaferType > waferType_
Definition: DDHGCalEEAlgo.cc:56
DDHGCalEEAlgo::layers_
std::vector< int > layers_
Definition: DDHGCalEEAlgo.cc:63
DDMaterial
DDMaterial is used to define and access material information.
Definition: DDMaterial.h:45
DDHGCalEEAlgo::rad200to300_
std::vector< double > rad200to300_
Definition: DDHGCalEEAlgo.cc:72
DDHGCalEEAlgo::thick_
std::vector< double > thick_
Definition: DDHGCalEEAlgo.cc:61
funct::cos
Cos< T >::type cos(const T &t)
Definition: Cos.h:22
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
DDHGCalEEAlgo::copyNumber_
std::vector< int > copyNumber_
Definition: DDHGCalEEAlgo.cc:62
DDTranslation
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
Definition: DDTranslation.h:7
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
DDBase::name
const N & name() const
Definition: DDBase.h:59
N
#define N
Definition: blowfish.cc:9
DDHGCalEEAlgo::layerSense_
std::vector< int > layerSense_
Definition: DDHGCalEEAlgo.cc:66
DDSolidFactory::tubs
static DDSolid tubs(const DDName &name, double zhalf, double rIn, double rOut, double startPhi, double deltaPhi)
Definition: DDSolid.cc:653
DDHGCalEEAlgo::cosAlpha_
double cosAlpha_
Definition: DDHGCalEEAlgo.cc:88
dqmdumpme.k
k
Definition: dqmdumpme.py:60
DDHGCalEEAlgo::fracAreaMin_
double fracAreaMin_
Definition: DDHGCalEEAlgo.cc:76
DDHGCalEEAlgo::zMinRadPar_
double zMinRadPar_
Definition: DDHGCalEEAlgo.cc:73
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::LogWarning
Definition: MessageLogger.h:141
DDHGCalEEAlgo::choiceType_
int choiceType_
Definition: DDHGCalEEAlgo.cc:74
idealTransformation.rotation
dictionary rotation
Definition: idealTransformation.py:1
edm::LogError
Definition: MessageLogger.h:183
EgHLTOffHistBins_cfi.nr
nr
Definition: EgHLTOffHistBins_cfi.py:4
DDBase::ddname
const N & ddname() const
Definition: DDBase.h:61
DDHGCalEEAlgo::sectors_
int sectors_
Definition: DDHGCalEEAlgo.cc:79
DDHGCalEEAlgo::nCutRadPar_
int nCutRadPar_
Definition: DDHGCalEEAlgo.cc:75
DDLogicalPart
A DDLogicalPart aggregates information concerning material, solid and sensitveness ....
Definition: DDLogicalPart.h:93
DDHGCalEEAlgo::rad100to200_
std::vector< double > rad100to200_
Definition: DDHGCalEEAlgo.cc:71
DDHGCalEEAlgo::nameSpace_
std::string nameSpace_
Definition: DDHGCalEEAlgo.cc:86
createfilelist.int
int
Definition: createfilelist.py:10
edm::LogVerbatim
Definition: MessageLogger.h:297
PVValHelper::dy
Definition: PVValidationHelpers.h:49
DDHGCalEEAlgo::zMinBlock_
double zMinBlock_
Definition: DDHGCalEEAlgo.cc:70
DDHGCalEEAlgo::rMaxFront_
std::vector< double > rMaxFront_
Definition: DDHGCalEEAlgo.cc:85
itr
std::vector< std::pair< float, float > >::iterator itr
Definition: HGCDigitizer.cc:28
module
Definition: vlib.h:198
alignCSCRings.r
r
Definition: alignCSCRings.py:93
DDHGCalEEAlgo::slopeB_
std::vector< double > slopeB_
Definition: DDHGCalEEAlgo.cc:80
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
type
type
Definition: HCALResponse.h:21
DDHGCalEEAlgo::firstLayer_
int firstLayer_
Definition: DDHGCalEEAlgo.cc:68
diffTwoXMLs.r1
r1
Definition: diffTwoXMLs.py:53
DDCurrentNamespace::ns
static std::string & ns()
Definition: DDCurrentNamespace.cc:3
DDHGCalEEAlgo::zFrontT_
std::vector< double > zFrontT_
Definition: DDHGCalEEAlgo.cc:84
makeMuonMisalignmentScenario.rot
rot
Definition: makeMuonMisalignmentScenario.py:322
DDHGCalEEAlgo::copies_
std::unordered_set< int > copies_
Definition: DDHGCalEEAlgo.cc:87
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
DDHGCalEEAlgo::wafers_
std::vector< std::string > wafers_
Definition: DDHGCalEEAlgo.cc:58
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
DDHGCalEEAlgo::zFrontB_
std::vector< double > zFrontB_
Definition: DDHGCalEEAlgo.cc:81
DDHGCalEEAlgo::absorbMode_
int absorbMode_
Definition: DDHGCalEEAlgo.cc:69
dttmaxenums::R
Definition: DTTMax.h:29
class-composition.parent
parent
Definition: class-composition.py:88
cuy.ii
ii
Definition: cuy.py:590
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:66
DDHGCalEEAlgo::names_
std::vector< std::string > names_
Definition: DDHGCalEEAlgo.cc:60