X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=TOF%2FAliTOFReconstructionerV2.cxx;h=7286a91cd7b9644db8d1b79093664580090be602;hb=000d397e9b121f5f0a7a4db818e16246b78a441b;hp=ce70672aa93ed9e1f117909ffc677a54cb5c2d1b;hpb=bf6bf84c4b84f03447f8f63d2934a7b706ba1cc6;p=u%2Fmrichter%2FAliRoot.git diff --git a/TOF/AliTOFReconstructionerV2.cxx b/TOF/AliTOFReconstructionerV2.cxx index ce70672aa93..7286a91cd7b 100644 --- a/TOF/AliTOFReconstructionerV2.cxx +++ b/TOF/AliTOFReconstructionerV2.cxx @@ -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 ; +}