|
DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Go to the documentation of this file.
15 #ifndef DD4HEP_CARTESIANGRIDUV_H
16 #define DD4HEP_CARTESIANGRIDUV_H 1
111 #endif // DD4HEP_CARTESIANGRIDUV_H
const std::string & fieldNameU() const
access the field name used for U
double gridSizeU() const
access the grid size in U
double gridSizeV() const
access the grid size in V
void setOffsetV(double offset) const
set the coordinate offset in V
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,...
T Object
Extern accessible definition of the contained element type.
Position position(const CellID &cellID) const
determine the position based on the cell ID
Handle< SegmentationWrapper< DDSegmentation::CartesianGridUV > > CartesianGridUVHandle
We need some abbreviation to make the code more readable.
Handle: a templated class like a shared pointer, which allows specialized access to tgeometry objects...
const std::string & fieldNameV() const
access the field name used for V
CartesianGridUV(const CartesianGridUV &e)=default
Copy constructor.
void setGridSizeU(double cellSize) const
set the grid size in U
double offsetV() const
access the coordinate offset in V
CartesianGridUV(const Segmentation &e)
Copy Constructor from segmentation base object.
bool operator==(const CartesianGridUV &seg) const
Equality operator.
void setGridSizeV(double cellSize) const
set the grid size in V
CartesianGridUV(const Handle< Object > &e)
Copy constructor from handle.
T * m_element
Single and only data member: Reference to the actual element.
CartesianGridUV()=default
Default constructor.
CellID cellID(const Position &local, const Position &global, const VolumeID &volID) const
determine the cell ID based on the position
double offsetU() const
access the coordinate offset in U
ROOT::Math::XYZVector Position
Segmentation base class describing cartesian grid segmentation in along U,V rotated some angle from l...
dd4hep::DDSegmentation::VolumeID VolumeID
CartesianGridUV(const Handle< Q > &e)
Copy constructor from other equivalent handle.
CartesianGridUV & operator=(const CartesianGridUV &seg)=default
Assignment operator.
Namespace for the AIDA detector description toolkit.
void setOffsetU(double offset) const
set the coordinate offset in U
double gridAngle() const
access the rotation angle
Handle class supporting generic Segmentations of sensitive detectors.
void setGridAngle(double angle) const
set the rotation angle
Implementation class for the grid UV segmentation.
dd4hep::DDSegmentation::CellID CellID