You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -75,44 +82,52 @@ class GeometryTGeo : public o2::detectors::DetMatrixCache
75
82
voidsetOwner(bool v) { mOwner = v; }
76
83
77
84
voidPrint(Option_t* opt = "") const;
78
-
voidPrintChipID(int index, int subDetID, int petalcase, int disk, int lay, int stave, int halfstave) const;
85
+
voidPrintChipID(int index, int subDetID, int petalcase, int disk, int lay, int stave, int halfstave, int mod, int chip) const;
79
86
80
-
intgetLayer(int index) const;
81
-
intgetStave(int index) const;
82
-
intgetHalfStave(int index) const;
83
87
intgetSubDetID(int index) const;
84
88
intgetPetalCase(int index) const;
85
89
intgetDisk(int index) const;
90
+
intgetLayer(int index) const;
91
+
intgetStave(int index) const;
92
+
intgetHalfStave(int index) const;
93
+
intgetModule(int index) const;
94
+
intgetChip(int index) const;
86
95
87
-
/// This routine computes the chip index number from the subDetID, petal, disk, layer, stave /// TODO: retrieve also from chip when chips will be available
96
+
/// This routine computes the chip index number from the subDetID, petal, disk, layer, stave, half stave, module, chip
88
97
/// \param int subDetID The subdetector ID, 0 for VD, 1 for MLOT
89
98
/// \param int petalcase The petal case number for VD, from 0 to 3
90
99
/// \param int disk The disk number for VD, from 0 to 5
91
100
/// \param int lay The layer number. Starting from 0 both for VD and MLOT
92
101
/// \param int stave The stave number for MLOT. Starting from 0
93
102
/// \param int halfstave The half stave number for MLOT. Can be 0 or 1
94
-
intgetChipIndex(int subDetID, int petalcase, int disk, int lay, int stave, int halfstave) const;
103
+
/// \param int module The module number for MLOT, from 0 to 10 (or 20)
104
+
/// \param int chip The chip number for MLOT, from 0 to 8
105
+
unsignedshortgetChipIndex(int subDetID, int petalcase, int disk, int lay, int stave, int halfstave, int mod, int chip) const;
95
106
96
-
/// This routine computes the chip index number from the subDetID, volume, layer, stave /// TODO: retrieve also from chip when chips will be available
107
+
/// This routine computes the chip index number from the subDetID, volume, layer, stave, half stave, module, chip
97
108
/// \param int subDetID The subdetector ID, 0 for VD, 1 for MLOT
98
109
/// \param int volume is needed only with the current configuration for VD where each single element is a volume. // TODO: when the geometry naming scheme will be changed, change this method
99
110
/// \param int lay The layer number for the MLOT. In the current configuration for VD this is not needed. // TODO: when the geometry naming scheme will be changed, change this method
100
111
/// \param int stave The stave number in each layer for MLOT. Starting from 0.
101
112
/// \param int halfstave The half stave number for MLOT. Can be 0 or 1
102
-
intgetChipIndex(int subDetID, int volume, int lay, int stave, int halfstave) const;
113
+
/// \param int module The module number for MLOT, from 0 to 10 (or 20)
114
+
/// \param int chip The chip number for MLOT, from 0 to 8
115
+
unsignedshortgetChipIndex(int subDetID, int volume, int lay, int stave, int halfstave, int mod, int chip) const;
103
116
104
-
/// This routine computes subDetID, petal, disk, layer, stave given the chip index number /// TODO: copute also from chip when chips will be available
117
+
/// This routine computes subDetID, petal, disk, layer, stave, half stave, module, chip, given the chip index number
105
118
/// \param int index The chip index number, starting from 0
106
119
/// \param int subDetID The subdetector ID, 0 for VD, 1 for MLOT
107
120
/// \param int petalcase The petal case number for VD, from 0 to 3
108
121
/// \param int disk The disk number for VD, from 0 to 5
109
122
/// \param int lay The layer number. Starting from 0 both for VD and MLOT
110
123
/// \param int stave The stave number for MLOT. Starting from 0
111
124
/// \param int halfstave The half stave number for MLOT. Can be 0 or 1
0 commit comments