HLocation
class description - source file - inheritance tree (.pdf)
public:
HLocation()
HLocation(HLocation& aLoc)
~HLocation()
static TClass* Class()
void Dump()
Int_t getIndex(Int_t aIdx)
TArrayI* getIndexes()
Int_t getLinearIndex(TArrayI* sizes)
Int_t getLinearIndex(int* sizes, int n)
Int_t getNIndex()
Int_t getOffset()
Int_t getUncheckedIndex(Int_t aIdx)
void incIndex(Int_t nIndex)
virtual TClass* IsA() const
int operator++()
void operator+=(Int_t shift)
void operator--()
void operator-=(Int_t shift)
HLocation& operator=(HLocation& loc)
Int_t& operator[](Int_t aIdx)
void readIndexes(HLocation& loc)
void set(Int_t nInd, Int_t i1 = 0, Int_t i2 = 0, Int_t i3 = 0, Int_t i4 = 0, Int_t i5 = 0)
void setIndex(Int_t aIdx, Int_t aValue)
void setNIndex(Int_t nIdx)
void setOffset(Int_t aOfs)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
protected:
TArrayI fIndexes High indexes indicating the location
Int_t fOffset Less significant index of the location
HLocation
ATENCION! Se ha eliminado el index check en operator[]
A location is a set of indexes defining the location of a particular
data object within the HEvent structure; so within a loop is recommended to
directly use one HLocation instead of a set of indexes (i,j,k,l...) (and
better an HIterator instead of HLocation).
An HEvent holds the data corresponding to an event, those data are arranged
in categories (mdc raw data, mdc cal data, rich rings,...) which are objects
instantianting one HCategory, to access one of these categories the user
can call HEvent::getCategory(). Within the categories, each data object has
a location (given by an object instantiating HLocation) which identifies
that object in the category (in some sense, the location is a generalized
index).
Int_t getLinearIndex(Int_t *sizes,Int_t n)
Int_t getLinearIndex(TArrayI *sizes)
void set(Int_t nIndex, Int_t i1, Int_t i2, Int_t i3, Int_t i4, Int_t i5)
void incIndex(Int_t nIndex)
Increments the index nIndex and sets all the following indexes to 0
void readIndexes(HLocation &loc)
Sets the loc.getNIndex() first indexes to the value given in loc
and the others are set to 0
void Dump(void)
Dumps the object to cout in the format:
index1:index2:....:offset
Inline Functions
void ~HLocation()
HLocation HLocation()
HLocation HLocation(HLocation& aLoc)
void setNIndex(Int_t nIdx)
void setOffset(Int_t aOfs)
Int_t getIndex(Int_t aIdx)
Int_t getUncheckedIndex(Int_t aIdx)
void setIndex(Int_t aIdx, Int_t aValue)
Int_t getNIndex()
TArrayI* getIndexes()
Int_t getOffset()
void operator+=(Int_t shift)
int operator++()
void operator-=(Int_t shift)
void operator--()
Int_t& operator[](Int_t aIdx)
HLocation& operator=(HLocation& loc)
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
Author: Manuel Sanchez
Last update: 20/08/99 by R. Holzmann
Copyright GENP (Univ. Santiago de Compostela)
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.