6 // Class that defines the limits of global pad indices.
8 // Authors: David Guez, Ivana Hrivnacova; IPN Orsay
10 #ifndef ALI_MP_V_INDEXED_H
11 #define ALI_MP_V_INDEXED_H
15 #include "AliMpIntPair.h"
17 class AliMpVPadIterator;
19 class AliMpVIndexed : public TObject
22 AliMpVIndexed(const AliMpIntPair& lowLimit, const AliMpIntPair& highLimit);
24 virtual ~AliMpVIndexed();
27 virtual AliMpVPadIterator* CreateIterator() const = 0;
28 virtual AliMpIntPair GlobalIndices(const AliMpIntPair& localIndices) const;
31 void SetLowIndicesLimit(const AliMpIntPair& limit);
32 void SetHighIndicesLimit(const AliMpIntPair& limit);
35 Bool_t HasIndices(const AliMpIntPair& indices) const;
36 Bool_t HasValidIndices() const;
37 AliMpIntPair GetLowIndicesLimit() const;
38 AliMpIntPair GetHighIndicesLimit() const;
42 AliMpIntPair fLowIndicesLimit; // the lowest global pad indices
43 AliMpIntPair fHighIndicesLimit; // the hihgest global pad indices
45 ClassDef(AliMpVIndexed,1) // A motif position
50 inline void AliMpVIndexed::SetLowIndicesLimit(const AliMpIntPair& limit)
51 { fLowIndicesLimit = limit; }
53 inline void AliMpVIndexed::SetHighIndicesLimit(const AliMpIntPair& limit)
54 { fHighIndicesLimit = limit; }
56 inline AliMpIntPair AliMpVIndexed::GetLowIndicesLimit() const
57 { return fLowIndicesLimit; }
59 inline AliMpIntPair AliMpVIndexed::GetHighIndicesLimit() const
60 { return fHighIndicesLimit; }
62 #endif //ALI_MP_V_INDEXED_H