#include <ServiceVolumeMaker.h>
Definition at line 136 of file ServiceVolumeMaker.h.
◆ ServiceVolumeMaker() [1/2]
◆ ServiceVolumeMaker() [2/2]
◆ ~ServiceVolumeMaker()
InDetDD::ServiceVolumeMaker::~ServiceVolumeMaker |
( |
| ) |
|
◆ make()
Definition at line 280 of file ServiceVolumeMaker.cxx.
296 param->setZShift(zShift);
299 if (volId == 0) volId = ii + 1;
301 bool needsRotation =
false;
309 if (rmin2 <= 0) rmin2 = param->rmin();
310 if (rmax2 <= 0) rmax2 = param->rmax();
316 bool fullPhiSector =
false;
319 fullPhiSector =
true;
326 if (shapeType ==
"UNKNOWN") {
328 shapeType =
"RADIAL";
329 }
else if (param->rmin() == rmin2 && param->rmax() == rmax2) {
342 if (repeat == 0) repeat = 1;
347 if (shapeType ==
"CONS" || shapeType ==
"TUBS") {
350 phiStart += phiepsilon;
355 if (shapeType ==
"BOX" || shapeType ==
"ROD" || shapeType ==
"ROD2" || shapeType ==
"TRAP") {
359 if (shapeType ==
"PGON" || shapeType ==
"PGON2" ||
360 shapeType ==
"CONE" || shapeType ==
"CONS" ||
361 shapeType ==
"PGON3" || shapeType ==
"PGON4") {
362 if ((rmin2 != param->rmin()) || (rmax2 != param->rmax())) {
363 needsRotation =
true;
369 if (shapeType ==
"PGON" || shapeType ==
"PGON2" ||
370 shapeType ==
"PGON3" || shapeType ==
"PGON4") {
377 if (shapeType.empty() || shapeType ==
"TUBE" || shapeType ==
"CONE") {
381 param->setShapeType(shapeType);
382 param->setRmin2(rmin2);
383 param->setRmax2(rmax2);
384 param->setPhiLoc(phiStart);
386 param->setSides(
sides);
387 param->setNCopies(nCopies);
392 param->setNeedsRotation(needsRotation);
399 if (std::abs(param->zmin()) < 0.000001) {
400 param->setZmin(-param->zmax());
401 param->setZsymm(
false);
404 param->setLabel(
m_label, volId);
◆ makeAll()
◆ numElements()
unsigned int InDetDD::ServiceVolumeMaker::numElements |
( |
| ) |
const |
◆ operator=()
◆ m_label
std::string InDetDD::ServiceVolumeMaker::m_label |
|
private |
◆ m_layerShift
std::vector<double> InDetDD::ServiceVolumeMaker::m_layerShift |
|
private |
◆ m_mgr
◆ m_services
The documentation for this class was generated from the following files: