File tree Expand file tree Collapse file tree 5 files changed +104
-113
lines changed
Detectors/Upgrades/ALICE3/FT3 Expand file tree Collapse file tree 5 files changed +104
-113
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments