99// granted to it by virtue of its status as an Intergovernmental Organization
1010// or submit itself to any jurisdiction.
1111
12- /// \file CheckSuperAlpideSegmentTrans .C
12+ /// \file CheckMosaixSegmentTrans .C
1313/// \brief Simple macro to check ITS3 Alpide Trans
1414
1515#if !defined(__CLING__ ) || defined(__ROOTCLING__ )
2626#include "TStyle.h"
2727#include "TTree.h"
2828
29- #include "ITS3Base/SegmentationSuperAlpide .h"
29+ #include "ITS3Base/SegmentationMosaix .h"
3030#include "ITS3Base/SpecsV2.h"
3131
3232#endif
@@ -37,11 +37,11 @@ constexpr float PI = 3.14159274101257324e+00f;
3737constexpr float Rad2Deg = 180.f / PI ;
3838constexpr float Deg2Rad = 1. / Rad2Deg ;
3939
40- constexpr auto nRows {SegmentationSuperAlpide ::mNRows };
41- constexpr auto nCols {SegmentationSuperAlpide ::mNCols };
42- constexpr auto fLength {SegmentationSuperAlpide ::mLength };
43- constexpr auto fWidth {SegmentationSuperAlpide ::mWidth };
44- std ::array < SegmentationSuperAlpide , 3 > mSuperSegmentations {0 , 1 , 2 };
40+ constexpr auto nRows {SegmentationMosaix ::mNRows };
41+ constexpr auto nCols {SegmentationMosaix ::mNCols };
42+ constexpr auto fLength {SegmentationMosaix ::mLength };
43+ constexpr auto fWidth {SegmentationMosaix ::mWidth };
44+ const std ::array < SegmentationMosaix , 3 > mMosaixSegmentations {0 , 1 , 2 };
4545
4646TH2 * DrawReverseBins (TH2 * h )
4747{
@@ -84,7 +84,7 @@ void DrawXAxisCol(TH1* h)
8484 newaxis -> Draw ();
8585}
8686
87- void CheckSuperAlpideSegmentTrans ()
87+ void CheckMosaixSegmentTrans ()
8888{
8989 gStyle -> SetOptStat (1111111 );
9090
@@ -141,10 +141,10 @@ void CheckSuperAlpideSegmentTrans()
141141 g_arc_inner -> AddPoint (x_inner , y_inner );
142142 g_arc_outer -> AddPoint (x_outer , y_outer );
143143 // Test Segmentation
144- mSuperSegmentations [iLayer ].curvedToFlat (x_inner , y_inner , x_inner_flat , y_inner_flat );
145- mSuperSegmentations [iLayer ].flatToCurved (x_inner_flat , y_inner_flat , x_inner_curved , y_inner_curved );
146- mSuperSegmentations [iLayer ].curvedToFlat (x_outer , y_outer , x_outer_flat , y_outer_flat );
147- mSuperSegmentations [iLayer ].flatToCurved (x_outer_flat , y_outer_flat , x_outer_curved , y_outer_curved );
144+ mMosaixSegmentations [iLayer ].curvedToFlat (x_inner , y_inner , x_inner_flat , y_inner_flat );
145+ mMosaixSegmentations [iLayer ].flatToCurved (x_inner_flat , y_inner_flat , x_inner_curved , y_inner_curved );
146+ mMosaixSegmentations [iLayer ].curvedToFlat (x_outer , y_outer , x_outer_flat , y_outer_flat );
147+ mMosaixSegmentations [iLayer ].flatToCurved (x_outer_flat , y_outer_flat , x_outer_curved , y_outer_curved );
148148 g_arc_inner_flat -> AddPoint (x_inner_flat , y_inner_flat );
149149 g_arc_outer_flat -> AddPoint (x_outer_flat , y_outer_flat );
150150 h_f2c_res -> Fill (x_inner - x_inner_curved , y_inner - y_inner_curved );
@@ -202,9 +202,9 @@ void CheckSuperAlpideSegmentTrans()
202202 for (int iCol {0 }; iCol < nCols ; ++ iCol ) {
203203 float xRow {0 }, zCol {0 };
204204 int iiRow {0 }, iiCol {0 };
205- auto v1 = mSuperSegmentations [iLayer ].detectorToLocal (iRow , iCol , xRow , zCol );
206- auto v2 = mSuperSegmentations [iLayer ].localToDetector (xRow , zCol , iiRow ,
207- iiCol );
205+ auto v1 = mMosaixSegmentations [iLayer ].detectorToLocal (iRow , iCol , xRow , zCol );
206+ auto v2 = mMosaixSegmentations [iLayer ].localToDetector (xRow , zCol , iiRow ,
207+ iiCol );
208208 // Info("L2D",
209209 // "iRow=%d, iCol=%d --d2l(%s)--> xRow=%f, zCol=%f --l2d(%s)--> "
210210 // "iiRow=%d, iiCol=%d",
0 commit comments