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 ( )

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 ( )
override

Definition at line 97 of file DDHGCalEEAlgo.cc.

97 {}

Member Function Documentation

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

Definition at line 227 of file DDHGCalEEAlgo.cc.

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.

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
253  DDName matName(DDSplit(materials_[ii]).first, DDSplit(materials_[ii]).second);
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  for (unsigned int isec = 0; isec < pgonZ.size(); ++isec) {
280  pgonZ[isec] -= zz;
281  pgonRout[isec] = pgonRout[isec] * cosAlpha_ - tol;
282  }
283  }
284  DDSolid solid =
285  DDSolidFactory::polyhedra(DDName(name, nameSpace_), sectors_, -alpha_, 2._pi, pgonZ, pgonRin, pgonRout);
286  glog = DDLogicalPart(solid.ddname(), matter, solid);
287 #ifdef EDM_ML_DEBUG
288  edm::LogVerbatim("HGCalGeom") << "DDHGCalEEAlgo: " << solid.name() << " polyhedra of " << sectors_
289  << " sectors covering " << convertRadToDeg(-alpha_) << ":"
290  << convertRadToDeg(-alpha_ + 2._pi) << " with " << pgonZ.size()
291  << " sections and filled with " << matName << ":" << &matter;
292  for (unsigned int k = 0; k < pgonZ.size(); ++k)
293  edm::LogVerbatim("HGCalGeom") << "[" << k << "] z " << pgonZ[k] << " R " << pgonRin[k] << ":" << pgonRout[k];
294 #endif
295  } else {
296  DDSolid solid = DDSolidFactory::tubs(DDName(name, nameSpace_), hthick, rinB, routF, 0.0, 2._pi);
297  glog = DDLogicalPart(solid.ddname(), matter, solid);
298 #ifdef EDM_ML_DEBUG
299  edm::LogVerbatim("HGCalGeom") << "DDHGCalEEAlgo: " << solid.name() << " Tubs made of " << matName << ":"
300  << &matter << " of dimensions " << rinB << ", " << routF << ", " << hthick
301  << ", 0.0, 360.0 and position " << glog.name() << " number " << copy << ":"
302  << layerCenter_[copy - 1];
303 #endif
304  positionSensitive(glog, rinB, routF, zz, layerSense_[ly], layerCenter_[copy - 1], cpv);
305  }
306  DDTranslation r1(0, 0, zz);
307  DDRotation rot;
308  cpv.position(glog, module, copy, r1, rot);
309  ++copyNumber_[ii];
310 #ifdef EDM_ML_DEBUG
311  edm::LogVerbatim("HGCalGeom") << "DDHGCalEEAlgo: " << glog.name() << " number " << copy << " positioned in "
312  << module.name() << " at " << r1 << " with " << rot;
313 #endif
314  zz += hthick;
315  } // End of loop over layers in a block
316  zi = zo;
317  laymin = laymax;
318  if (std::abs(thickTot - layerThick_[i]) < 0.00001) {
319  } else if (thickTot > layerThick_[i]) {
320  edm::LogError("HGCalGeom") << "Thickness of the partition " << layerThick_[i] << " is smaller than " << thickTot
321  << ": thickness of all its "
322  << "components **** ERROR ****";
323  } else if (thickTot < layerThick_[i]) {
324  edm::LogWarning("HGCalGeom") << "Thickness of the partition " << layerThick_[i] << " does not match with "
325  << thickTot << " of the components";
326  }
327  } // End of loop over blocks
328 }
std::vector< double > slopeB_
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)
const N & name() const
Definition: DDBase.h:59
std::vector< double > zFrontT_
std::vector< double > thick_
std::vector< double > layerThick_
DDMaterial is used to define and access material information.
Definition: DDMaterial.h:45
std::vector< int > copyNumber_
std::vector< double > zFrontB_
constexpr NumType convertRadToDeg(NumType radians)
Definition: angle_units.h:21
std::string nameSpace_
DDName is used to identify DDD entities uniquely.
Definition: DDName.h:15
std::vector< int > layerCenter_
std::vector< double > slopeT_
std::vector< int > layerSense_
A DDSolid represents the shape of a part.
Definition: DDSolid.h:39
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
Definition: DDTranslation.h:7
Represents a uniquely identifyable rotation matrix.
Definition: DDTransform.h:57
U second(std::pair< T, U > const &p)
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 > layerType_
static DDSolid tubs(const DDName &name, double zhalf, double rIn, double rOut, double startPhi, double deltaPhi)
Definition: DDSolid.cc:653
ii
Definition: cuy.py:590
std::vector< int > layers_
std::vector< std::string > names_
void position(const DDLogicalPart &self, const DDLogicalPart &parent, const std::string &copyno, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div=0)
std::vector< double > rMinFront_
void positionSensitive(const DDLogicalPart &glog, double rin, double rout, double zpos, int layertype, int layercenter, DDCompactView &cpv)
std::vector< std::string > materials_
std::vector< double > rMaxFront_
std::pair< std::string, std::string > DDSplit(const std::string &n)
split into (name,namespace), separator = &#39;:&#39;
Definition: DDSplit.cc:3
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
const N & ddname() const
Definition: DDBase.h:61
void DDHGCalEEAlgo::execute ( DDCompactView cpv)
override

