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