File indexing completed on 2025-01-30 09:16:57
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 #include <DD4hep/CylindricalGridPhiZ.h>
0016 #include <DDSegmentation/CylindricalGridPhiZ.h>
0017
0018 using namespace dd4hep;
0019
0020
0021 Position CylindricalGridPhiZ::position(const CellID& id) const {
0022 return Position(access()->implementation->position(id));
0023 }
0024
0025
0026 dd4hep::CellID CylindricalGridPhiZ::cellID(const Position& local,
0027 const Position& global,
0028 const VolumeID& volID) const
0029 {
0030 return access()->implementation->cellID(local, global, volID);
0031 }
0032
0033
0034 double CylindricalGridPhiZ::gridSizePhi() const {
0035 return access()->implementation->gridSizePhi();
0036 }
0037
0038
0039 double CylindricalGridPhiZ::gridSizeZ() const {
0040 return access()->implementation->gridSizeZ();
0041 }
0042
0043
0044 void CylindricalGridPhiZ::setGridSizePhi(double cellSize) const {
0045 access()->implementation->setGridSizePhi(cellSize);
0046 }
0047
0048
0049 void CylindricalGridPhiZ::setGridSizeZ(double cellSize) const {
0050 access()->implementation->setGridSizeZ(cellSize);
0051 }
0052
0053
0054 double CylindricalGridPhiZ::offsetPhi() const {
0055 return access()->implementation->offsetPhi();
0056 }
0057
0058
0059 double CylindricalGridPhiZ::offsetZ() const {
0060 return access()->implementation->offsetZ();
0061 }
0062
0063
0064 void CylindricalGridPhiZ::setOffsetPhi(double offset) const {
0065 access()->implementation->setOffsetPhi(offset);
0066 }
0067
0068
0069 void CylindricalGridPhiZ::setOffsetZ(double offset) const {
0070 access()->implementation->setOffsetZ(offset);
0071 }
0072
0073
0074 const std::string& CylindricalGridPhiZ::fieldNamePhi() const {
0075 return access()->implementation->fieldNamePhi();
0076 }
0077
0078
0079 const std::string& CylindricalGridPhiZ::fieldNameZ() const {
0080 return access()->implementation->fieldNameZ();
0081 }
0082
0083
0084 std::vector<double> CylindricalGridPhiZ::cellDimensions(const CellID& id) const {
0085 return access()->implementation->cellDimensions(id);
0086 }