AliRoot Core  3abf5b4 (3abf5b4)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMpVIndexed Class Referenceabstract

Base class that defines the limits of global pad indices. More...

#include <AliMpVIndexed.h>

Inheritance diagram for AliMpVIndexed:

Public Member Functions

 AliMpVIndexed ()
 
virtual ~AliMpVIndexed ()
 
virtual AliMpVPadIteratorCreateIterator () const =0
 Create iterator over this element. More...
 
virtual MpPair_t GlobalIndices (MpPair_t localIndices) const
 
virtual Int_t GlobalIx (Int_t localIx) const
 
virtual Int_t GlobalIy (Int_t localIy) const
 
void SetLowIndicesLimit (MpPair_t limit, Bool_t valid=true)
 
void SetLowIndicesLimit (Int_t ix, Int_t iy, Bool_t valid=true)
 
void SetHighIndicesLimit (MpPair_t limit, Bool_t valid=true)
 
void SetHighIndicesLimit (Int_t ix, Int_t iy, Bool_t valid=true)
 
Bool_t HasIndices (MpPair_t indices) const
 
Bool_t HasIndices (Int_t ix, Int_t iy) const
 
Bool_t HasValidIndices () const
 
MpPair_t GetLowIndicesLimit () const
 
Int_t GetLowLimitIx () const
 
Int_t GetLowLimitIy () const
 
Bool_t IsLowLimitValid () const
 
MpPair_t GetHighIndicesLimit () const
 
Int_t GetHighLimitIx () const
 
Int_t GetHighLimitIy () const
 
Bool_t IsHighLimitValid () const
 

Private Attributes

MpPair_t fLowLimit
 the lowest global pad indices More...
 
MpPair_t fHighLimit
 the highest global pad indices More...
 
Bool_t fLowValid
 true, if low indices limit is set More...
 
Bool_t fHighValid
 true, if high indices imit is set More...
 

Detailed Description

Base class that defines the limits of global pad indices.

Author
David Guez, Ivana Hrivnacova; IPN Orsay

Definition at line 22 of file AliMpVIndexed.h.

Constructor & Destructor Documentation

AliMpVIndexed::AliMpVIndexed ( )

Default constructor

Definition at line 35 of file AliMpVIndexed.cxx.

AliMpVIndexed::~AliMpVIndexed ( )
virtual

Destructor

Definition at line 46 of file AliMpVIndexed.cxx.

Member Function Documentation

virtual AliMpVPadIterator* AliMpVIndexed::CreateIterator ( ) const
pure virtual

Create iterator over this element.

Implemented in AliMpRow, AliMpVRowSegment, and AliMpMotifPosition.

MpPair_t AliMpVIndexed::GetHighIndicesLimit ( ) const

Return high indices limit

Definition at line 181 of file AliMpVIndexed.cxx.

Referenced by AliMpPCB::Clone(), and AliMpPCB::Copy().

MpPair_t AliMpVIndexed::GlobalIndices ( MpPair_t  localIndices) const
virtual
Int_t AliMpVIndexed::GlobalIx ( Int_t  localIx) const
virtual

Return the global indices ix corresponding to the given local indices

Definition at line 60 of file AliMpVIndexed.cxx.

Int_t AliMpVIndexed::GlobalIy ( Int_t  localIy) const
virtual

Return the global indices iy corresponding to the given local indices

Definition at line 69 of file AliMpVIndexed.cxx.

Bool_t AliMpVIndexed::HasIndices ( MpPair_t  indices) const

Return true in the specified indices are within the limits.

Definition at line 113 of file AliMpVIndexed.cxx.

Referenced by AliMpSectorSegmentation::FindMotifPosition(), and AliMpMotifPosition::HasPadByIndices().

Bool_t AliMpVIndexed::HasIndices ( Int_t  ix,
Int_t  iy 
) const

Return true in the specified indices are within the limits.

Definition at line 124 of file AliMpVIndexed.cxx.

Bool_t AliMpVIndexed::HasValidIndices ( ) const

Returns true if both indices limits have valid values.

Definition at line 135 of file AliMpVIndexed.cxx.

Referenced by AliMpRowSegment::SetGlobalIndices().

Bool_t AliMpVIndexed::IsHighLimitValid ( ) const

Return true, if high indices limit is set

Definition at line 211 of file AliMpVIndexed.cxx.

Referenced by AliMpRowSegmentLSpecial::SetIndicesToMotifPosition(), and AliMpRowSegmentRSpecial::SetIndicesToMotifPosition().

Bool_t AliMpVIndexed::IsLowLimitValid ( ) const

Return true, if low indices limit is set

Definition at line 173 of file AliMpVIndexed.cxx.

void AliMpVIndexed::SetHighIndicesLimit ( Int_t  ix,
Int_t  iy,
Bool_t  valid = true 
)

Set high indices limit

Definition at line 104 of file AliMpVIndexed.cxx.

void AliMpVIndexed::SetLowIndicesLimit ( Int_t  ix,
Int_t  iy,
Bool_t  valid = true 
)

Set low indices limit

Definition at line 86 of file AliMpVIndexed.cxx.

Member Data Documentation

MpPair_t AliMpVIndexed::fHighLimit
private

the highest global pad indices

Definition at line 62 of file AliMpVIndexed.h.

Referenced by GetHighIndicesLimit(), GetHighLimitIx(), GetHighLimitIy(), and SetHighIndicesLimit().

Bool_t AliMpVIndexed::fHighValid
private

true, if high indices imit is set

Definition at line 64 of file AliMpVIndexed.h.

Referenced by HasValidIndices(), IsHighLimitValid(), and SetHighIndicesLimit().

MpPair_t AliMpVIndexed::fLowLimit
private

the lowest global pad indices

Definition at line 61 of file AliMpVIndexed.h.

Referenced by GetLowIndicesLimit(), GetLowLimitIx(), GetLowLimitIy(), GlobalIndices(), and SetLowIndicesLimit().

Bool_t AliMpVIndexed::fLowValid
private

true, if low indices limit is set

Definition at line 63 of file AliMpVIndexed.h.

Referenced by HasValidIndices(), IsLowLimitValid(), and SetLowIndicesLimit().


The documentation for this class was generated from the following files: