EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ActsExamples::DD4hep::DD4hepDetectorHelper Struct Reference

#include <acts/blob/sPHENIX/Examples/Detectors/DD4hepDetector/include/ActsExamples/DD4hepDetector/DD4hepDetectorHelper.hpp>

Static Public Member Functions

static std::shared_ptr< const
Acts::DigitizationModule
rectangleDigiModule (double halflengthX, double halflengthY, double thickness, const dd4hep::Segmentation &segmentation)
 
static std::shared_ptr< const
Acts::DigitizationModule
trapezoidalDigiModule (double minHalflengthX, double maxHalflengthX, double halflengthY, double thickness, const dd4hep::Segmentation &segmentation)
 

Detailed Description

Definition at line 104 of file DD4hepDetectorHelper.hpp.

View newest version in sPHENIX GitHub at line 104 of file DD4hepDetectorHelper.hpp

Member Function Documentation

std::shared_ptr< const Acts::DigitizationModule > DD4hepDetectorHelper::rectangleDigiModule ( double  halflengthX,
double  halflengthY,
double  thickness,
const dd4hep::Segmentation segmentation 
)
static

Global method to build an Acts::DigitizationModule with rectangular segmentation.

Note
This function should be used in order to create the input needed for construction with Acts::ActsExtension(std::shared_ptr<const DigitizationModule>)
Parameters
halflengthXThe half length in x of the detector module
halflengthYThe half length in y of the detector module
thicknessThe thickness of the detector module
segmentationthe DD4hep segmentation

Definition at line 21 of file DD4hepDetectorHelper.cpp.

View newest version in sPHENIX GitHub at line 21 of file DD4hepDetectorHelper.cpp

References Acts::UnitConstants::cm.

Referenced by create_element().

+ Here is the caller graph for this function:

std::shared_ptr< const Acts::DigitizationModule > DD4hepDetectorHelper::trapezoidalDigiModule ( double  minHalflengthX,
double  maxHalflengthX,
double  halflengthY,
double  thickness,
const dd4hep::Segmentation segmentation 
)
static

Global method to build an Acts::DigitizationModule with trapezoidal segmentation.

Note
This function should be used in order to create the input needed for construction with Acts::ActsExtension(std::shared_ptr<const DigitizationModule>)
Parameters
minHalflengthXThe half length in x of the detector module on the negative side of y
maxHalflengthXThe half length in x of the detector module on the positive side of y
halflengthYThe half length in y of the detector module
thicknessThe thickness of the detector module
segmentationthe DD4hep segmentation

Definition at line 54 of file DD4hepDetectorHelper.cpp.

View newest version in sPHENIX GitHub at line 54 of file DD4hepDetectorHelper.cpp

References Acts::UnitConstants::cm.

Referenced by create_element().

+ Here is the caller graph for this function:


The documentation for this struct was generated from the following files: