]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFReconstructionerV2.cxx
Removed endl from print function. should be supplied by user as wanted.
[u/mrichter/AliRoot.git] / TOF / AliTOFReconstructionerV2.cxx
index ce70672aa93ed9e1f117909ffc677a54cb5c2d1b..7286a91cd7b9644db8d1b79093664580090be602 100644 (file)
@@ -997,3 +997,15 @@ void AliTOFReconstructionerV2::Comparison(Int_t* rtIndex)
     } // if(TOF)
   } // end loop on primary tracks
 }
+
+//__________________________________________________________________
+Bool_t AliTOFReconstructionerV2::operator==(const AliTOFReconstructionerV2 & tofrecv2)const
+{
+  // Equal operator.
+  // Reconstructioner are equal if their fField, fNDummyTracks, fScaleSigmaFactor and fStep are equal
+  if( (fField==tofrecv2.fField)&&(fNDummyTracks==tofrecv2.fNDummyTracks)&&(fScaleSigmaFactor==tofrecv2.fScaleSigmaFactor)&&(fStep==tofrecv2.fStep))
+    return kTRUE ;
+  else
+    return kFALSE ;
+}