Skip to content

Commit a856b36

Browse files
sawenzelclaude
andcommitted
Carry the space frame geometry in double
This converts the dimensions, positions and angles of the ALICE space frame from float to double. - FrameStructure.cxx was already half converted: lbox, xxtru1..4, trd1par and dzFB were double while ptrap, ptrd1, ppgon and tpar were float. - B045cut subtracts a double-fed TGeoTrd1 from a float-fed TGeoTrap, so a single composite shape carried both precisions. - The float intermediates make algebraically identical surface expressions land about 0.1 nm apart, which VecGeom rejects with DistanceToOut = -1. - The near-coincident face pairs in the geometry fall from 2255 in 216 mothers to 2110 in 200. - createMaterials() keeps float: MaterialManager::Mixture, Material and Medium take Float_t, and initFieldTrackingParams takes float&. - makeHeatScreen, createWebFrame and createTOFRail are private and called only from this file, so their signatures move with it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> (cherry picked from commit 4f954326933e7f58a4a0c48a7cda18ee809e16f4)
1 parent 6727644 commit a856b36

2 files changed

Lines changed: 116 additions & 116 deletions

File tree

‎Detectors/Passive/include/DetectorsPassive/FrameStructure.h‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ class FrameStructure : public PassiveBase
5353
/** copy constructor (used in MT mode only) */
5454
FrameStructure(const FrameStructure& rhs);
5555

56-
void makeHeatScreen(const char* name, float dyP, int rot1, int rot2);
57-
void createWebFrame(const char* name, float dHz, float theta0, float phi0);
56+
void makeHeatScreen(const char* name, double dyP, int rot1, int rot2);
57+
void createWebFrame(const char* name, double dHz, double theta0, double phi0);
5858
void createMaterials();
59-
TGeoCompositeShape* createTOFRail(float y);
59+
TGeoCompositeShape* createTOFRail(double y);
6060

6161
bool mCaveIsAvailable = false; ///! if the mother volume is available (to hook the frame)
6262

0 commit comments

Comments
 (0)