Definition at line 210 of file DDHGCalEEAlgo.cc.

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

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 }
std::unordered_set< int > copies_
void constructLayers(const DDLogicalPart &, DDCompactView &cpv)
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.

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

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];
147  copyNumber_[ii] = firstLayer_;
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 }
std::vector< double > slopeB_
std::vector< double > zFrontT_
std::vector< double > thick_
std::vector< double > layerThick_
double fracAreaMin_
std::vector< int > copyNumber_
std::vector< double > zFrontB_
std::vector< std::string > wafers_
constexpr NumType convertRadToDeg(NumType radians)
Definition: angle_units.h:21
std::string nameSpace_
std::vector< int > layerCenter_
double waferSepar_
static std::string & ns()
std::vector< double > slopeT_
std::vector< int > layerSense_
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
double zMinRadPar_
Cos< T >::type cos(const T &t)
Definition: Cos.h:22
std::vector< int > layerType_
std::vector< double > rad100to200_
ii
Definition: cuy.py:590
std::unique_ptr< HGCalWaferType > waferType_
std::vector< int > layers_
std::vector< std::string > names_
std::vector< double > rMinFront_
std::vector< std::string > materials_
std::vector< double > rMaxFront_
std::vector< double > rad200to300_
void DDHGCalEEAlgo::positionSensitive ( const DDLogicalPart glog,
double  rin,
double  rout,
double  zpos,
int  layertype,
int  layercenter,
DDCompactView cpv 
)
protected

Definition at line 330 of file DDHGCalEEAlgo.cc.

References funct::abs(), filterCSVwithJSON::copy, distTCMET_cfi::corner, DDBase< N, C >::ddname(), DDSplit(), DEFINE_EDM_PLUGIN, 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().

