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