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