Skip to content

Commit 7f7febe

Browse files
authored
add missing flag check for upgrades
1 parent 4f01f9d commit 7f7febe

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Detectors/Upgrades/ALICE3/IOTOF/base/include/IOTOFBase/GeometryTGeo.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,12 @@ class GeometryTGeo : public o2::detectors::DetMatrixCache
6262
static const char* getBTOFChipPattern() { return sBTOFChipName.c_str(); }
6363
static const char* getBTOFSensorPattern() { return sBTOFSensorName.c_str(); }
6464

65+
#ifdef ENABLE_UPGRADES
6566
static const char* composeSymNameIOTOF(int d)
6667
{
6768
return Form("%s_%d", o2::detectors::DetID(o2::detectors::DetID::TF3).getName(), d);
6869
}
70+
#endif
6971

7072
// Inner TOF
7173
static const char* composeITOFSymNameLayer(int d, int layer);

0 commit comments

Comments
 (0)