|
DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Go to the documentation of this file.
18 #ifndef DDSEGMENTATION_CARTESIANGRIDXZ_H
19 #define DDSEGMENTATION_CARTESIANGRIDXZ_H
24 namespace DDSegmentation {
116 #endif // DDSEGMENTATION_CARTESIANGRIDXZ_H
void setFieldNameX(const std::string &fieldName)
set the field name used for X
Simple container for a physics vector.
Helper class for decoding and encoding a bit field of 64bits for convenient declaration.
double offsetZ() const
access the coordinate offset in Z
const std::string & fieldNameX() const
access the field name used for X
double offsetX() const
access the coordinate offset in X
double _gridSizeX
the grid size in X
virtual 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,...
Segmentation base class describing cartesian grid segmentation in the X-Z plane.
double gridSizeX() const
access the grid size in X
void setGridSizeZ(double cellSize)
set the grid size in Z
double _gridSizeZ
the grid size in Z
virtual Vector3D position(const CellID &cellID) const
determine the local based on the cell ID
double gridSizeZ() const
access the grid size in Z
std::string _zId
the field name used for Z
virtual const BitFieldCoder * decoder() const
Access the underlying decoder.
double _offsetZ
the coordinate offset in Z
CartesianGridXZ(const std::string &cellEncoding)
default constructor using an arbitrary type
void setOffsetZ(double offset)
set the coordinate offset in Z
virtual VolumeID volumeID(const CellID &cellID) const
Determine the volume ID from the full cell ID by removing all local fields.
const std::string & fieldNameZ() const
access the field name used for Z
void setOffsetX(double offset)
set the coordinate offset in X
void setGridSizeX(double cellSize)
set the grid size in X
Namespace for the AIDA detector description toolkit.
double _offsetX
the coordinate offset in X
virtual CellID cellID(const Vector3D &localPosition, const Vector3D &globalPosition, const VolumeID &volumeID) const
determine the cell ID based on the position
void setFieldNameZ(const std::string &fieldName)
set the field name used for Y
std::string _xId
the field name used for X
virtual ~CartesianGridXZ()
destructor
Segmentation base class describing cartesian grid segmentation.