@@ -26,7 +26,7 @@ class Layer
2626 public:
2727 Layer () = default ;
2828 Layer (std::string layerName, float rInn, float rOut, float zLength, float zOffset, float layerX2X0,
29- int layout = kBarrel , int nSegments = 0 , float segmentSize = 0.0 , int nSensorsPerSegment = 0 , double tiltAngle = 0. 0 );
29+ int layout = kBarrel , int nStaves = 0 , float staveSize = 0.0 , double staveTiltAngle = 0.0 , int modulesPerStave = 0 );
3030 ~Layer () = default ;
3131
3232 auto getInnerRadius () const { return mInnerRadius ; }
@@ -37,7 +37,7 @@ class Layer
3737 auto getChipThickness () const { return mChipThickness ; }
3838 auto getName () const { return mLayerName ; }
3939 auto getLayout () const { return mLayout ; }
40- auto getSegments () const { return mSegments ; }
40+ auto getSegments () const { return mStaves ; }
4141 static constexpr int kBarrel = 0 ;
4242 static constexpr int kDisk = 1 ;
4343 static constexpr int kBarrelSegmented = 2 ;
@@ -54,10 +54,10 @@ class Layer
5454 float mX2X0 ;
5555 float mChipThickness ;
5656 int mLayout {kBarrel }; // Identifier of the type of layer layout (barrel, disk, barrel segmented, disk segmented)
57- // To be used only in case of the segmented layout, to define the number of segments in phi (for barrel) or in r (for disk)
58- std::pair<int , float > mSegments {0 , 0 .0f }; // Number and size of segments in phi (for barrel) or in r (for disk) in case of segmented layout
59- int mSensorsPerSegment {0 }; // Number of sensors along a segment
60- double mTiltAngle {0.0 }; // Tilt angle in degrees to be applied as a rotation around the local center of the segment
57+ // To be used only in case of the segmented layout, to define the number of staves in phi (for barrel) or in r (for disk)
58+ std::pair<int , float > mStaves {0 , 0 .0f }; // Number and size of staves in phi (for barrel) or in r (for disk) in case of segmented layout
59+ int mModulesPerStave {0 }; // Number of modules along a stave
60+ double mTiltAngle {0.0 }; // Tilt angle in degrees to be applied as a rotation around the local center of the stave
6161};
6262
6363class ITOFLayer : public Layer
0 commit comments