|
DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Go to the documentation of this file.
32 return access()->implementation->cellID(local, global, volID);
37 return access()->implementation->gridSizeR();
42 return access()->implementation->gridSizePhi();
47 return access()->implementation->offsetR();
52 return access()->implementation->offsetPhi();
57 access()->implementation->setOffsetR(offset);
62 access()->implementation->setOffsetPhi(offset);
67 access()->implementation->setGridSizeR(cellSize);
72 access()->implementation->setGridSizePhi(cellSize);
77 return access()->implementation->fieldNameR();
82 return access()->implementation->fieldNamePhi();
95 return access()->implementation->cellDimensions(
id);
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,...
void setOffsetPhi(double offset) const
set the coordinate offset in Phi
void setGridSizeR(double cellSize) const
set the grid size in R
ROOT::Math::XYZVector Position
dd4hep::DDSegmentation::VolumeID VolumeID
T * access() const
Checked object access. Throws invalid handle runtime exception if invalid handle.
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
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
double gridSizeR() const
access the grid size in R
void setGridSizePhi(double cellSize) const
set the grid size in Phi
const std::string & fieldNameR() const
access the field name used for R
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