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