336  {
337  static const double sqrt3 = std::sqrt(3.0);
338  double r = 0.5 * (waferSize_ + waferSepar_);
339  double R = 2.0 * r / sqrt3;
340  double dy = 0.75 * R;
341  int N = (int)(0.5 * rout / r) + 2;
342  std::pair<double, double> xyoff = geomTools_.shiftXY(layercenter, (waferSize_ + waferSepar_));
343 #ifdef EDM_ML_DEBUG
344  int ium(0), ivm(0), iumAll(0), ivmAll(0), kount(0), ntot(0), nin(0);
345  std::vector<int> ntype(6, 0);
346  edm::LogVerbatim("HGCalGeom") << "DDHGCalEEAlgo: " << glog.ddname() << " rin:rout " << rin << ":" << rout << " zpos "
347  << zpos << " N " << N << " for maximum u, v; r " << r << " R " << R << " dy " << dy
348  << " Shift " << xyoff.first << ":" << xyoff.second << " WaferSize "
349  << (waferSize_ + waferSepar_);
350 #endif
351  for (int u = -N; u <= N; ++u) {
352  int iu = std::abs(u);
353  for (int v = -N; v <= N; ++v) {
354  int iv = std::abs(v);
355  int nr = 2 * v;
356  int nc = -2 * u + v;
357  double xpos = xyoff.first + nc * r;
358  double ypos = xyoff.second + nr * dy;
359  std::pair<int, int> corner = HGCalGeomTools::waferCorner(xpos, ypos, r, R, rin, rout, false);
360 #ifdef EDM_ML_DEBUG
361  ++ntot;
362  if (((corner.first <= 0) && std::abs(u) < 5 && std::abs(v) < 5) || (std::abs(u) < 2 && std::abs(v) < 2)) {
363  edm::LogVerbatim("HGCalGeom") << "DDHGCalEEAlgo: " << glog.ddname() << " R " << rin << ":" << rout << "\n Z "
364  << zpos << " LayerType " << layertype << " u " << u << " v " << v << " with "
365  << corner.first << " corners";
366  }
367 #endif
368  if (corner.first > 0) {
369  int type = waferType_->getType(xpos, ypos, zpos);
370  int copy = type * 1000000 + iv * 100 + iu;
371  if (u < 0)
372  copy += 10000;
373  if (v < 0)
374  copy += 100000;
375 #ifdef EDM_ML_DEBUG
376  if (iu > ium)
377  ium = iu;
378  if (iv > ivm)
379  ivm = iv;
380  kount++;
381  if (copies_.count(copy) == 0)
382  copies_.insert(copy);
383 #endif
384  if (corner.first == (int)(HGCalParameters::k_CornerSize)) {
385 #ifdef EDM_ML_DEBUG
386  if (iu > iumAll)
387  iumAll = iu;
388  if (iv > ivmAll)
389  ivmAll = iv;
390  ++nin;
391 #endif
392  DDTranslation tran(xpos, ypos, 0.0);
394  if (layertype > 1)
395  type += 3;
397  cpv.position(name, glog.ddname(), copy, tran, rotation);
398 #ifdef EDM_ML_DEBUG
399  ++ntype[type];
400  edm::LogVerbatim("HGCalGeom") << " DDHGCalEEAlgo: " << name << " number " << copy << " positioned in "
401  << glog.ddname() << " at " << tran << " with " << rotation;
402 #endif
403  }
404  }
405  }
406  }
407 #ifdef EDM_ML_DEBUG
408  edm::LogVerbatim("HGCalGeom") << "DDHGCalEEAlgo: Maximum # of u " << ium << ":" << iumAll << " # of v " << ivm << ":"
409  << ivmAll << " and " << nin << ":" << kount << ":" << ntot << " wafers (" << ntype[0]
410  << ":" << ntype[1] << ":" << ntype[2] << ":" << ntype[3] << ":" << ntype[4] << ":"
411  << ntype[5] << ") for " << glog.ddname() << " R " << rin << ":" << rout;
412 #endif
413 }
type
Definition: HCALResponse.h:21
std::unordered_set< int > copies_
HGCalGeomTools geomTools_
std::vector< std::string > wafers_
DDName is used to identify DDD entities uniquely.
Definition: DDName.h:15
double waferSepar_
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
Definition: DDTranslation.h:7
int nin
Represents a uniquely identifyable rotation matrix.
Definition: DDTransform.h:57
U second(std::pair< T, U > const &p)
static std::pair< int32_t, int32_t > waferCorner(double xpos, double ypos, double r, double R, double rMin, double rMax, bool oldBug=false)
T sqrt(T t)
Definition: SSEVec.h:19
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
static uint32_t k_CornerSize
std::unique_ptr< HGCalWaferType > waferType_
#define N
Definition: blowfish.cc:9
void position(const DDLogicalPart &self, const DDLogicalPart &parent, const std::string &copyno, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div=0)
std::pair< std::string, std::string > DDSplit(const std::string &n)
split into (name,namespace), separator = &#39;:&#39;
Definition: DDSplit.cc:3
std::pair< double, double > shiftXY(int waferPosition, double waferSize)
const N & ddname() const
Definition: DDBase.h:61

