File TGeoCylinderDiscSplitter.hpp¶
-
namespace Acts
Set the Geometry Context PLUGIN.
Set the Calibration Context PLUGIN.
Convenience functions to ease creation of and Acts::InterpolatedMaterialMap and to avoid code duplication.
Set the Mangetic Field Context PLUGIN.
Convenience functions to ease creation of and Acts::InterpolatedBFieldMap and to avoid code duplication.
Currently implemented for the two most common formats: rz and xyz.
-
class TGeoCylinderDiscSplitter : public Acts::ITGeoDetectorElementSplitter
- #include <Acts/Plugins/TGeo/TGeoCylinderDiscSplitter.hpp>
TGeoCylinderDiscSplitter.
Split Cylinder and disks into submodules
Public Functions
-
TGeoCylinderDiscSplitter(const Config &cfg, std::unique_ptr<const Acts::Logger> logger = Acts::getDefaultLogger("TGeoCylinderDiscSplitter", Acts::Logging::INFO))
Constructor.
- Parameters
cfg – the configuration struct
logger – the logging object
-
virtual ~TGeoCylinderDiscSplitter() = default
Take a geometry context and TGeoElement and split it into sub elements.
Note
If no split is performed the unsplit detector element is returned
- Parameters
gctx – is a geometry context object
tgde – is a TGeoDetectorElement that is eventually split
- Returns
a vector of TGeoDetectorElement objects
-
struct Config
- #include <Acts/Plugins/TGeo/TGeoCylinderDiscSplitter.hpp>
Nested configuration struct.
Public Members
-
int cylinderLongitudinalSegments = -1
Number of segments in r for a disk.
-
int cylinderPhiSegments = -1
Number of segments in phi for a disc.
-
int discPhiSegments = -1
Number of segments in phi for a disc.
-
int discRadialSegments = -1
Number of segments in r for a disk.
-
int cylinderLongitudinalSegments = -1
-
TGeoCylinderDiscSplitter(const Config &cfg, std::unique_ptr<const Acts::Logger> logger = Acts::getDefaultLogger("TGeoCylinderDiscSplitter", Acts::Logging::INFO))
-
class TGeoCylinderDiscSplitter : public Acts::ITGeoDetectorElementSplitter