|
DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Go to the documentation of this file.
19 #ifndef DDSEGMENTATION_TILEDLAYERGRIDXY_H
20 #define DDSEGMENTATION_TILEDLAYERGRIDXY_H
29 namespace DDSegmentation {
173 #endif // DDSEGMENTATION_TILEDLAYERGRIDXY_H
void setGridSizeX(double cellSize)
set the grid size in X
std::string _yId
the field name used for Y
void setFieldNameLayer(const std::string &fieldName)
set the field name used for Y
void setFieldNameX(const std::string &fieldName)
set the field name used for X
double gridSizeY() const
access the grid size in Y
Simple container for a physics vector.
double gridSizeX() const
access the grid size in X
std::vector< double > layerOffsetX() const
access the coordinate layerOffset in X
double _offsetX
the coordinate offset in X
Helper class for decoding and encoding a bit field of 64bits for convenient declaration.
const std::string & fieldNameLayer() const
access the field name used for Layer
virtual Vector3D position(const CellID &cellID) const
determine the position based on the cell ID
void setLayerOffsetY(double offset)
set the coordinate layerOffset in Y
virtual CellID cellID(const Vector3D &localPosition, const Vector3D &globalPosition, const VolumeID &volumeID) const
determine the cell ID based on the position
void setOffsetX(double offset)
set the coordinate offset in X
const std::string & fieldNameX() const
access the field name used for X
double _gridSizeX
the grid size in X
double offsetX() const
access the coordinate offset in X
std::vector< double > FractCellSizeXPerLayer() const
access the fraction cell size in X
void setBoundaryLayerX(double halfX)
set the layer boundary dimension for X
std::vector< double > layerOffsetY() const
access the coordinate layerOffset in Y
const std::string & fieldNameY() const
access the field name used for Y
std::string _xId
the field name used for X
TiledLayerGridXY(const std::string &cellEncoding="")
Default constructor passing the encoding string.
std::vector< double > _layerOffsetX
list of layer x offset
virtual ~TiledLayerGridXY()
destructor
std::vector< double > _layerOffsetY
list of layer y offset
virtual const BitFieldCoder * decoder() const
Access the underlying decoder.
std::string _identifierLayer
encoding field used for the layer
void setFieldNameY(const std::string &fieldName)
set the field name used for Y
std::vector< double > boundaryLayerX() const
access the boundary dimension in X
virtual VolumeID volumeID(const CellID &cellID) const
Determine the volume ID from the full cell ID by removing all local fields.
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,...
void setGridSizeY(double cellSize)
set the grid size in Y
void setLayerOffsetX(double offset)
set the coordinate layerOffset in X
Namespace for the AIDA detector description toolkit.
double _offsetY
the coordinate offset in Y
void setOffsetY(double offset)
set the coordinate offset in Y
A segmentation class to describe tiled layers.
std::vector< double > _fractCellSizeXPerLayer
list of the layer fraction cell size for X
double offsetY() const
access the coordinate offset in Y
void setFractCellSizeXPerLayer(double newFractCellSizeX)
set the layer fraction cell size for X
std::vector< double > _layerDimX
list of layer boundary dimension for X
double _gridSizeY
the grid size in Y
Segmentation base class describing cartesian grid segmentation.