@@ -44,8 +44,8 @@ void CheckClustersIOTOF(std::string digiFilePath = "tf3digits.root", std::string
4444 using namespace o2 ::base ;
4545 using namespace o2 ::iotof ;
4646
47- using o2 ::iotof ::Digit ;
4847 using o2 ::iotof ::Cluster ;
48+ using o2 ::iotof ::Digit ;
4949
5050 o2 ::conf ::ConfigurableParam ::updateFromString ("IOTOFBase.segmentedInnerTOF=true;IOTOFBase.segmentedOuterTOF=true;IOTOFBase.enableForwardTOF=false;IOTOFBase.enableBackwardTOF=false" );
5151
@@ -81,7 +81,7 @@ void CheckClustersIOTOF(std::string digiFilePath = "tf3digits.root", std::string
8181 o2 ::dataformats ::MCTruthContainer < o2 ::MCCompLabel > * clsLabels {nullptr };
8282 clsTree -> SetBranchAddress ("TF3ClusterMCTruth" , & clsLabels );
8383 clsTree -> GetEntry (0 );
84-
84+
8585 // Summary of entries in all branches
8686 std ::cout << std ::endl ;
8787 std ::cout << "---> Number of digits: " << digitsArray -> size () << std ::endl ;
@@ -151,7 +151,6 @@ void CheckClustersIOTOF(std::string digiFilePath = "tf3digits.root", std::string
151151 histZCoordDigit -> Fill (globalDigitCoord .Z ());
152152 } // end loop on digits array
153153
154-
155154 // LOOP on : clusters array
156155 std ::cout << "\n\n ----> Starting loop on clusters for ROF " << iROF << " with index " << rofIndex << " and nEntries " << rofNEntries << std ::endl ;
157156 for (unsigned int iCls = rofIndex ; iCls < rofIndex + rofNEntries ; iCls ++ ) {
@@ -170,7 +169,7 @@ void CheckClustersIOTOF(std::string digiFilePath = "tf3digits.root", std::string
170169 segGeom -> detectorToLocal (iRow , iCol , x , z , subDetID );
171170 }
172171
173- o2 ::math_utils ::Point3D < float > localClsCoords (x , y , z ); // local Digit
172+ o2 ::math_utils ::Point3D < float > localClsCoords (x , y , z ); // local Digit
174173 const auto globalClsCoords = tofGeo -> getMatrixL2G (chipID )(localClsCoords ); // convert to global
175174 clsTuple -> Fill ((* clsArray )[iCls ].chipID ,
176175 globalClsCoords .x (),
@@ -204,7 +203,7 @@ void CheckClustersIOTOF(std::string digiFilePath = "tf3digits.root", std::string
204203 segGeom -> detectorToLocal (iRowFromDigit , iColFromDigit , xFromDigit , zFromDigit , iSubDetIDFromDigit );
205204 }
206205
207- o2 ::math_utils ::Point3D < float > localDigitCoordFromDigit (xFromDigit , yFromDigit , zFromDigit ); // local Digit
206+ o2 ::math_utils ::Point3D < float > localDigitCoordFromDigit (xFromDigit , yFromDigit , zFromDigit ); // local Digit
208207 const auto globalDigitCoordFromDigit = tofGeo -> getMatrixL2G (iChipIDFromDigit )(localDigitCoordFromDigit ); // convert to global
209208 histXCoordRes -> Fill (globalClsCoords .x () - globalDigitCoordFromDigit .X ());
210209 histYCoordRes -> Fill (globalClsCoords .y () - globalDigitCoordFromDigit .Y ());
@@ -245,5 +244,4 @@ void CheckClustersIOTOF(std::string digiFilePath = "tf3digits.root", std::string
245244 histTimeRes -> Write ();
246245 outFile -> Write ();
247246 outFile -> Close ();
248-
249247}
0 commit comments