CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DDHGCalEEFileAlgo.cc
Go to the documentation of this file.
1 // File: DDHGCalEEFileAlgo.cc
3 // Description: Geometry factory class for HGCal (EE and HESil) using
4 // information from the file for dd4hep
6 #include <cmath>
7 #include <memory>
8 #include <string>
9 #include <unordered_set>
10 #include <vector>
11 
18 #include "DD4hep/DetFactoryHelper.h"
23 
24 //#define EDM_ML_DEBUG
25 using namespace angle_units::operators;
26 
28  HGCalEEFileAlgo() { throw cms::Exception("HGCalGeom") << "Wrong initialization to HGCalEEFileAlgo"; }
30  cms::DDNamespace ns(ctxt, e, true);
31  cms::DDAlgoArguments args(ctxt, e);
32 
33 #ifdef EDM_ML_DEBUG
34  edm::LogVerbatim("HGCalGeom") << "DDHGCalEEFileAlgo: Creating an instance";
35 #endif
36  static constexpr double tol1 = 0.01 * dd4hep::mm;
37  static constexpr double tol2 = 0.00001 * dd4hep::mm;
38 
39  dd4hep::Volume mother = ns.volume(args.parentName());
40  wafers_ = args.value<std::vector<std::string>>("WaferNames");
41 #ifdef EDM_ML_DEBUG
42  edm::LogVerbatim("HGCalGeom") << "DDHGCalEEFileAlgo: " << wafers_.size() << " wafers";
43  for (unsigned int i = 0; i < wafers_.size(); ++i)
44  edm::LogVerbatim("HGCalGeom") << "Wafer[" << i << "] " << wafers_[i];
45 #endif
46  materials_ = args.value<std::vector<std::string>>("MaterialNames");
47  names_ = args.value<std::vector<std::string>>("VolumeNames");
48  thick_ = args.value<std::vector<double>>("Thickness");
49  copyNumber_.resize(materials_.size(), 1);
50 #ifdef EDM_ML_DEBUG
51  edm::LogVerbatim("HGCalGeom") << "DDHGCalEEFileAlgo: " << materials_.size() << " types of volumes";
52  for (unsigned int i = 0; i < names_.size(); ++i)
53  edm::LogVerbatim("HGCalGeom") << "Volume [" << i << "] " << names_[i] << " of thickness "
54  << cms::convert2mm(thick_[i]) << " filled with " << materials_[i]
55  << " first copy number " << copyNumber_[i];
56 #endif
57  layers_ = args.value<std::vector<int>>("Layers");
58  layerThick_ = args.value<std::vector<double>>("LayerThick");
59 #ifdef EDM_ML_DEBUG
60  edm::LogVerbatim("HGCalGeom") << "There are " << layers_.size() << " blocks";
61  for (unsigned int i = 0; i < layers_.size(); ++i)
62  edm::LogVerbatim("HGCalGeom") << "Block [" << i << "] of thickness " << cms::convert2mm(layerThick_[i])
63  << " with " << layers_[i] << " layers";
64 #endif
65  layerType_ = args.value<std::vector<int>>("LayerType");
66  layerSense_ = args.value<std::vector<int>>("LayerSense");
67  firstLayer_ = args.value<int>("FirstLayer");
68  absorbMode_ = args.value<int>("AbsorberMode");
69  sensitiveMode_ = args.value<int>("SensitiveMode");
70 #ifdef EDM_ML_DEBUG
71  edm::LogVerbatim("HGCalGeom") << "First Layer " << firstLayer_ << " and "
72  << "Absober:Sensitive mode " << absorbMode_ << ":" << sensitiveMode_;
73 #endif
74  layerCenter_ = args.value<std::vector<int>>("LayerCenter");
75 #ifdef EDM_ML_DEBUG
76  for (unsigned int i = 0; i < layerCenter_.size(); ++i)
77  edm::LogVerbatim("HGCalGeom") << "LayerCenter [" << i << "] " << layerCenter_[i];
78 #endif
79  if (firstLayer_ > 0) {
80  for (unsigned int i = 0; i < layerType_.size(); ++i) {
81  if (layerSense_[i] > 0) {
82  int ii = layerType_[i];
83  copyNumber_[ii] = firstLayer_;
84 #ifdef EDM_ML_DEBUG
85  edm::LogVerbatim("HGCalGeom") << "First copy number for layer type " << i << ":" << ii << " with "
86  << materials_[ii] << " changed to " << copyNumber_[ii];
87 #endif
88  break;
89  }
90  }
91  } else {
92  firstLayer_ = 1;
93  }
94 #ifdef EDM_ML_DEBUG
95  edm::LogVerbatim("HGCalGeom") << "There are " << layerType_.size() << " layers";
96  for (unsigned int i = 0; i < layerType_.size(); ++i)
97  edm::LogVerbatim("HGCalGeom") << "Layer [" << i << "] with material type " << layerType_[i] << " sensitive class "
98  << layerSense_[i];
99 #endif
100  zMinBlock_ = args.value<double>("zMinBlock");
101  waferSize_ = args.value<double>("waferSize");
102  waferSepar_ = args.value<double>("SensorSeparation");
103  sectors_ = args.value<int>("Sectors");
104  alpha_ = (1._pi) / sectors_;
105  cosAlpha_ = cos(alpha_);
106 #ifdef EDM_ML_DEBUG
107  edm::LogVerbatim("HGCalGeom") << "zStart " << cms::convert2mm(zMinBlock_) << " wafer width "
108  << cms::convert2mm(waferSize_) << " separations " << cms::convert2mm(waferSepar_)
109  << " sectors " << sectors_ << ":" << convertRadToDeg(alpha_) << ":" << cosAlpha_;
110 #endif
111  waferIndex_ = args.value<std::vector<int>>("WaferIndex");
112  waferProperty_ = args.value<std::vector<int>>("WaferProperties");
113 #ifdef EDM_ML_DEBUG
114  edm::LogVerbatim("HGCalGeom") << "waferProperties with " << waferIndex_.size() << " entries";
115  for (unsigned int k = 0; k < waferIndex_.size(); ++k)
116  edm::LogVerbatim("HGCalGeom") << "[" << k << "] " << waferIndex_[k] << " ("
117  << HGCalWaferIndex::waferLayer(waferIndex_[k]) << ", "
118  << HGCalWaferIndex::waferU(waferIndex_[k]) << ", "
119  << HGCalWaferIndex::waferV(waferIndex_[k]) << ") : ("
120  << HGCalProperty::waferThick(waferProperty_[k]) << ":"
121  << HGCalProperty::waferPartial(waferProperty_[k]) << ":"
122  << HGCalProperty::waferOrient(waferProperty_[k]) << ")";
123 #endif
124  slopeB_ = args.value<std::vector<double>>("SlopeBottom");
125  zFrontB_ = args.value<std::vector<double>>("ZFrontBottom");
126  rMinFront_ = args.value<std::vector<double>>("RMinFront");
127  slopeT_ = args.value<std::vector<double>>("SlopeTop");
128  zFrontT_ = args.value<std::vector<double>>("ZFrontTop");
129  rMaxFront_ = args.value<std::vector<double>>("RMaxFront");
130 #ifdef EDM_ML_DEBUG
131  for (unsigned int i = 0; i < slopeB_.size(); ++i)
132  edm::LogVerbatim("HGCalGeom") << "Bottom Block [" << i << "] Zmin " << cms::convert2mm(zFrontB_[i]) << " Rmin "
133  << cms::convert2mm(rMinFront_[i]) << " Slope " << slopeB_[i];
134  for (unsigned int i = 0; i < slopeT_.size(); ++i)
135  edm::LogVerbatim("HGCalGeom") << "Top Block [" << i << "] Zmin " << cms::convert2mm(zFrontT_[i]) << " Rmax "
136  << cms::convert2mm(rMaxFront_[i]) << " Slope " << slopeT_[i];
137  edm::LogVerbatim("HGCalGeom") << "DDHGCalEEFileAlgo: NameSpace " << ns.name();
138 #endif
139 
140 #ifdef EDM_ML_DEBUG
141  edm::LogVerbatim("HGCalGeom") << "==>> Constructing DDHGCalEEFileAlgo...";
142  copies_.clear();
143 #endif
144 
145  double zi(zMinBlock_);
146  int laymin(0);
147  for (unsigned int i = 0; i < layers_.size(); ++i) {
148  double zo = zi + layerThick_[i];
149  double routF = HGCalGeomTools::radius(zi, zFrontT_, rMaxFront_, slopeT_);
150  int laymax = laymin + layers_[i];
151  double zz = zi;
152  double thickTot(0);
153  for (int ly = laymin; ly < laymax; ++ly) {
154  int ii = layerType_[ly];
155  int copy = copyNumber_[ii];
156  double hthick = 0.5 * thick_[ii];
157  double rinB = HGCalGeomTools::radius(zo - tol1, zFrontB_, rMinFront_, slopeB_);
158  zz += hthick;
159  thickTot += thick_[ii];
160 
161  std::string name = names_[ii] + std::to_string(copy);
162 #ifdef EDM_ML_DEBUG
163  edm::LogVerbatim("HGCalGeom") << "DDHGCalEEFileAlgo: Layer " << ly << ":" << ii << " Front "
164  << cms::convert2mm(zi) << ", " << cms::convert2mm(routF) << " Back "
165  << cms::convert2mm(zo) << ", " << cms::convert2mm(rinB)
166  << " superlayer thickness " << cms::convert2mm(layerThick_[i]);
167 #endif
168 
169  dd4hep::Material matter = ns.material(materials_[ii]);
170  dd4hep::Volume glog;
171 
172  if (layerSense_[ly] < 1) {
173  std::vector<double> pgonZ, pgonRin, pgonRout;
174  double rmax = routF * cosAlpha_ - tol1;
175  HGCalGeomTools::radius(zz - hthick,
176  zz + hthick,
177  zFrontB_,
178  rMinFront_,
179  slopeB_,
180  zFrontT_,
181  rMaxFront_,
182  slopeT_,
183  -layerSense_[ly],
184  pgonZ,
185  pgonRin,
186  pgonRout);
187  for (unsigned int isec = 0; isec < pgonZ.size(); ++isec) {
188  pgonZ[isec] -= zz;
189  if (layerSense_[ly] == 0 || absorbMode_ == 0)
190  pgonRout[isec] = rmax;
191  else
192  pgonRout[isec] = pgonRout[isec] * cosAlpha_ - tol1;
193  }
194  dd4hep::Solid solid = dd4hep::Polyhedra(sectors_, -alpha_, 2._pi, pgonZ, pgonRin, pgonRout);
195  ns.addSolidNS(ns.prepend(name), solid);
196  glog = dd4hep::Volume(solid.name(), solid, matter);
197  ns.addVolumeNS(glog);
198 #ifdef EDM_ML_DEBUG
199  edm::LogVerbatim("HGCalGeom") << "DDHGCalEEFileAlgo: " << solid.name() << " polyhedra of " << sectors_
200  << " sectors covering " << convertRadToDeg(-alpha_) << ":"
201  << convertRadToDeg(-alpha_ + 2._pi) << " with " << pgonZ.size()
202  << " sections and filled with " << matter.name();
203  for (unsigned int k = 0; k < pgonZ.size(); ++k)
204  edm::LogVerbatim("HGCalGeom") << "[" << k << "] z " << cms::convert2mm(pgonZ[k]) << " R "
205  << cms::convert2mm(pgonRin[k]) << ":" << cms::convert2mm(pgonRout[k]);
206 #endif
207  } else {
208  double rins =
209  (sensitiveMode_ < 1) ? rinB : HGCalGeomTools::radius(zz + hthick - tol1, zFrontB_, rMinFront_, slopeB_);
210  double routs =
211  (sensitiveMode_ < 1) ? routF : HGCalGeomTools::radius(zz - hthick, zFrontT_, rMaxFront_, slopeT_);
212  dd4hep::Solid solid = dd4hep::Tube(rins, routs, hthick, 0.0, 2._pi);
213  ns.addSolidNS(ns.prepend(name), solid);
214  glog = dd4hep::Volume(solid.name(), solid, matter);
215  ns.addVolumeNS(glog);
216 
217 #ifdef EDM_ML_DEBUG
218  edm::LogVerbatim("HGCalGeom") << "DDHGCalEEFileAlgo: " << solid.name() << " Tubs made of " << matter.name()
219  << " of dimensions " << cms::convert2mm(rinB) << ":" << cms::convert2mm(rins)
220  << ", " << cms::convert2mm(routF) << ":" << cms::convert2mm(routs) << ", "
221  << cms::convert2mm(hthick) << ", 0.0, 360.0 and position " << glog.name()
222  << " number " << copy << ":" << layerCenter_[copy - firstLayer_];
223 #endif
224  positionSensitive(ctxt, e, glog, rins, routs, zz, layerSense_[ly], (copy - firstLayer_));
225  }
226 
227  dd4hep::Position r1(0, 0, zz);
228  mother.placeVolume(glog, copy, r1);
229  ++copyNumber_[ii];
230 #ifdef EDM_ML_DEBUG
231  edm::LogVerbatim("HGCalGeom") << "DDHGCalEEFileAlgo: " << glog.name() << " number " << copy << " positioned in "
232  << mother.name() << " at (0,0," << cms::convert2mm(zz) << ") with no rotation";
233 #endif
234  zz += hthick;
235  } // End of loop over layers in a block
236  zi = zo;
237  laymin = laymax;
238  // Make consistency check of all the partitions of the block
239  if (std::abs(thickTot - layerThick_[i]) >= tol2) {
240  if (thickTot > layerThick_[i]) {
241  edm::LogError("HGCalGeom") << "Thickness of the partition " << cms::convert2mm(layerThick_[i])
242  << " is smaller than " << cms::convert2mm(thickTot)
243  << ": thickness of all its components **** ERROR ****";
244  } else {
245  edm::LogWarning("HGCalGeom") << "Thickness of the partition " << cms::convert2mm(layerThick_[i])
246  << " does not match with " << cms::convert2mm(thickTot) << " of the components";
247  }
248  }
249  } // End of loop over blocks
250 
251 #ifdef EDM_ML_DEBUG
252  edm::LogVerbatim("HGCalGeom") << "DDHGCalEEFileAlgo: " << copies_.size() << " different wafer copy numbers";
253  int k(0);
254  for (std::unordered_set<int>::const_iterator itr = copies_.begin(); itr != copies_.end(); ++itr, ++k) {
255  edm::LogVerbatim("HGCalGeom") << "Copy [" << k << "] : " << (*itr);
256  }
257  copies_.clear();
258  edm::LogVerbatim("HGCalGeom") << "<<== End of DDHGCalEEFileAlgo construction...";
259 #endif
260  }
261 
263  xml_h e,
264  const dd4hep::Volume& glog,
265  double rin,
266  double rout,
267  double zpos,
268  int layertype,
269  int layer) {
270  cms::DDNamespace ns(ctxt, e, true);
271  static const double sqrt3 = std::sqrt(3.0);
272  int layercenter = layerCenter_[layer];
273  double r = 0.5 * (waferSize_ + waferSepar_);
274  double R = 2.0 * r / sqrt3;
275  double dy = 0.75 * R;
276  int N = (int)(0.5 * rout / r) + 2;
277  const auto& xyoff = geomTools_.shiftXY(layercenter, (waferSize_ + waferSepar_));
278 #ifdef EDM_ML_DEBUG
279  int ium(0), ivm(0), iumAll(0), ivmAll(0), kount(0), ntot(0), nin(0);
280  std::vector<int> ntype(6, 0);
281  edm::LogVerbatim("HGCalGeom") << "DDHGCalEEFileAlgo: " << glog.name() << " rin:rout " << cms::convert2mm(rin) << ":"
282  << cms::convert2mm(rout) << " zpos " << cms::convert2mm(zpos) << " N " << N
283  << " for maximum u, v; r " << cms::convert2mm(r) << " R " << cms::convert2mm(R)
284  << " dy " << cms::convert2mm(dy) << " Shift " << cms::convert2mm(xyoff.first) << ":"
285  << cms::convert2mm(xyoff.second) << " WaferSize "
286  << cms::convert2mm((waferSize_ + waferSepar_));
287 #endif
288  for (int u = -N; u <= N; ++u) {
289  for (int v = -N; v <= N; ++v) {
290 #ifdef EDM_ML_DEBUG
291  int iu = std::abs(u);
292  int iv = std::abs(v);
293 #endif
294  int nr = 2 * v;
295  int nc = -2 * u + v;
296  double xpos = xyoff.first + nc * r;
297  double ypos = xyoff.second + nr * dy;
298  const auto& corner = HGCalGeomTools::waferCorner(xpos, ypos, r, R, rin, rout, false);
299 #ifdef EDM_ML_DEBUG
300  ++ntot;
301  if (((corner.first <= 0) && std::abs(u) < 5 && std::abs(v) < 5) || (std::abs(u) < 2 && std::abs(v) < 2)) {
302  edm::LogVerbatim("HGCalGeom") << "DDHGCalEEFileAlgo: " << glog.name() << " R " << cms::convert2mm(rin) << ":"
303  << cms::convert2mm(rout) << "\n Z " << cms::convert2mm(zpos) << " LayerType "
304  << layertype << " u " << u << " v " << v << " with " << corner.first
305  << " corners";
306  }
307 #endif
308  int indx = HGCalWaferIndex::waferIndex((layer + firstLayer_), u, v, false);
309  int type = HGCalWaferType::getType(indx, waferIndex_, waferProperty_);
310  if (corner.first > 0 && type >= 0) {
311  int copy = HGCalTypes::packTypeUV(type, u, v);
312 #ifdef EDM_ML_DEBUG
313  edm::LogVerbatim("HGCalGeom") << " DDHGCalEEFileAlgo: " << wafers_[type] << " number " << copy << " type "
314  << type << " layer:u:v:indx " << (layer + firstLayer_) << ":" << u << ":" << v
315  << ":" << indx;
316  if (iu > ium)
317  ium = iu;
318  if (iv > ivm)
319  ivm = iv;
320  kount++;
321  if (copies_.count(copy) == 0)
322  copies_.insert(copy);
323 #endif
324  if (corner.first == (int)(HGCalParameters::k_CornerSize)) {
325 #ifdef EDM_ML_DEBUG
326  if (iu > iumAll)
327  iumAll = iu;
328  if (iv > ivmAll)
329  ivmAll = iv;
330  ++nin;
331 #endif
332  dd4hep::Position tran(xpos, ypos, 0.0);
333  if (layertype > 1)
334  type += 3;
335  glog.placeVolume(ns.volume(wafers_[type]), copy, tran);
336 #ifdef EDM_ML_DEBUG
337  ++ntype[type];
338  edm::LogVerbatim("HGCalGeom")
339  << " DDHGCalEEFileAlgo: " << wafers_[type] << " number " << copy << " type " << layertype << ":" << type
340  << " positioned in " << glog.name() << " at (" << cms::convert2mm(xpos) << ", " << cms::convert2mm(ypos)
341  << ", 0) with no rotation";
342 #endif
343  }
344  }
345  }
346  }
347 
348 #ifdef EDM_ML_DEBUG
349  edm::LogVerbatim("HGCalGeom") << "DDHGCalEEFileAlgo: Maximum # of u " << ium << ":" << iumAll << " # of v " << ivm
350  << ":" << ivmAll << " and " << nin << ":" << kount << ":" << ntot << " wafers ("
351  << ntype[0] << ":" << ntype[1] << ":" << ntype[2] << ":" << ntype[3] << ":"
352  << ntype[4] << ":" << ntype[5] << ") for " << glog.name() << " R "
353  << cms::convert2mm(rin) << ":" << cms::convert2mm(rout);
354 #endif
355  }
356 
357  //Required data members to cache the values from XML file
359 
360  std::vector<std::string> wafers_; // Wafers
361  std::vector<std::string> materials_; // Materials
362  std::vector<std::string> names_; // Names
363  std::vector<double> thick_; // Thickness of the material
364  std::vector<int> copyNumber_; // Initial copy numbers
365  std::vector<int> layers_; // Number of layers in a section
366  std::vector<double> layerThick_; // Thickness of each section
367  std::vector<int> layerType_; // Type of the layer
368  std::vector<int> layerSense_; // Content of a layer (sensitive?)
369  std::vector<int> layerCenter_; // Centering of the wafers
370  int firstLayer_; // Copy # of the first sensitive layer
371  int absorbMode_; // Absorber mode
372  int sensitiveMode_; // Sensitive mode
373  double zMinBlock_; // Starting z-value of the block
374  std::vector<int> waferIndex_; // Wafer index for the types
375  std::vector<int> waferProperty_; // Wafer property
376  double waferSize_; // Width of the wafer
377  double waferSepar_; // Sensor separation
378  int sectors_; // Sectors
379  std::vector<double> slopeB_; // Slope at the lower R
380  std::vector<double> zFrontB_; // Starting Z values for the slopes
381  std::vector<double> rMinFront_; // Corresponding rMin's
382  std::vector<double> slopeT_; // Slopes at the larger R
383  std::vector<double> zFrontT_; // Starting Z values for the slopes
384  std::vector<double> rMaxFront_; // Corresponding rMax's
385  std::unordered_set<int> copies_; // List of copy #'s
386  double alpha_, cosAlpha_;
387 };
388 
389 static long algorithm(dd4hep::Detector& /* description */, cms::DDParsingContext& ctxt, xml_h e) {
390  HGCalEEFileAlgo eealgo(ctxt, e);
391  return cms::s_executed;
392 }
393 
394 DECLARE_DDCMS_DETELEMENT(DDCMS_hgcal_DDHGCalEEFileAlgo, algorithm)
dd4hep::Solid addSolidNS(const std::string &name, dd4hep::Solid solid) const
Definition: DDNamespace.cc:292
Log< level::Info, true > LogVerbatim
dd4hep::Volume volume(const std::string &name, bool exc=true) const
Definition: DDNamespace.cc:276
HGCalGeomTools geomTools_
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)
int32_t *__restrict__ iv
void positionSensitive(cms::DDParsingContext &ctxt, xml_h e, const dd4hep::Volume &glog, double rin, double rout, double zpos, int layertype, int layer)
int32_t waferU(const int32_t index)
std::vector< double > thick_
std::vector< double > layerThick_
int32_t waferLayer(const int32_t index)
constexpr NumType convertRadToDeg(NumType radians)
Definition: angle_units.h:21
constexpr NumType convert2mm(NumType length)
Definition: DDutils.h:7
dd4hep::Volume addVolumeNS(dd4hep::Volume vol) const
Definition: DDNamespace.cc:202
std::vector< std::string > names_
T value(const std::string &name) const
Log< level::Error, false > LogError
int ii
Definition: cuy.py:589
std::vector< int > waferProperty_
int32_t waferOrient(const int32_t property)
static constexpr uint32_t k_CornerSize
constexpr std::array< uint8_t, layerIndexSize > layer
int nin
std::string_view name() const
Definition: DDNamespace.h:79
#define DECLARE_DDCMS_DETELEMENT(name, func)
Definition: DDPlugins.h:25
static std::pair< int32_t, int32_t > waferCorner(double xpos, double ypos, double r, double R, double rMin, double rMax, bool oldBug=false)
int getType(double xpos, double ypos, double zpos)
std::vector< double > slopeT_
std::vector< int > layerCenter_
std::vector< int > layerSense_
std::unordered_set< int > copies_
static constexpr long s_executed
T sqrt(T t)
Definition: SSEVec.h:19
Cos< T >::type cos(const T &t)
Definition: Cos.h:22
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
dd4hep::Material material(const std::string &name) const
Definition: DDNamespace.cc:166
int32_t waferThick(const int32_t property)
Definition: HGCalProperty.cc:9
std::string prepend(const std::string &) const
Definition: DDNamespace.cc:99
int32_t waferIndex(int32_t layer, int32_t waferU, int32_t waferV, bool old=false)
dd4hep::Volume Volume
std::vector< int > copyNumber_
HGCalEEFileAlgo(cms::DDParsingContext &ctxt, xml_h e)
#define N
Definition: blowfish.cc:9
std::vector< double > slopeB_
int32_t waferPartial(const int32_t property)
std::vector< double > zFrontT_
std::vector< int > layerType_
std::vector< int > waferIndex_
std::vector< double > rMinFront_
int32_t waferV(const int32_t index)
static int32_t packTypeUV(int type, int u, int v)
Definition: HGCalTypes.cc:3
std::vector< double > rMaxFront_
Log< level::Warning, false > LogWarning
std::vector< double > zFrontB_
std::vector< std::string > materials_
std::vector< int > layers_
__shared__ uint32_t ntot
std::vector< std::string > wafers_
std::string parentName() const
Access value of rParent child node.