CMS 3D CMS Logo

DDHGCalModule.cc
Go to the documentation of this file.
1 // File: DDHGCalModule.cc
3 // Description: Geometry factory class for HGCal (EE and HESil)
5 
6 #include <algorithm>
7 #include <cmath>
8 #include <map>
9 #include <string>
10 #include <unordered_set>
11 #include <vector>
12 
27 
28 //#define EDM_ML_DEBUG
29 using namespace geant_units::operators;
30 
31 class DDHGCalModule : public DDAlgorithm {
32 public:
33  // Constructor and Destructor
34  DDHGCalModule(); // const std::string & name);
35  ~DDHGCalModule() override;
36 
37  void initialize(const DDNumericArguments& nArgs,
38  const DDVectorArguments& vArgs,
39  const DDMapArguments& mArgs,
40  const DDStringArguments& sArgs,
41  const DDStringVectorArguments& vsArgs) override;
42  void execute(DDCompactView& cpv) override;
43 
44 protected:
45  void constructLayers(const DDLogicalPart&, DDCompactView& cpv);
46  double rMax(double z);
47  void positionSensitive(DDLogicalPart& glog, double rin, double rout, DDCompactView& cpv);
48 
49 private:
50  std::vector<std::string> wafer; // Wafers
51  std::vector<std::string> materials; // Materials
52  std::vector<std::string> names; // Names
53  std::vector<double> thick; // Thickness of the material
54  std::vector<int> copyNumber; // Initial copy numbers
55  std::vector<int> layers; // Number of layers in a section
56  std::vector<double> layerThick; // Thickness of each section
57  std::vector<int> layerType; // Type of the layer
58  std::vector<int> layerSense; // COntent of a layer (sensitive?)
59  double zMinBlock; // Starting z-value of the block
60  double rMaxFine; // Maximum r-value for fine wafer
61  double waferW; // Width of the wafer
62  int sectors; // Sectors
63  std::vector<double> slopeB; // Slope at the lower R
64  std::vector<double> slopeT; // Slopes at the larger R
65  std::vector<double> zFront; // Starting Z values for the slopes
66  std::vector<double> rMaxFront; // Corresponding rMax's
67  std::string idName; // Name of the "parent" volume.
68  std::string idNameSpace; // Namespace of this and ALL sub-parts
69  std::unordered_set<int> copies; // List of copy #'s
70 };
71 
73 #ifdef EDM_ML_DEBUG
74  edm::LogVerbatim("HGCalGeom") << "DDHGCalModule: Creating an instance";
75 #endif
76 }
77 
79 
81  const DDVectorArguments& vArgs,
82  const DDMapArguments&,
83  const DDStringArguments& sArgs,
84  const DDStringVectorArguments& vsArgs) {
85  wafer = vsArgs["WaferName"];
86 #ifdef EDM_ML_DEBUG
87  edm::LogVerbatim("HGCalGeom") << "DDHGCalModule: " << wafer.size() << " wafers";
88  for (unsigned int i = 0; i < wafer.size(); ++i)
89  edm::LogVerbatim("HGCalGeom") << "Wafer[" << i << "] " << wafer[i];
90 #endif
91  materials = vsArgs["MaterialNames"];
92  names = vsArgs["VolumeNames"];
93  thick = vArgs["Thickness"];
94  for (unsigned int i = 0; i < materials.size(); ++i) {
95  copyNumber.emplace_back(1);
96  }
97 #ifdef EDM_ML_DEBUG
98  edm::LogVerbatim("HGCalGeom") << "DDHGCalModule: " << materials.size() << " types of volumes";
99  for (unsigned int i = 0; i < names.size(); ++i)
100  edm::LogVerbatim("HGCalGeom") << "Volume [" << i << "] " << names[i] << " of thickness " << thick[i]
101  << " filled with " << materials[i] << " first copy number " << copyNumber[i];
102 #endif
103  layers = dbl_to_int(vArgs["Layers"]);
104  layerThick = vArgs["LayerThick"];
105 #ifdef EDM_ML_DEBUG
106  edm::LogVerbatim("HGCalGeom") << "DDHGCalModule: " << layers.size() << " blocks";
107  for (unsigned int i = 0; i < layers.size(); ++i)
108  edm::LogVerbatim("HGCalGeom") << "Block [" << i << "] of thickness " << layerThick[i] << " with " << layers[i]
109  << " layers";
110 #endif
111  layerType = dbl_to_int(vArgs["LayerType"]);
112  layerSense = dbl_to_int(vArgs["LayerSense"]);
113 #ifdef EDM_ML_DEBUG
114  edm::LogVerbatim("HGCalGeom") << "DDHGCalModule: " << layerType.size() << " layers";
115  for (unsigned int i = 0; i < layerType.size(); ++i)
116  edm::LogVerbatim("HGCalGeom") << "Layer [" << i << "] with material type " << layerType[i] << " sensitive class "
117  << layerSense[i];
118 #endif
119  zMinBlock = nArgs["zMinBlock"];
120  rMaxFine = nArgs["rMaxFine"];
121  waferW = nArgs["waferW"];
122  sectors = (int)(nArgs["Sectors"]);
123 #ifdef EDM_ML_DEBUG
124  edm::LogVerbatim("HGCalGeom") << "DDHGCalModule: zStart " << zMinBlock << " rFineCoarse " << rMaxFine
125  << " wafer width " << waferW << " sectors " << sectors;
126 #endif
127  slopeB = vArgs["SlopeBottom"];
128  slopeT = vArgs["SlopeTop"];
129  zFront = vArgs["ZFront"];
130  rMaxFront = vArgs["RMaxFront"];
131 #ifdef EDM_ML_DEBUG
132  edm::LogVerbatim("HGCalGeom") << "DDHGCalModule: Bottom slopes " << slopeB[0] << ":" << slopeB[1] << " and "
133  << slopeT.size() << " slopes for top";
134  for (unsigned int i = 0; i < slopeT.size(); ++i)
135  edm::LogVerbatim("HGCalGeom") << "Block [" << i << "] Zmin " << zFront[i] << " Rmax " << rMaxFront[i] << " Slope "
136  << slopeT[i];
137 #endif
138  idNameSpace = DDCurrentNamespace::ns();
139 #ifdef EDM_ML_DEBUG
140  edm::LogVerbatim("HGCalGeom") << "DDHGCalModule: NameSpace " << idNameSpace;
141 #endif
142 }
143 
145 // DDHGCalModule methods...
147 
149 #ifdef EDM_ML_DEBUG
150  edm::LogVerbatim("HGCalGeom") << "==>> Constructing DDHGCalModule...";
151 #endif
152  copies.clear();
153  constructLayers(parent(), cpv);
154 #ifdef EDM_ML_DEBUG
155  edm::LogVerbatim("HGCalGeom") << copies.size() << " different wafer copy numbers";
156  int k(0);
157  for (std::unordered_set<int>::const_iterator itr = copies.begin(); itr != copies.end(); ++itr, ++k)
158  edm::LogVerbatim("HGCalGeom") << "Copy[" << k << "] : " << (*itr);
159 #endif
160  copies.clear();
161 #ifdef EDM_ML_DEBUG
162  edm::LogVerbatim("HGCalGeom") << "<<== End of DDHGCalModule construction ...";
163 #endif
164 }
165 
167 #ifdef EDM_ML_DEBUG
168  edm::LogVerbatim("HGCalGeom") << "DDHGCalModule: \t\tInside Layers";
169 #endif
170  double zi(zMinBlock);
171  int laymin(0);
172  const double tol(0.01);
173  for (unsigned int i = 0; i < layers.size(); i++) {
174  double zo = zi + layerThick[i];
175  double routF = rMax(zi);
176  int laymax = laymin + layers[i];
177  double zz = zi;
178  double thickTot(0);
179  for (int ly = laymin; ly < laymax; ++ly) {
180  int ii = layerType[ly];
181  int copy = copyNumber[ii];
182  double rinB = (layerSense[ly] == 0) ? (zo * slopeB[0]) : (zo * slopeB[1]);
183  zz += (0.5 * thick[ii]);
184  thickTot += thick[ii];
185 
186  std::string name = "HGCal" + names[ii] + std::to_string(copy);
187 #ifdef EDM_ML_DEBUG
188  edm::LogVerbatim("HGCalGeom") << "DDHGCalModule: Layer " << ly << ":" << ii << " Front " << zi << ", " << routF
189  << " Back " << zo << ", " << rinB << " superlayer thickness " << layerThick[i];
190 #endif
191  DDName matName(DDSplit(materials[ii]).first, DDSplit(materials[ii]).second);
192  DDMaterial matter(matName);
193  DDLogicalPart glog;
194  if (layerSense[ly] == 0) {
196  double rmax = routF * cos(alpha) - tol;
197  std::vector<double> pgonZ, pgonRin, pgonRout;
198  pgonZ.emplace_back(-0.5 * thick[ii]);
199  pgonZ.emplace_back(0.5 * thick[ii]);
200  pgonRin.emplace_back(rinB);
201  pgonRin.emplace_back(rinB);
202  pgonRout.emplace_back(rmax);
203  pgonRout.emplace_back(rmax);
205  DDName(name, idNameSpace), sectors, -alpha, 2 * geant_units::piRadians, pgonZ, pgonRin, pgonRout);
206  glog = DDLogicalPart(solid.ddname(), matter, solid);
207 #ifdef EDM_ML_DEBUG
208  edm::LogVerbatim("HGCalGeom") << "DDHGCalModule: " << solid.name() << " polyhedra of " << sectors
209  << " sectors covering " << convertRadToDeg(-alpha) << ":"
210  << (360.0 + convertRadToDeg(-alpha)) << " with " << pgonZ.size() << " sections";
211  for (unsigned int k = 0; k < pgonZ.size(); ++k)
212  edm::LogVerbatim("HGCalGeom") << "[" << k << "] z " << pgonZ[k] << " R " << pgonRin[k] << ":" << pgonRout[k];
213 #endif
214  } else {
216  DDName(name, idNameSpace), 0.5 * thick[ii], rinB, routF, 0.0, 2 * geant_units::piRadians);
217  glog = DDLogicalPart(solid.ddname(), matter, solid);
218 #ifdef EDM_ML_DEBUG
219  edm::LogVerbatim("HGCalGeom") << "DDHGCalModule: " << solid.name() << " Tubs made of " << matName
220  << " of dimensions " << rinB << ", " << routF << ", " << 0.5 * thick[ii]
221  << ", 0.0, 360.0";
222  edm::LogVerbatim("HGCalGeom") << "DDHGCalModule test position in: " << glog.name() << " number " << copy;
223 #endif
224  positionSensitive(glog, rinB, routF, cpv);
225  }
226  DDTranslation r1(0, 0, zz);
227  DDRotation rot;
228  cpv.position(glog, module, copy, r1, rot);
229  ++copyNumber[ii];
230 #ifdef EDM_ML_DEBUG
231  edm::LogVerbatim("HGCalGeom") << "DDHGCalModule: " << glog.name() << " number " << copy << " positioned in "
232  << module.name() << " at " << r1 << " with " << rot;
233 #endif
234  zz += (0.5 * thick[ii]);
235  } // End of loop over layers in a block
236  zi = zo;
237  laymin = laymax;
238  if (fabs(thickTot - layerThick[i]) < 0.00001) {
239  } else if (thickTot > layerThick[i]) {
240  edm::LogError("HGCalGeom") << "Thickness of the partition " << layerThick[i] << " is smaller than thickness "
241  << thickTot << " of all its components **** ERROR ****\n";
242  } else if (thickTot < layerThick[i]) {
243  edm::LogWarning("HGCalGeom") << "Thickness of the partition " << layerThick[i] << " does not match with "
244  << thickTot << " of the components\n";
245  }
246  } // End of loop over blocks
247 }
248 
249 double DDHGCalModule::rMax(double z) {
250  double r(0);
251 #ifdef EDM_ML_DEBUG
252  unsigned int ik(0);
253 #endif
254  for (unsigned int k = 0; k < slopeT.size(); ++k) {
255  if (z < zFront[k])
256  break;
257  r = rMaxFront[k] + (z - zFront[k]) * slopeT[k];
258 #ifdef EDM_ML_DEBUG
259  ik = k;
260 #endif
261  }
262 #ifdef EDM_ML_DEBUG
263  edm::LogVerbatim("HGCalGeom") << "rMax : " << z << ":" << ik << ":" << r;
264 #endif
265  return r;
266 }
267 
268 void DDHGCalModule::positionSensitive(DDLogicalPart& glog, double rin, double rout, DDCompactView& cpv) {
269  double dx = 0.5 * waferW;
270  double dy = 3.0 * dx * tan(30._deg);
271  double rr = 2.0 * dx * tan(30._deg);
272  int ncol = (int)(2.0 * rout / waferW) + 1;
273  int nrow = (int)(rout / (waferW * tan(30._deg))) + 1;
274  int incm(0), inrm(0), kount(0), ntot(0), nin(0), nfine(0), ncoarse(0);
275 #ifdef EDM_ML_DEBUG
276  edm::LogVerbatim("HGCalGeom") << glog.ddname() << " rout " << rout << " Row " << nrow << " Column " << ncol;
277 #endif
278  for (int nr = -nrow; nr <= nrow; ++nr) {
279  int inr = (nr >= 0) ? nr : -nr;
280  for (int nc = -ncol; nc <= ncol; ++nc) {
281  int inc = (nc >= 0) ? nc : -nc;
282  if (inr % 2 == inc % 2) {
283  double xpos = nc * dx;
284  double ypos = nr * dy;
285  std::pair<int, int> corner = HGCalGeomTools::waferCorner(xpos, ypos, dx, rr, rin, rout, true);
286  ++ntot;
287  if (corner.first > 0) {
288  int copy = inr * 100 + inc;
289  if (nc < 0)
290  copy += 10000;
291  if (nr < 0)
292  copy += 100000;
293  if (inc > incm)
294  incm = inc;
295  if (inr > inrm)
296  inrm = inr;
297  kount++;
298  if (copies.count(copy) == 0)
299  copies.insert(copy);
300  if (corner.first == (int)(HGCalParameters::k_CornerSize)) {
301  double rpos = std::sqrt(xpos * xpos + ypos * ypos);
302  DDTranslation tran(xpos, ypos, 0.0);
304  ++nin;
305  DDName name = (rpos < rMaxFine) ? DDName(DDSplit(wafer[0]).first, DDSplit(wafer[0]).second)
306  : DDName(DDSplit(wafer[1]).first, DDSplit(wafer[1]).second);
307  cpv.position(name, glog.ddname(), copy, tran, rotation);
308  if (rpos < rMaxFine)
309  ++nfine;
310  else
311  ++ncoarse;
312 #ifdef EDM_ML_DEBUG
313  edm::LogVerbatim("HGCalGeom") << "DDHGCalModule: " << name << " number " << copy << " positioned in "
314  << glog.ddname() << " at " << tran << " with " << rotation;
315 #endif
316  }
317  }
318  }
319  }
320  }
321 #ifdef EDM_ML_DEBUG
322  edm::LogVerbatim("HGCalGeom") << "DDHGCalModule: # of columns " << incm << " # of rows " << inrm << " and " << nin
323  << ":" << kount << ":" << ntot << " wafers (" << nfine << ":" << ncoarse << ") for "
324  << glog.ddname() << " R " << rin << ":" << rout;
325 #endif
326 }
327 
328 DEFINE_EDM_PLUGIN(DDAlgorithmFactory, DDHGCalModule, "hgcal:DDHGCalModule");
DDHGCalModule::execute
void execute(DDCompactView &cpv) override
Definition: DDHGCalModule.cc:148
PluginFactory.h
photonAnalyzer_cfi.rMax
rMax
Definition: photonAnalyzer_cfi.py:91
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
DDCurrentNamespace.h
DDHGCalModule::zMinBlock
double zMinBlock
Definition: DDHGCalModule.cc:59
mps_fire.i
i
Definition: mps_fire.py:355
geometryCSVtoXML.zz
zz
Definition: geometryCSVtoXML.py:19
DDHGCalModule::layerSense
std::vector< int > layerSense
Definition: DDHGCalModule.cc:58
MessageLogger.h
filterCSVwithJSON.copy
copy
Definition: filterCSVwithJSON.py:36
DDName
DDName is used to identify DDD entities uniquely.
Definition: DDName.h:15
zMuMuMuonUserData.alpha
alpha
zGenParticlesMatch = cms.InputTag(""),
Definition: zMuMuMuonUserData.py:9
findQualityFiles.rr
string rr
Definition: findQualityFiles.py:185
angle_units::operators::convertRadToDeg
constexpr NumType convertRadToDeg(NumType radians)
Definition: angle_units.h:21
DDSplit.h
DDHGCalModule::sectors
int sectors
Definition: DDHGCalModule.cc:62
DDHGCalModule::slopeB
std::vector< double > slopeB
Definition: DDHGCalModule.cc:63
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
geant_units::operators
Definition: GeantUnits.h:18
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
DDHGCalModule::zFront
std::vector< double > zFront
Definition: DDHGCalModule.cc:65
DDHGCalModule::idName
std::string idName
Definition: DDHGCalModule.cc:67
DDHGCalModule::slopeT
std::vector< double > slopeT
Definition: DDHGCalModule.cc:64
DDHGCalModule::thick
std::vector< double > thick
Definition: DDHGCalModule.cc:53
DDHGCalModule::waferW
double waferW
Definition: DDHGCalModule.cc:61
DDMaterial
DDMaterial is used to define and access material information.
Definition: DDMaterial.h:45
funct::cos
Cos< T >::type cos(const T &t)
Definition: Cos.h:22
DDHGCalModule::constructLayers
void constructLayers(const DDLogicalPart &, DDCompactView &cpv)
Definition: DDHGCalModule.cc:166
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
names
const std::string names[nVars_]
Definition: PhotonIDValueMapProducer.cc:122
DDTranslation
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
Definition: DDTranslation.h:7
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
DDCompactView
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:80
DDHGCalModule::layerThick
std::vector< double > layerThick
Definition: DDHGCalModule.cc:56
DDBase::name
const N & name() const
Definition: DDBase.h:59
DDSolidFactory::tubs
static DDSolid tubs(const DDName &name, double zhalf, double rIn, double rOut, double startPhi, double deltaPhi)
Definition: DDSolid.cc:653
DDSolid.h
dqmdumpme.k
k
Definition: dqmdumpme.py:60
DEFINE_EDM_PLUGIN
#define DEFINE_EDM_PLUGIN(factory, type, name)
Definition: PluginFactory.h:124
DDHGCalModule::rMax
double rMax(double z)
Definition: DDHGCalModule.cc:249
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::LogWarning
Definition: MessageLogger.h:141
angle_units::piRadians
constexpr long double piRadians(M_PIl)
DDHGCalModule::idNameSpace
std::string idNameSpace
Definition: DDHGCalModule.cc:68
DDHGCalModule::names
std::vector< std::string > names
Definition: DDHGCalModule.cc:52
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
DDHGCalModule::DDHGCalModule
DDHGCalModule()
Definition: DDHGCalModule.cc:72
GeantUnits.h
edmplugin::PluginFactory
Definition: PluginFactory.h:34
DDLogicalPart
A DDLogicalPart aggregates information concerning material, solid and sensitveness ....
Definition: DDLogicalPart.h:93
DDTypes.h
DDMaterial.h
funct::tan
Tan< T >::type tan(const T &t)
Definition: Tan.h:22
DDHGCalModule::copies
std::unordered_set< int > copies
Definition: DDHGCalModule.cc:69
createfilelist.int
int
Definition: createfilelist.py:10
DDutils.h
edm::LogVerbatim
Definition: MessageLogger.h:297
DDHGCalModule::wafer
std::vector< std::string > wafer
Definition: DDHGCalModule.cc:50
DDHGCalModule::~DDHGCalModule
~DDHGCalModule() override
Definition: DDHGCalModule.cc:78
PVValHelper::dy
Definition: PVValidationHelpers.h:49
DDHGCalModule::layers
std::vector< int > layers
Definition: DDHGCalModule.cc:55
DDLogicalPart.h
itr
std::vector< std::pair< float, float > >::iterator itr
Definition: HGCDigitizer.cc:28
module
Definition: vlib.h:198
DDHGCalModule
Definition: DDHGCalModule.cc:31
alignCSCRings.r
r
Definition: alignCSCRings.py:93
ReadMapType< double >
DDHGCalModule::initialize
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs) override
Definition: DDHGCalModule.cc:80
HGCalGeomTools.h
DDAlgorithm.h
DDHGCalGeom::constructLayers
void constructLayers(const cms::DDNamespace &ns, const std::vector< std::string > &wafers, const std::vector< std::string > &covers, const std::vector< int > &layerType, const std::vector< int > &layerSense, const std::vector< int > &maxModule, const std::vector< std::string > &names, const std::vector< std::string > &materials, std::vector< int > &copyNumber, const std::vector< double > &layerThick, const double &absorbW, const double &absorbH, const double &waferTot, const double &rMax, const double &rMaxFine, std::unordered_set< int > &copies, int firstLayer, int lastLayer, double zFront, double totalWidth, bool ignoreCenter, dd4hep::Volume &module)
Definition: DDHGCalTBModuleX.cc:21
diffTwoXMLs.r1
r1
Definition: diffTwoXMLs.py:53
DDCurrentNamespace::ns
static std::string & ns()
Definition: DDCurrentNamespace.cc:3
DDHGCalModule::rMaxFront
std::vector< double > rMaxFront
Definition: DDHGCalModule.cc:66
makeMuonMisalignmentScenario.rot
rot
Definition: makeMuonMisalignmentScenario.py:322
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
DDHGCalModule::materials
std::vector< std::string > materials
Definition: DDHGCalModule.cc:51
initialize
static AlgebraicMatrix initialize()
Definition: BeamSpotTransientTrackingRecHit.cc:24
DDHGCalModule::positionSensitive
void positionSensitive(DDLogicalPart &glog, double rin, double rout, DDCompactView &cpv)
Definition: DDHGCalModule.cc:268
volumeBasedMagneticField_160812_cfi.sectors
sectors
Definition: volumeBasedMagneticField_160812_cfi.py:59
DDHGCalModule::copyNumber
std::vector< int > copyNumber
Definition: DDHGCalModule.cc:54
DDAlgorithmFactory.h
DDHGCalModule::layerType
std::vector< int > layerType
Definition: DDHGCalModule.cc:57
HGCalParameters.h
class-composition.parent
parent
Definition: class-composition.py:88
cuy.ii
ii
Definition: cuy.py:590
PVValHelper::dx
Definition: PVValidationHelpers.h:48
hgcalTopologyTester_cfi.layers
layers
Definition: hgcalTopologyTester_cfi.py:8
DDHGCalModule::rMaxFine
double rMaxFine
Definition: DDHGCalModule.cc:60
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