@@ -79,9 +79,10 @@ class Detector : public o2::base::DetImpl<Detector>
7979 kOBModel2 = 9
8080 };
8181
82- static constexpr Int_t sNumberLayers = 7 ; // /< Number of layers in ITSU
83- static constexpr Int_t sNumberInnerLayers = 3 ; // /< Number of inner layers in ITSU
84- static constexpr Int_t sNumberOfWrapperVolumes = 3 ; // /< Number of wrapper volumes
82+ static constexpr Int_t sNumberInnerLayers = 4 ; // /< Number of inner layers in ITS3
83+ static constexpr Int_t sNumberOuterLayers = 4 ; // /< Number of outer layers in ITS3
84+ static constexpr Int_t sNumberLayers = sNumberInnerLayers + sNumberOuterLayers ; // /< Total number of layers in ITS3
85+ static constexpr Int_t sNumberOfWrapperVolumes = 3 ; // /< Number of wrapper volumes
8586
8687 // / Name : Detector Name
8788 // / Active: kTRUE for active detectors (ProcessHits() will be called)
@@ -122,12 +123,6 @@ class Detector : public o2::base::DetImpl<Detector>
122123 // / Base class to create the detector geometry
123124 void ConstructGeometry () override ;
124125
125- // / Creates the Service Barrel (as a simple cylinder) for IB and OB
126- // / \param innerBarrel if true, build IB service barrel, otherwise for OB
127- // / \param dest the mother volume holding the service barrel
128- // / \param mgr the gGeoManager pointer (used to get the material)
129- void createServiceBarrel (const Bool_t innerBarrel, TGeoVolume* dest, const TGeoManager* mgr = gGeoManager );
130-
131126 // / Sets the layer parameters
132127 // / \param nlay layer number
133128 // / \param phi0 layer phi0
@@ -142,23 +137,6 @@ class Detector : public o2::base::DetImpl<Detector>
142137 void defineLayer (Int_t nlay, Double_t phi0, Double_t r, Int_t nladd, Int_t nmod, Double_t lthick = 0 .,
143138 Double_t dthick = 0 ., UInt_t detType = 0 , Int_t buildFlag = 0 ) override ;
144139
145- // / Sets the layer parameters for a "turbo" layer
146- // / (i.e. a layer whose staves overlap in phi)
147- // / \param nlay layer number
148- // / \param phi0 phi of 1st stave
149- // / \param r layer radius
150- // / \param nstav number of staves
151- // / \param nunit IB: number of chips per stave
152- // / \param OB: number of modules per half stave
153- // / \param width stave width
154- // / \param tilt layer tilt angle (degrees)
155- // / \param lthick stave thickness (if omitted, defaults to 0)
156- // / \param dthick detector thickness (if omitted, defaults to 0)
157- // / \param dettypeID ??
158- // / \param buildLevel (if 0, all geometry is build, used for material budget studies)
159- void defineLayerTurbo (Int_t nlay, Double_t phi0, Double_t r, Int_t nladd, Int_t nmod, Double_t width, Double_t tilt,
160- Double_t lthick = 0 ., Double_t dthick = 0 ., UInt_t detType = 0 , Int_t buildFlag = 0 ) override ;
161-
162140 // / Sets the layer parameters for new ITS3 geo
163141 // / \param nlay layer number
164142 // / \param r layer radius
@@ -181,8 +159,7 @@ class Detector : public o2::base::DetImpl<Detector>
181159 // / \param lthick stave thickness
182160 // / \param dthick detector thickness
183161 // / \param dettype detector type
184- virtual void getLayerParameters (Int_t nlay, Double_t& phi0, Double_t& r, Int_t& nladd, Int_t& nmod, Double_t& width,
185- Double_t& tilt, Double_t& lthick, Double_t& mthick, UInt_t& dettype) const ;
162+ virtual void getLayerParameters (Int_t nlay, Double_t& phi0, Double_t& r, Int_t& nladd, Int_t& nmod, Double_t& lthick, Double_t& mthick, UInt_t& dettype) const ;
186163
187164 // / This method is an example of how to add your own point of type Hit to the clones array
188165 o2::itsmft::Hit* addHit (int trackID, int detID, const TVector3& startPos, const TVector3& endPos,
@@ -247,20 +224,9 @@ class Detector : public o2::base::DetImpl<Detector>
247224 void BeginPrimary () override { ; }
248225 void PostTrack () override { ; }
249226 void PreTrack () override { ; }
250- // / Prints out the content of this class in ASCII format
251- // / \param ostream *os The output stream
252- void Print (std::ostream* os) const ;
253-
254- // / Reads in the content of this class in the format of Print
255- // / \param istream *is The input stream
256- void Read (std::istream* is);
257227
258228 // / Returns the number of layers
259229 Int_t getNumberOfLayers () const { return sNumberLayers ; }
260- virtual void setStaveModelIB (Model model) { mStaveModelInnerBarrel = model; }
261- virtual void setStaveModelOB (Model model) { mStaveModelOuterBarrel = model; }
262- virtual Model getStaveModelIB () const { return mStaveModelInnerBarrel ; }
263- virtual Model getStaveModelOB () const { return mStaveModelOuterBarrel ; }
264230
265231 void createOuterBarrel (const Bool_t ob) { mCreateOuterBarrel = ob; };
266232 Bool_t isCreateOuterBarrel () { return mCreateOuterBarrel ; };
@@ -294,16 +260,13 @@ class Detector : public o2::base::DetImpl<Detector>
294260 Double_t mWrapperZSpan [sNumberOfWrapperVolumes ]; // ! Z span of wrapper volume
295261 Int_t* mWrapperLayerId ; // ! Id of wrapper layer to which layer belongs (-1 if not wrapped)
296262
297- Bool_t* mTurboLayer ; // ! True for "turbo" layers
298263 Bool_t* mITS3Layer ; // ! True for new ITS3 layers
299264 Double_t* mLayerPhi0 ; // ! Vector of layer's 1st stave phi in lab
300265 Double_t* mLayerRadii ; // ! Vector of layer radii
301266 Double_t* mLayerZLen ; // ! Vector of layer lengths
302267 Int_t* mStavePerLayer ; // ! Vector of number of staves per layer
303268 Int_t* mUnitPerStave ; // ! Vector of number of "units" per stave
304269 Double_t* mChipThickness ; // ! Vector of chip thicknesses
305- Double_t* mStaveWidth ; // ! Vector of stave width (only used for turbo)
306- Double_t* mStaveTilt ; // ! Vector of stave tilt (only used for turbo)
307270 Double_t* mDetectorThickness ; // ! Vector of detector thicknesses
308271 UInt_t* mChipTypeID ; // ! Vector of detector type id
309272 Int_t* mBuildLevel ; // ! Vector of Material Budget Studies
@@ -312,7 +275,7 @@ class Detector : public o2::base::DetImpl<Detector>
312275 std::vector<o2::itsmft::Hit>* mHits ;
313276
314277 // / We need this as a method to access members
315- void configITS (Detector* its );
278+ void configITS3 ( );
316279
317280 // / Creates all needed arrays
318281 void createAllArrays ();
@@ -349,20 +312,13 @@ class Detector : public o2::base::DetImpl<Detector>
349312
350313 Detector& operator =(const Detector&);
351314
352- Model mStaveModelInnerBarrel ; // ! The stave model for the Inner Barrel
353- Model mStaveModelOuterBarrel ; // ! The stave model for the Outer Barrel
354315 V3Layer** mGeometry ; // ! Geometry
355316 V3Services* mServicesGeometry ; // ! Services Geometry
356317
357318 template <typename Det>
358319 friend class o2 ::base::DetImpl;
359320 ClassDefOverride (Detector, 1 );
360321};
361-
362- // Input and output function for standard C++ input/output.
363- std::ostream& operator <<(std::ostream& os, Detector& source);
364-
365- std::istream& operator >>(std::istream& os, Detector& source);
366322} // namespace its3
367323} // namespace o2
368324
0 commit comments