// $Id$
+//-----------------------------------------------------------------------------
/// \class AliMUONDigitStoreVImplIterator
///
/// Implementation of AliMUONVDataIterator for AliMUONDigitStoreVImpl
///
/// \author Laurent Aphecetche, Subatech
///
+//-----------------------------------------------------------------------------
#include "AliMUONDigitStoreVImplIterator.h"
//_____________________________________________________________________________
AliMUONDigitStoreVImplIterator::AliMUONDigitStoreVImplIterator(const AliMUONDigitStoreVImpl* store)
: TIterator(),
-fStore(store),
+fkStore(store),
fFirstDetElemId(100),
fLastDetElemId(1417),
fCathode(2),
Int_t lastDE,
Int_t cathode)
: TIterator(),
-fStore(store),
+fkStore(store),
fFirstDetElemId(firstDE),
fLastDetElemId(lastDE),
fCathode(cathode),
/// 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;
}
if (ix>=0)
{
- d = static_cast<AliMUONVDigit*>(fStore->fDigits->UncheckedAt(ix));
+ d = static_cast<AliMUONVDigit*>(fkStore->fDigits->UncheckedAt(ix));
}
}
else
if (ix>=0)
{
- d = static_cast<AliMUONVDigit*>(fStore->fDigits->UncheckedAt(ix));
+ d = static_cast<AliMUONVDigit*>(fkStore->fDigits->UncheckedAt(ix));
if ( fCathode == 2 || d->Cathode() == fCathode )
{