|
DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Go to the documentation of this file.
15 #ifndef DD4HEP_POLARGRIDRPHI_H
16 #define DD4HEP_POLARGRIDRPHI_H 1
25 namespace DDSegmentation {
class PolarGridRPhi; }
104 #endif // DD4HEP_POLARGRIDRPHI_H
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::PolarGridRPhi > > PolarGridRPhiHandle
We need some abbreviation to make the code more readable.
T Object
Extern accessible definition of the contained element type.
PolarGridRPhi & operator=(const PolarGridRPhi &seg)=default
Assignment operator.
Handle: a templated class like a shared pointer, which allows specialized access to tgeometry objects...
PolarGridRPhi()=default
Default constructor.
bool operator==(const PolarGridRPhi &seg) const
Equality operator.
void setOffsetPhi(double offset) const
set the coordinate offset in Phi
void setGridSizeR(double cellSize) const
set the grid size in R
T * m_element
Single and only data member: Reference to the actual element.
PolarGridRPhi(const PolarGridRPhi &e)=default
Copy constructor.
ROOT::Math::XYZVector Position
dd4hep::DDSegmentation::VolumeID VolumeID
PolarGridRPhi(const Segmentation &e)
Copy Constructor from segmentation base object.
double offsetR() const
access the coordinate offset in R
CellID cellID(const Position &local, const Position &global, const VolumeID &volID) const
determine the cell ID based on the position
Implementation class for the grid XZ segmentation.
Namespace for the AIDA detector description toolkit.
Position position(const CellID &cellID) const
determine the position based on the cell ID
double gridSizePhi() const
access the grid size in Phi
Handle class supporting generic Segmentations of sensitive detectors.
double gridSizeR() const
access the grid size in R
void setGridSizePhi(double cellSize) const
set the grid size in Phi
PolarGridRPhi(const Handle< Object > &e)
Copy constructor from handle.
const std::string & fieldNameR() const
access the field name used for R
PolarGridRPhi(const Handle< Q > &e)
Copy constructor from other polymorph/equivalent handle.
const std::string & fieldNamePhi() const
access the field name used for Phi
double offsetPhi() const
access the coordinate offset in Phi
void setOffsetR(double offset) const
set the coordinate offset in R
dd4hep::DDSegmentation::CellID CellID