![]() |
AliRoot Core
a565103 (a565103)
|
Iterator on a store composed of a TObjArray of TClonesArrays. More...
#include <AliMUONTOTCAStoreIterator.h>
Public Member Functions | |
AliMUONTOTCAStoreIterator (const TObjArray *a, Int_t firstChamberId, Int_t lastChamberId) | |
AliMUONTOTCAStoreIterator (const AliMUONTOTCAStoreIterator &rhs) | |
AliMUONTOTCAStoreIterator & | operator= (const TIterator &rhs) |
AliMUONTOTCAStoreIterator & | operator= (const AliMUONTOTCAStoreIterator &rhs) |
virtual | ~AliMUONTOTCAStoreIterator () |
virtual const TCollection * | GetCollection () const |
virtual TObject * | Next () |
virtual void | Reset () |
Private Member Functions | |
void | CopyTo (AliMUONTOTCAStoreIterator &destination) const |
Private Attributes | |
const TObjArray * | fkData |
! Pointer to data accessor More... | |
Int_t | fFirstChamberId |
! First chamber to iterate on More... | |
Int_t | fLastChamberId |
! Last chamber to iterate on More... | |
TClonesArray * | fCurrentTCA |
! TClonesArray of the current chamber More... | |
Int_t | fCurrentTCAIndex |
! Current position within fCurrentTCA array More... | |
Int_t | fCurrentChamberId |
! current chamber id More... | |
Iterator on a store composed of a TObjArray of TClonesArrays.
An iterator to access TObject stored in a TObjArray of TClonesArray
Definition at line 20 of file AliMUONTOTCAStoreIterator.h.
AliMUONTOTCAStoreIterator::AliMUONTOTCAStoreIterator | ( | const TObjArray * | a, |
Int_t | firstChamberId, | ||
Int_t | lastChamberId | ||
) |
Standard constructor
Definition at line 37 of file AliMUONTOTCAStoreIterator.cxx.
AliMUONTOTCAStoreIterator::AliMUONTOTCAStoreIterator | ( | const AliMUONTOTCAStoreIterator & | rhs | ) |
Copy constructor
Definition at line 75 of file AliMUONTOTCAStoreIterator.cxx.
|
virtual |
Destructor
Definition at line 91 of file AliMUONTOTCAStoreIterator.cxx.
|
private |
Copy *this to destination
Definition at line 108 of file AliMUONTOTCAStoreIterator.cxx.
Referenced by AliMUONTOTCAStoreIterator(), and operator=().
|
virtual |
The top level collection we're iterating upon, i.e. a TObjArray
Reimplemented in AliMUONDigitStoreV1Iterator.
Definition at line 121 of file AliMUONTOTCAStoreIterator.cxx.
|
virtual |
Find and return next element in the store
Reimplemented in AliMUONDigitStoreV1Iterator.
Definition at line 129 of file AliMUONTOTCAStoreIterator.cxx.
Referenced by AliMUONDigitStoreV1Iterator::Next().
AliMUONTOTCAStoreIterator & AliMUONTOTCAStoreIterator::operator= | ( | const TIterator & | rhs | ) |
Overriden operator= (imposed by Root's declaration of TIterator ?)
Definition at line 55 of file AliMUONTOTCAStoreIterator.cxx.
AliMUONTOTCAStoreIterator & AliMUONTOTCAStoreIterator::operator= | ( | const AliMUONTOTCAStoreIterator & | rhs | ) |
Assignment operator
Definition at line 98 of file AliMUONTOTCAStoreIterator.cxx.
|
virtual |
Reset the iterator
Definition at line 161 of file AliMUONTOTCAStoreIterator.cxx.
|
private |
! current chamber id
Definition at line 44 of file AliMUONTOTCAStoreIterator.h.
|
private |
! TClonesArray of the current chamber
Definition at line 42 of file AliMUONTOTCAStoreIterator.h.
|
private |
! Current position within fCurrentTCA array
Definition at line 43 of file AliMUONTOTCAStoreIterator.h.
|
private |
! First chamber to iterate on
Definition at line 40 of file AliMUONTOTCAStoreIterator.h.
|
private |
! Pointer to data accessor
Definition at line 39 of file AliMUONTOTCAStoreIterator.h.
Referenced by CopyTo(), GetCollection(), and Next().
|
private |
! Last chamber to iterate on
Definition at line 41 of file AliMUONTOTCAStoreIterator.h.