allpix::SupportLayer
#include <SupportLayer.hpp>
Public Types
Name | |
---|---|
enum class | Location { SENSOR, CHIP, ABSOLUTE} |
Public Functions
Name | |
---|---|
const ROOT::Math::XYZPoint & | getCenter() const Get the center of the support layer. |
const ROOT::Math::XYZVector & | getSize() const Get the size of the support layer. |
const std::string & | getMaterial() const Get the material of the support layer. |
bool | hasHole() const Return if the support layer contains a hole. |
const std::string & | getHoleType() const Return the support layer hole type. |
ROOT::Math::XYZPoint | getHoleCenter() const Get the center of the hole in the support layer. |
const ROOT::Math::XYZVector & | getHoleSize() const Get the full size of the hole in the support layer. |
const Location & | getLocation() const Get the location of the support layer. |
Friends
Name | |
---|---|
class | DetectorModel |
Public Types Documentation
enum Location
Enumerator | Value | Description |
---|---|---|
SENSOR | Support layer is located on the sensor side of the assembly. | |
CHIP | Support layer is located on the chip side of the assembly. | |
ABSOLUTE | Support layer location provided as absolute position. |
Public Functions Documentation
function getCenter
inline const ROOT::Math::XYZPoint & getCenter() const
Get the center of the support layer.
Return: Center of the support layer
function getSize
inline const ROOT::Math::XYZVector & getSize() const
Get the size of the support layer.
Return: Size of the support layer
function getMaterial
inline const std::string & getMaterial() const
Get the material of the support layer.
Return: Support material
function hasHole
inline bool hasHole() const
Return if the support layer contains a hole.
Return: True if the support layer has a hole, false otherwise
function getHoleType
inline const std::string & getHoleType() const
Return the support layer hole type.
Return: support layer hole type
function getHoleCenter
inline ROOT::Math::XYZPoint getHoleCenter() const
Get the center of the hole in the support layer.
Return: Center of the hole
function getHoleSize
inline const ROOT::Math::XYZVector & getHoleSize() const
Get the full size of the hole in the support layer.
Return: Size of the hole
function getLocation
inline const Location & getLocation() const
Get the location of the support layer.
Friends
friend DetectorModel
friend class DetectorModel(
DetectorModel
);
Updated on 2024-12-13 at 08:31:36 +0000