File indexing completed on 2025-01-30 09:16:56
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 #include <DD4hep/CartesianStripX.h>
0016 #include <DDSegmentation/CartesianStripX.h>
0017
0018 using namespace dd4hep;
0019
0020
0021 Position CartesianStripX::position(const CellID& id) const {
0022 return Position(access()->implementation->position(id));
0023 }
0024
0025
0026 dd4hep::CellID CartesianStripX::cellID(const Position& local, const Position& global,
0027 const VolumeID& volID) const {
0028 return access()->implementation->cellID(local, global, volID);
0029 }
0030
0031
0032 double CartesianStripX::stripSizeX() const { return access()->implementation->stripSizeX(); }
0033
0034
0035 void CartesianStripX::setStripSizeX(double cellSize) const {
0036 access()->implementation->setStripSizeX(cellSize);
0037 }
0038
0039
0040 double CartesianStripX::offsetX() const { return access()->implementation->offsetX(); }
0041
0042
0043 void CartesianStripX::setOffsetX(double offset) const { access()->implementation->setOffsetX(offset); }
0044
0045
0046 const std::string& CartesianStripX::fieldNameX() const { return access()->implementation->fieldNameX(); }
0047
0048
0049 std::vector<double> CartesianStripX::cellDimensions(const CellID& id) const {
0050 return access()->implementation->cellDimensions(id);
0051 }