X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=MUON%2FAliMUONDigitStoreVImplIterator.cxx;h=76aedbd6aafe66c57b1aa8d061b4646910761abb;hb=29cdb6fe3e05c0d8a20a765f60ff8c4a51386b7d;hp=4497a09bf87420b0067eb8c01f1fb4324f66a63c;hpb=caa04e49050e92a73d916eb42af2f441b94f107e;p=u%2Fmrichter%2FAliRoot.git diff --git a/MUON/AliMUONDigitStoreVImplIterator.cxx b/MUON/AliMUONDigitStoreVImplIterator.cxx index 4497a09bf87..76aedbd6aaf 100644 --- a/MUON/AliMUONDigitStoreVImplIterator.cxx +++ b/MUON/AliMUONDigitStoreVImplIterator.cxx @@ -15,12 +15,14 @@ // $Id$ +//----------------------------------------------------------------------------- /// \class AliMUONDigitStoreVImplIterator /// /// Implementation of AliMUONVDataIterator for AliMUONDigitStoreVImpl /// /// \author Laurent Aphecetche, Subatech /// +//----------------------------------------------------------------------------- #include "AliMUONDigitStoreVImplIterator.h" @@ -38,7 +40,7 @@ ClassImp(AliMUONDigitStoreVImplIterator) //_____________________________________________________________________________ AliMUONDigitStoreVImplIterator::AliMUONDigitStoreVImplIterator(const AliMUONDigitStoreVImpl* store) : TIterator(), -fStore(store), +fkStore(store), fFirstDetElemId(100), fLastDetElemId(1417), fCathode(2), @@ -55,7 +57,7 @@ AliMUONDigitStoreVImplIterator::AliMUONDigitStoreVImplIterator(const AliMUONDigi Int_t lastDE, Int_t cathode) : TIterator(), -fStore(store), +fkStore(store), fFirstDetElemId(firstDE), fLastDetElemId(lastDE), fCathode(cathode), @@ -66,35 +68,11 @@ fCurrentCalibParamIndex(-1) /// ctor for partial iteration } -//_____________________________________________________________________________ -AliMUONDigitStoreVImplIterator::AliMUONDigitStoreVImplIterator(const AliMUONDigitStoreVImplIterator& rhs) -: TIterator(rhs), -fStore(rhs.fStore), -fFirstDetElemId(rhs.fFirstDetElemId), -fLastDetElemId(rhs.fLastDetElemId), -fCathode(rhs.fCathode), -fStoreIterator(0x0), -fCurrentCalibParam(0x0), -fCurrentCalibParamIndex(-1) -{ - /// copy ctor - Fatal("AliMUONDigitStoreVImplIterator::copy tor","Not implementeable"); // because there's no clone in TIterator :-( -} - //_____________________________________________________________________________ AliMUONDigitStoreVImplIterator& -AliMUONDigitStoreVImplIterator::operator=(const AliMUONDigitStoreVImplIterator&) -{ - /// assignment operator - Fatal("AliMUONDigitStoreVImplIterator::operator=","Not implementeable"); // because there's no clone in TIterator :-( - return *this; -} - -//_____________________________________________________________________________ -TIterator& AliMUONDigitStoreVImplIterator::operator=(const TIterator&) { - /// overriden assignment operator (imposed by Root's declaration of Titerator ?) + // overriden assignment operator (imposed by Root's declaration of Titerator ?) Fatal("TIterator::operator=","Not implementeable"); // because there's no clone in TIterator :-( return *this; } @@ -130,7 +108,7 @@ AliMUONDigitStoreVImplIterator::Next() if (ix>=0) { - d = static_cast(fStore->fDigits->UncheckedAt(ix)); + d = static_cast(fkStore->fDigits->UncheckedAt(ix)); } } else @@ -144,7 +122,7 @@ AliMUONDigitStoreVImplIterator::Next() if (ix>=0) { - d = static_cast(fStore->fDigits->UncheckedAt(ix)); + d = static_cast(fkStore->fDigits->UncheckedAt(ix)); if ( fCathode == 2 || d->Cathode() == fCathode ) {