28 #ifndef ATAS_GEOMETRYTOOLS_TAKESMALLERBIGGER
29 #define ATAS_GEOMETRYTOOLS_TAKESMALLERBIGGER
30 #define takeSmaller(current, test) current = current < test ? current : test
31 #define takeBigger(current, test) current = current > test ? current : test
32 #define takeSmallerBigger(cSmallest, cBiggest, test) \
33 takeSmaller(cSmallest, test); \
34 takeBigger(cBiggest, test)
41 class IVolumeMaterial;
42 class ISurfaceMaterial;
68 :
rMin(std::numeric_limits<double>::
max()),
69 rMax(std::numeric_limits<double>::lowest()),
70 zMin(std::numeric_limits<double>::
max()),
71 zMax(std::numeric_limits<double>::lowest()),
113 double zMid = 0.5 * (lConfig.
zMin +
zMax);
117 double zMid = 0.5 * (
zMin + lConfig.
zMax);
192 std::stringstream sl;
232 std::string wConditionAddon =
"";
416 std::stringstream sl;
418 sl <<
"New contaienr built with configuration: "
423 sl <<
" - n: Negative Endcap, current configuration: "
427 sl <<
" - c: Barrel, current configuration: "
431 sl <<
" - p: Negative Endcap, current configuration: "
435 sl <<
"Existing volume with configuration: "
438 sl <<
" - g1: First gap volume, configuration : "
442 sl <<
" - g2: Second gap volume, configuration : "
446 sl <<
"WrappingCondition = " <<
wCondition <<
'\n';
505 nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
nullptr};
548 void setLogger(std::unique_ptr<const Logger> newLogger);