Skip to content

Commit 78eee9e

Browse files
sawenzelclaude
andcommitted
Carry the TRD geometry in double
This converts the TRD volume tree and the constants of TRDBase/GeometryBase.h from float to double. - createVolume forwards to the Double_t* overload of Gsvolu, so the 22 shape arrays and the placement locals move with it. - Derived constants such as CH, CHSV, ANODEPOS, FLENGTH and XETHICK were summed in float while Geometry.cxx rebuilds the same quantities in double; the constants and their 23 constexpr getters are now double. - rotateBack, kTiltAngle, the pad-plane locals and the PadPlane accessors keep float: they are reconstruction values. - Zero-length exits under VecGeom navigation fall from 307310 to 47851 over the same events, and TRD hits go from 96 % to 102 % of TGeo. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent 7fad233 commit 78eee9e

3 files changed

Lines changed: 191 additions & 191 deletions

File tree

‎Detectors/TRD/base/include/TRDBase/Geometry.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class Geometry : public GeometryBase, public o2::detectors::DetMatrixCacheIndire
6464
static const o2::detectors::DetID sDetID;
6565

6666
// helper function to create volumes and registering them automatically
67-
void createVolume(const char* name, const char* shape, int nmed, float* upar, int np);
67+
void createVolume(const char* name, const char* shape, int nmed, double* upar, int np);
6868

6969
Geometry();
7070

0 commit comments

Comments
 (0)