File indexing completed on 2025-01-18 09:13:57
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 #include <DD4hep/PolarGridRPhi2.h>
0016 #include <DDSegmentation/PolarGridRPhi2.h>
0017
0018
0019
0020 using namespace dd4hep;
0021
0022
0023 Position PolarGridRPhi2::position(const CellID& id) const {
0024 return Position(access()->implementation->position(id));
0025 }
0026
0027
0028 dd4hep::CellID PolarGridRPhi2::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 std::vector<double> PolarGridRPhi2::gridRValues() const {
0037 return access()->implementation->gridRValues();
0038 }
0039
0040
0041 std::vector<double> PolarGridRPhi2::gridPhiValues() const {
0042 return access()->implementation->gridPhiValues();
0043 }
0044
0045 void PolarGridRPhi2::setGridSizeR(double cellSize, int rID) const {
0046 access()->implementation->setGridRValues(cellSize,rID);
0047 }
0048
0049
0050 void PolarGridRPhi2::setGridSizePhi(double cellSize, int phiID) const {
0051 access()->implementation->setGridSizePhi(cellSize,phiID);
0052 }
0053
0054
0055 void PolarGridRPhi2::setGridRValues(std::vector<double> const& rValues) const {
0056 access()->implementation->setGridRValues(rValues);
0057 }
0058
0059
0060 void PolarGridRPhi2::setGridPhiValues(std::vector<double> const& phiValues) const {
0061 access()->implementation->setGridPhiValues(phiValues);
0062 }
0063
0064
0065 double PolarGridRPhi2::offsetR() const {
0066 return access()->implementation->offsetR();
0067 }
0068
0069
0070 double PolarGridRPhi2::offsetPhi() const {
0071 return access()->implementation->offsetPhi();
0072 }
0073
0074
0075 void PolarGridRPhi2::setOffsetR(double offset) const {
0076 access()->implementation->setOffsetR(offset);
0077 }
0078
0079
0080 void PolarGridRPhi2::setOffsetPhi(double offset) const {
0081 access()->implementation->setOffsetPhi(offset);
0082 }
0083
0084
0085 const std::string& PolarGridRPhi2::fieldNameR() const {
0086 return access()->implementation->fieldNameR();
0087 }
0088
0089
0090 const std::string& PolarGridRPhi2::fieldNamePhi() const {
0091 return access()->implementation->fieldNamePhi();
0092 }
0093
0094
0095
0096
0097
0098
0099
0100
0101
0102
0103 std::vector<double> PolarGridRPhi2::cellDimensions(const CellID& id) const {
0104 return access()->implementation->cellDimensions(id);
0105 }