|
DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Go to the documentation of this file.
20 #ifndef DDSEGMENTATION_CARTESIANSTRIPZ_H
21 #define DDSEGMENTATION_CARTESIANSTRIPZ_H
26 namespace DDSegmentation {
75 #endif // DDSEGMENTATION_CARTESIANSTRIPZ_H
double _stripSizeZ
the strip size in Z
Simple container for a physics vector.
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,...
Helper class for decoding and encoding a bit field of 64bits for convenient declaration.
double offsetZ() const
access the coordinate offset in Z
virtual CellID cellID(const Vector3D &localPosition, const Vector3D &globalPosition, const VolumeID &volumeID) const
determine the cell ID based on the position
virtual ~CartesianStripZ()
destructor
void setFieldNameZ(const std::string &fieldName)
set the field name used for Z
std::string _xId
the field name used for Z
void setStripSizeZ(double cellSize)
set the strip size in Z
Segmentation base class describing cartesian strip segmentation in Z.
const std::string & fieldNameZ() const
access the field name used for Z
void setOffsetZ(double offset)
set the coordinate offset in Z
virtual const BitFieldCoder * decoder() const
Access the underlying decoder.
double stripSizeZ() const
access the strip size in Z
double _offsetZ
the coordinate offset in Z
CartesianStripZ(const std::string &cellEncoding="")
Default constructor passing the encoding string.
virtual VolumeID volumeID(const CellID &cellID) const
Determine the volume ID from the full cell ID by removing all local fields.
virtual Vector3D position(const CellID &cellID) const
determine the position based on the cell ID
Namespace for the AIDA detector description toolkit.
Segmentation base class describing cartesian strip segmentation.