|
DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Go to the documentation of this file.
15 #ifndef DD4HEP_CARTESIANGRIDXYZ_H
16 #define DD4HEP_CARTESIANGRIDXYZ_H 1
25 namespace DDSegmentation {
class CartesianGridXYZ; }
116 #endif // DD4HEP_CARTESIANGRIDXYZ_H
Implementation class for the grid XYZ segmentation.
void setGridSizeZ(double cellSize) const
set the grid size in Z
double offsetX() const
access the coordinate offset in X
T Object
Extern accessible definition of the contained element type.
double offsetZ() const
access the coordinate offset in Z
Handle: a templated class like a shared pointer, which allows specialized access to tgeometry objects...
CartesianGridXYZ()=default
Default constructor.
CartesianGridXYZ(const Segmentation &e)
Copy Constructor from segmentation base object.
Position position(const CellID &cellID) const
determine the position based on the cell ID
void setOffsetZ(double offset) const
set the coordinate offset in Z
CartesianGridXYZ(const CartesianGridXYZ &e)=default
Copy constructor.
const std::string & fieldNameZ() const
access the field name used for Z
const std::string & fieldNameY() const
access the field name used for Y
double gridSizeZ() const
access the grid size in Z
void setOffsetX(double offset) const
set the coordinate offset in X
T * m_element
Single and only data member: Reference to the actual element.
void setGridSizeX(double cellSize) const
set the grid size in X
CartesianGridXYZ & operator=(const CartesianGridXYZ &seg)=default
Assignment operator.
double gridSizeY() const
access the grid size in Y
Handle< SegmentationWrapper< DDSegmentation::CartesianGridXYZ > > CartesianGridXYZHandle
We need some abbreviation to make the code more readable.
ROOT::Math::XYZVector Position
void setOffsetY(double offset) const
set the coordinate offset in Y
bool operator==(const CartesianGridXYZ &seg) const
Equality operator.
CartesianGridXYZ(const Handle< Q > &e)
Copy constructor from other polymorph/equivalent handle.
dd4hep::DDSegmentation::VolumeID VolumeID
double offsetY() const
access the coordinate offset in Y
const std::string & fieldNameX() const
access the field name used for X
Namespace for the AIDA detector description toolkit.
double gridSizeX() const
access the grid size in X
CartesianGridXYZ(const Handle< Object > &e)
Copy constructor from handle.
Handle class supporting generic Segmentations of sensitive detectors.
void setGridSizeY(double cellSize) const
set the grid size in Y
CellID cellID(const Position &local, const Position &global, const VolumeID &volID) const
determine the cell ID based on the position
std::vector< double > cellDimensions(const CellID &cellID) const
Returns a vector<double> of the cellDimensions of the given cell ID in natural order of dimensions,...
dd4hep::DDSegmentation::CellID CellID