Member Data Documentation

int DDHGCalEEAlgo::absorbMode_
private

Definition at line 69 of file DDHGCalEEAlgo.cc.

double DDHGCalEEAlgo::alpha_
private

Definition at line 88 of file DDHGCalEEAlgo.cc.

int DDHGCalEEAlgo::choiceType_
private

Definition at line 74 of file DDHGCalEEAlgo.cc.

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

Definition at line 87 of file DDHGCalEEAlgo.cc.

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

Definition at line 62 of file DDHGCalEEAlgo.cc.

double DDHGCalEEAlgo::cosAlpha_
private

Definition at line 88 of file DDHGCalEEAlgo.cc.

int DDHGCalEEAlgo::firstLayer_
private

Definition at line 68 of file DDHGCalEEAlgo.cc.

double DDHGCalEEAlgo::fracAreaMin_
private

Definition at line 76 of file DDHGCalEEAlgo.cc.

HGCalGeomTools DDHGCalEEAlgo::geomTools_
private

Definition at line 55 of file DDHGCalEEAlgo.cc.

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

Definition at line 67 of file DDHGCalEEAlgo.cc.

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

Definition at line 63 of file DDHGCalEEAlgo.cc.

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

Definition at line 66 of file DDHGCalEEAlgo.cc.

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

Definition at line 64 of file DDHGCalEEAlgo.cc.

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

Definition at line 65 of file DDHGCalEEAlgo.cc.

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

Definition at line 59 of file DDHGCalEEAlgo.cc.

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

Definition at line 60 of file DDHGCalEEAlgo.cc.

std::string DDHGCalEEAlgo::nameSpace_
private

Definition at line 86 of file DDHGCalEEAlgo.cc.

int DDHGCalEEAlgo::nCutRadPar_
private

Definition at line 75 of file DDHGCalEEAlgo.cc.

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

Definition at line 71 of file DDHGCalEEAlgo.cc.

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

Definition at line 72 of file DDHGCalEEAlgo.cc.

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

Definition at line 85 of file DDHGCalEEAlgo.cc.

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

Definition at line 82 of file DDHGCalEEAlgo.cc.

int DDHGCalEEAlgo::sectors_
private

Definition at line 79 of file DDHGCalEEAlgo.cc.

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

Definition at line 80 of file DDHGCalEEAlgo.cc.

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

Definition at line 83 of file DDHGCalEEAlgo.cc.

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

Definition at line 61 of file DDHGCalEEAlgo.cc.

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

Definition at line 58 of file DDHGCalEEAlgo.cc.

double DDHGCalEEAlgo::waferSepar_
private

Definition at line 78 of file DDHGCalEEAlgo.cc.

double DDHGCalEEAlgo::waferSize_
private

Definition at line 77 of file DDHGCalEEAlgo.cc.

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

Definition at line 56 of file DDHGCalEEAlgo.cc.

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

Definition at line 81 of file DDHGCalEEAlgo.cc.

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

Definition at line 84 of file DDHGCalEEAlgo.cc.

double DDHGCalEEAlgo::zMinBlock_
private

Definition at line 70 of file DDHGCalEEAlgo.cc.

double DDHGCalEEAlgo::zMinRadPar_
private

Definition at line 73 of file DDHGCalEEAlgo.cc.