@@ -34,7 +34,7 @@ class Layer
3434 auto getZLength () const { return mZLength ; }
3535 auto getZOffset () const { return mZOffset ; }
3636 auto getx2X0 () const { return mX2X0 ; }
37- auto getChipThickness () const { return mChipThickness ; }
37+ auto getChipThickness () const { return mLayerThickness ; }
3838 auto getName () const { return mLayerName ; }
3939 auto getLayout () const { return mLayout ; }
4040 auto getSegments () const { return mStaves ; }
@@ -52,13 +52,19 @@ class Layer
5252 float mZLength ;
5353 float mZOffset {0 .f }; // Of use when fwd layers
5454 float mX2X0 ;
55- float mChipThickness ; // Thickness of the chip in cm, derived from mX2X0 and the radiation length of silicon
55+ float mLayerThickness ; // Thickness of the layer in cm, derived from mX2X0 and the radiation length of silicon
5656 float mSensorThickness ; // Thickness of the sensor in cm, to be subtracted from the chip thickness to get the total module thickness
5757 int mLayout {kBarrel }; // Identifier of the type of layer layout (barrel, disk, barrel segmented, disk segmented)
5858 // 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)
5959 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
6060 int mModulesPerStave {0 }; // Number of modules along a stave
6161 double mTiltAngle {0.0 }; // Tilt angle in degrees to be applied as a rotation around the local center of the stave
62+
63+ static const int sChipsPerRow ; // number of chips per row in module
64+ static const int sChipsPerCol ; // number of chips per col in module
65+ static const double sChipGap ; // gap between chips in module
66+ static const double sModuleGap ; // gap between modules in stave
67+ static const double sChipThickness ; // full thickness of the chip
6268};
6369
6470class ITOFLayer : public Layer
@@ -67,6 +73,8 @@ class ITOFLayer : public Layer
6773 using Layer::Layer;
6874 virtual void createLayer (TGeoVolume* motherVolume) override ;
6975 static std::vector<std::string> mRegister ;
76+
77+ private:
7078};
7179
7280class OTOFLayer : public Layer
@@ -75,6 +83,9 @@ class OTOFLayer : public Layer
7583 using Layer::Layer;
7684 virtual void createLayer (TGeoVolume* motherVolume) override ;
7785 static std::vector<std::string> mRegister ;
86+
87+ static const double sSubStavesDistanceY ;
88+ static const double sSubStavesOverlapX ;
7889};
7990
8091class FTOFLayer : public Layer
0 commit comments