AliTOFDecoderV2::operator = (const AliTOFDecoderV2 &source)
{
//operator =
+ if (this == &source) return *this;
+ TObject::operator=(source);
fRawReader = source.fRawReader;
fVerbose = source.fVerbose;
fLogErrors = source.fLogErrors;
for (Int_t i=0; i<fMaxIndex; i++)
for (Int_t j=0; j<kMaxDigitsPerPad; j++)
fDigitMap[i][j]=digitMap.fDigitMap[i][j];
-
+ return *this;
}
value += data[i];
npt++;
}
+ if (npt <= 0) return 0.;
value /= npt;
return value;
AliTOFTDCError::operator = (const AliTOFTDCError &source)
{
/* operator = */
+ if (this == &source) return *this;
+ TObject::operator=(source);
fErrorFlags = source.fErrorFlags;
fTDCID = source.fTDCID;
return *this;
AliTOFTDCHit::operator = (const AliTOFTDCHit &source)
{
/* operator = */
+ if (this == &source) return *this;
+ TObject::operator=(source);
fHitTime = source.fHitTime;
fTOTWidth = source.fTOTWidth;
fChan = source.fChan;