File indexing completed on 2025-01-18 09:55:20
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013 #ifndef DDDIGI_SEGMENTATIONS_CARTESIANGRIDXY_H
0014 #define DDDIGI_SEGMENTATIONS_CARTESIANGRIDXY_H
0015
0016
0017 #include <DDDigi/DigiSegmentation.h>
0018 #include <DD4hep/CartesianGridXY.h>
0019 #include <DDSegmentation/CartesianGridXY.h>
0020
0021
0022 namespace dd4hep {
0023
0024
0025 namespace digi {
0026
0027 template <> class cell_data<CartesianGridXY> : public DigiCellData {
0028 public:
0029 CellID x_cid {0}, y_cid {0};
0030 CellID x_bin {0}, y_bin {0};
0031 };
0032
0033 template <> class segmentation_data<CartesianGridXY> {
0034 public:
0035 DDSegmentation::CartesianGridXY* segmentation_xy {0};
0036 double x_grid_size {0.0};
0037 double x_offset {0.0};
0038 double y_grid_size {0.0};
0039 double y_offset {0.0};
0040 CellID x_mask {0};
0041 CellID y_mask {0};
0042 int x_f_offset {0};
0043 int y_f_offset {0};
0044 };
0045
0046 }
0047 }
0048 #endif