DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | Public Attributes | List of all members
dd4hep::SegmentationWrapper< IMP > Class Template Reference

Concrete wrapper class for segmentation implementation based on DDSegmentation objects. More...

#include <SegmentationsInterna.h>

Inheritance diagram for dd4hep::SegmentationWrapper< IMP >:
dd4hep::SegmentationObject

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 &parameterName) const
 Access to parameter by name. More...
 
DDSegmentation::Parameters parameters () const
 Access to all parameters. More...
 
void setParameters (const DDSegmentation::Parameters &parameters)
 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< DetElementObjectdetector
 Reference to hosting top level DetElement structure. More...
 
Handle< SensitiveDetectorObjectsensitive
 Reference to hosting top level sensitve detector structure. More...
 
DDSegmentation::Segmentationsegmentation = 0
 Reference to base segmentation. More...
 

Detailed Description

template<typename IMP>
class dd4hep::SegmentationWrapper< IMP >

Concrete wrapper class for segmentation implementation based on DDSegmentation objects.

Author
M.Frank
Version
1.0

Definition at line 105 of file SegmentationsInterna.h.

Constructor & Destructor Documentation

◆ SegmentationWrapper()

template<typename IMP >
dd4hep::SegmentationWrapper< IMP >::SegmentationWrapper ( const BitFieldCoder *  decoder)
inline

Standard constructor.

Definition at line 122 of file SegmentationsInterna.h.

◆ ~SegmentationWrapper()

template<typename IMP >
dd4hep::SegmentationWrapper< IMP >::~SegmentationWrapper
inlinevirtual

Default destructor.

Definition at line 128 of file SegmentationsInterna.h.

Member Data Documentation

◆ implementation

template<typename IMP >
IMP* dd4hep::SegmentationWrapper< IMP >::implementation

DDSegmentation aggregate.

Definition at line 108 of file SegmentationsInterna.h.


The documentation for this class was generated from the following file: