Skip to content

Commit 66bc1c8

Browse files
committed
Update FT3
1 parent d890d41 commit 66bc1c8

File tree

5 files changed

+104
-113
lines changed

5 files changed

+104
-113
lines changed

Detectors/Upgrades/ALICE3/FT3/base/include/FT3Base/GeometryTGeo.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,6 @@ class GeometryTGeo : public o2::itsmft::GeometryTGeo
101101
static const char* composeSymNameSensor(Int_t d, Int_t lr);
102102

103103
protected:
104-
static constexpr int MAXLAYERS = 15; ///< max number of active layers
105-
106-
Int_t mNumberOfLayers; ///< number of layers
107104
static std::string sInnerVolumeName; ///< Mother inner volume name
108105
static std::string sVolumeName; ///< Mother volume name
109106
static std::string sLayerName; ///< Layer name

Detectors/Upgrades/ALICE3/FT3/simulation/include/FT3Simulation/Detector.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class Detector : public o2::base::DetImpl<Detector>
109109
void PreTrack() override { ; }
110110

111111
/// Returns the number of layers
112-
Int_t getNumberOfLayers() const { return mNumberOfLayers; }
112+
size_t getNumberOfLayers() const { return mLayerName.size(); }
113113

114114
void buildBasicFT3(const FT3BaseParam& param);
115115
void buildFT3V1();
@@ -119,14 +119,11 @@ class Detector : public o2::base::DetImpl<Detector>
119119
void buildFT3ScopingV3();
120120
void buildFT3FromFile(std::string);
121121

122-
GeometryTGeo* mGeometryTGeo; //! access to geometry details
123-
124122
void exportLayout();
125123

126124
protected:
127125
std::vector<Int_t> mLayerID;
128126
std::vector<std::vector<TString>> mLayerName;
129-
Int_t mNumberOfLayers;
130127

131128
private:
132129
/// this is transient data about track passing the sensor

0 commit comments

Comments
 (0)