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