Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DetUtils.cpp File Reference
#include "DetUtils.h"
#include "Acts/Definitions/Units.hpp"
#include "Acts/Digitization/CartesianSegmentation.hpp"
#include "Acts/Digitization/DigitizationModule.hpp"
#include "Acts/Surfaces/RectangleBounds.hpp"
#include "Acts/Surfaces/TrapezoidBounds.hpp"
#include <cstddef>
#include <DD4hep/CartesianGridXZ.h>
#include <DD4hep/Segmentations.h>
#include <XML/XMLTags.h>
+ Include dependency graph for DetUtils.cpp:

Go to the source code of this file.

Namespaces

namespace  det
 
namespace  det::utils
 

Functions

std::shared_ptr< const
Acts::DigitizationModule
det::utils::rectangleDigiModuleXZ (double halflengthX, double halflengthZ, double thickness, const dd4hep::Segmentation &segmentation)
 
std::shared_ptr< const
Acts::DigitizationModule
det::utils::rectangleDigiModuleXZ (double halflengthX, double halflengthZ, double thickness, double gridSizeX, double gridSizeZ)
 
std::shared_ptr< const
Acts::DigitizationModule
det::utils::trapezoidalDigiModuleXZ (double minHalflengthX, double maxHalflengthX, double halflengthZ, double thickness, const dd4hep::Segmentation &segmentation)
 
std::shared_ptr< const
Acts::DigitizationModule
det::utils::trapezoidalDigiModuleXZ (double minHalflengthX, double maxHalflengthX, double halflengthZ, double thickness, double gridSizeX, double gridSizeZ)
 
dd4hep::xml::Component det::utils::getNodeByStrAttr (const dd4hep::xml::Handle_t &mother, const std::string &nodeName, const std::string &attrName, const std::string &attrValue)
 Retrieves the node component from a mother by the string names.
 
double det::utils::getAttrValueWithFallback (const dd4hep::xml::Component &node, const std::string &attrName, const double &defaultValue)