|
DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Go to the documentation of this file.
15 #ifndef DD4HEP_MULTISEGMENTATION_H
16 #define DD4HEP_MULTISEGMENTATION_H 1
26 namespace DDSegmentation {
class MultiSegmentation; }
95 #endif // DD4HEP_MULTISEGMENTATION_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,...
const Segmentations & subSegmentations() const
The underlying sub-segementations.
Helper class for BitFieldCoder that corresponds to one field value.
MultiSegmentation()=default
Default constructor.
Implementation class for the grid XZ segmentation.
T Object
Extern accessible definition of the contained element type.
MultiSegmentation & operator=(const MultiSegmentation &seg)=default
Assignment operator.
MultiSegmentation(const Handle< Object > &e)
Copy constructor from handle.
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...
DDSegmentation::MultiSegmentation::Segmentations Segmentations
Handle< SegmentationWrapper< DDSegmentation::MultiSegmentation > > MultiSegmentationHandle
We need some abbreviation to make the code more readable.
const BitFieldElement * discriminator() const
Discriminating bitfield entry.
CellID cellID(const Position &local, const Position &global, const VolumeID &volID) const
determine the cell ID based on the position
bool operator==(const MultiSegmentation &seg) const
Equality operator.
T * m_element
Single and only data member: Reference to the actual element.
const std::string & fieldNameY() const
ROOT::Math::XYZVector Position
MultiSegmentation(const Handle< Q > &e)
Copy constructor from other polymorph/equivalent handle.
dd4hep::DDSegmentation::VolumeID VolumeID
MultiSegmentation(const MultiSegmentation &e)=default
Copy constructor.
Namespace for the AIDA detector description toolkit.
std::vector< Entry > Segmentations
Handle class supporting generic Segmentations of sensitive detectors.
const std::string & discriminatorName() const
access the field name used to discriminate sub-segmentations
MultiSegmentation(const Segmentation &e)
Copy Constructor from segmentation base object.
dd4hep::DDSegmentation::CellID CellID