|
DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Go to the documentation of this file.
30 return access()->implementation->cellID(local, global, volID);
35 return access()->implementation->gridSizeX();
40 return access()->implementation->gridSizeZ();
45 access()->implementation->setGridSizeX(cellSize);
50 access()->implementation->setGridSizeZ(cellSize);
55 return access()->implementation->offsetX();
60 return access()->implementation->offsetZ();
65 access()->implementation->setOffsetX(offset);
70 access()->implementation->setOffsetZ(offset);
75 return access()->implementation->fieldNameX();
80 return access()->implementation->fieldNameZ();
85 return access()->implementation->cellDimensions(
id);
void setGridSizeX(double cellSize) const
set the grid size in X
double gridSizeZ() const
access the grid size in Z
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,...
CellID cellID(const Position &local, const Position &global, const VolumeID &volID) const
determine the cell ID based on the position
void setOffsetX(double offset) const
set the coordinate offset in X
double gridSizeX() const
access the grid size in X
void setOffsetZ(double offset) const
set the coordinate offset in Z
double offsetZ() const
access the coordinate offset in Z
const std::string & fieldNameZ() const
access the field name used for Z
Position position(const CellID &cellID) const
determine the position based on the cell ID
void setGridSizeZ(double cellSize) const
set the grid size in Z
double offsetX() const
access the coordinate offset in X
ROOT::Math::XYZVector Position
dd4hep::DDSegmentation::VolumeID VolumeID
T * access() const
Checked object access. Throws invalid handle runtime exception if invalid handle.
Namespace for the AIDA detector description toolkit.
const std::string & fieldNameX() const
access the field name used for X
dd4hep::DDSegmentation::CellID CellID