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