File indexing completed on 2025-02-22 09:36:49
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018 #include <DDSegmentation/NoSegmentation.h>
0019
0020 namespace dd4hep {
0021 namespace DDSegmentation {
0022
0023 NoSegmentation::NoSegmentation(const std::string& cellEncoding) :
0024 Segmentation(cellEncoding)
0025 {
0026 _type = "NoSegmentation";
0027 _description = "None Segmentation";
0028 }
0029
0030 NoSegmentation::NoSegmentation(const BitFieldCoder* decode) : Segmentation(decode)
0031 {
0032 _type = "NoSegmentation";
0033 _description = "None Segmentation";
0034 }
0035
0036 NoSegmentation::~NoSegmentation()
0037 { }
0038
0039 Vector3D NoSegmentation::position(const CellID& ) const
0040 {
0041 Vector3D cellPosition{0,0,0};
0042 return cellPosition;
0043 }
0044
0045 CellID NoSegmentation::cellID(const Vector3D& , const Vector3D& , const VolumeID& vID) const {
0046 return vID;
0047 }
0048
0049
0050 }
0051 }
0052