File indexing completed on 2025-01-18 09:14:01
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 #include <DD4hep/WaferGridXY.h>
0016 #include <DDSegmentation/WaferGridXY.h>
0017
0018 using namespace dd4hep;
0019
0020
0021 Position WaferGridXY::position(const CellID& id) const {
0022 return Position(access()->implementation->position(id));
0023 }
0024
0025
0026 dd4hep::CellID WaferGridXY::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 WaferGridXY::gridSizeX() const {
0035 return access()->implementation->gridSizeX();
0036 }
0037
0038
0039 double WaferGridXY::gridSizeY() const {
0040 return access()->implementation->gridSizeY();
0041 }
0042
0043
0044 double WaferGridXY::offsetX() const {
0045 return access()->implementation->offsetX();
0046 }
0047
0048
0049 double WaferGridXY::offsetY() const {
0050 return access()->implementation->offsetY();
0051 }
0052
0053 double WaferGridXY::waferOffsetX(int inGroup, int inWafer) const {
0054 return access()->implementation->waferOffsetX(inGroup,inWafer);
0055 }
0056
0057
0058 double WaferGridXY::waferOffsetY(int inGroup, int inWafer) const {
0059 return access()->implementation->waferOffsetY(inGroup,inWafer);
0060 }
0061
0062
0063 const std::string& WaferGridXY::fieldNameX() const {
0064 return access()->implementation->fieldNameX();
0065 }
0066
0067
0068 const std::string& WaferGridXY::fieldNameY() const {
0069 return access()->implementation->fieldNameY();
0070 }
0071
0072
0073
0074
0075
0076
0077
0078
0079
0080
0081 std::vector<double> WaferGridXY::cellDimensions(const CellID& id) const {
0082 return access()->implementation->cellDimensions(id);
0083 }