15 #ifndef ACTS_TOOLS_TAKESMALLERBIGGER
16 #define ACTS_TOOLS_TAKESMALLERBIGGER
17 #define takeSmaller(current, test) current = current < test ? current : test
18 #define takeBigger(current, test) current = current > test ? current : test
19 #define takeSmallerBigger(cSmallest, cBiggest, test) \
20 takeSmaller(cSmallest, test); \
21 takeBigger(cBiggest, test)
39 class CylinderVolumeBounds;
40 class IVolumeMaterial;
55 std::shared_ptr<const ITrackingVolumeArrayCreator>
91 std::shared_ptr<const IVolumeMaterial> volumeMaterial,
93 std::shared_ptr<const Transform3D>
transform =
nullptr,
94 const std::string& volumeName =
"UndefinedVolume",
116 std::shared_ptr<const IVolumeMaterial> volumeMaterial,
double rMin,
117 double rMax,
double zMin,
double zMax,
118 const std::string& volumeName =
"UndefinedVolume",
138 std::shared_ptr<const IVolumeMaterial> volumeMaterial,
double rMin,
139 double rMax,
double zMin,
double zMax,
unsigned int materialLayers,
140 bool cylinder =
true,
141 const std::string& volumeName =
"UndefinedVolume")
const override;
160 std::shared_ptr<const IVolumeMaterial> volumeMaterial,
double rMin,
161 double rMax,
double zMin,
double zMax,
162 const std::vector<double>& layerPositions,
bool cylinder =
true,
163 const std::string& volumeName =
"UndefinedVolume",
189 void setLogger(std::unique_ptr<const Logger> newLogger);
218 std::shared_ptr<const Transform3D>&
transform,
double& rMinClean,
219 double& rMaxClean,
double& zMinClean,
double& zMaxClean,
235 bool rBinned,
double rMin,
double rGlueMin,
236 double rMax,
double zMin,
double zMax)
const;
255 double rGlueMin,
double rMax,
double zMin,
278 double thickness,
int binsPhi,
int binsZ)
const;
291 int binsPhi,
int binsR)
const;