DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Concrete wrapper class for segmentation implementation based on DDSegmentation objects. More...
#include <SegmentationsInterna.h>
Public Member Functions | |
SegmentationWrapper (const BitFieldCoder *decoder) | |
Standard constructor. More... | |
virtual | ~SegmentationWrapper () |
Default destructor. More... | |
Public Member Functions inherited from dd4hep::SegmentationObject | |
SegmentationObject (DDSegmentation::Segmentation *seg=0) | |
Standard constructor. More... | |
virtual | ~SegmentationObject () |
Default destructor. More... | |
std::string | fieldDescription () const |
Access the encoding string. More... | |
const std::string & | name () const |
Access the segmentation name. More... | |
void | setName (const std::string &value) |
Set the segmentation name. More... | |
const std::string & | type () const |
Access the segmentation type. More... | |
const std::string & | description () const |
Access the description of the segmentation. More... | |
const BitFieldCoder * | decoder () const |
Access the underlying decoder. More... | |
void | setDecoder (const BitFieldCoder *decoder) const |
Set the underlying decoder. More... | |
DDSegmentation::Parameter | parameter (const std::string ¶meterName) const |
Access to parameter by name. More... | |
DDSegmentation::Parameters | parameters () const |
Access to all parameters. More... | |
void | setParameters (const DDSegmentation::Parameters ¶meters) |
Set all parameters from an existing set of parameters. More... | |
Position | position (const CellID &cellID) const |
Determine the local position based on the cell ID. More... | |
CellID | cellID (const Position &localPosition, const Position &globalPosition, const VolumeID &volumeID) const |
Determine the cell ID based on the position. More... | |
VolumeID | volumeID (const CellID &cellID) const |
Determine the volume ID from the full cell ID by removing all local fields. More... | |
void | neighbours (const CellID &cellID, std::set< CellID > &neighbours) const |
Calculates the neighbours of the given cell ID and adds them to the list of neighbours. More... | |
Public Attributes | |
IMP * | implementation |
DDSegmentation aggregate. More... | |
Public Attributes inherited from dd4hep::SegmentationObject | |
unsigned long | magic |
Magic word to check object integrity. More... | |
unsigned char | useForHitPosition |
Flag to use segmentation for hit positioning. More... | |
Handle< DetElementObject > | detector |
Reference to hosting top level DetElement structure. More... | |
Handle< SensitiveDetectorObject > | sensitive |
Reference to hosting top level sensitve detector structure. More... | |
DDSegmentation::Segmentation * | segmentation = 0 |
Reference to base segmentation. More... | |
Concrete wrapper class for segmentation implementation based on DDSegmentation objects.
Definition at line 105 of file SegmentationsInterna.h.
|
inline |
Standard constructor.
Definition at line 122 of file SegmentationsInterna.h.
|
inlinevirtual |
Default destructor.
Definition at line 128 of file SegmentationsInterna.h.
IMP* dd4hep::SegmentationWrapper< IMP >::implementation |
DDSegmentation aggregate.
Definition at line 108 of file SegmentationsInterna.h.