Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::Array_3< T > Class Template Reference

#include <Array.h>

Inheritance diagram for Hal::Array_3< T >:

Public Member Functions

 Array_3 (Int_t x, Int_t y, Int_t z)
 
 Array_3 (const Array_3< T > &obj)
 
void MakeBigger (Int_t sizeA, Int_t sizeB, Int_t sizeC)
 
Int_t GetSize () const
 
Array_2< T > & operator[] (const int index)
 
Array_2< T > * At (Int_t i) const
 
Array_3< T > & operator= (const Array_3< T > &rhs)
 
Array_3< T > & operator+= (const Array_3< T > &rhs)
 
Get (Int_t A, Int_t B, Int_t C) const
 
IncrementAfter (Int_t A, Int_t B, Int_t C)
 
void Set (Int_t A, Int_t B, Int_t C, T val)
 

Detailed Description

template<typename T>
class Hal::Array_3< T >

3-dim array

Definition at line 199 of file Array.h.

Constructor & Destructor Documentation

◆ Array_3() [1/3]

template<typename T >
Hal::Array_3< T >::Array_3 ( )
inline

Definition at line 203 of file Array.h.

◆ Array_3() [2/3]

template<typename T >
Hal::Array_3< T >::Array_3 ( Int_t x,
Int_t y,
Int_t z )

Definition at line 321 of file Array.cxx.

◆ Array_3() [3/3]

template<typename T >
Hal::Array_3< T >::Array_3 ( const Array_3< T > & obj)

cop constructor

Parameters
obj

Definition at line 313 of file Array.cxx.

◆ ~Array_3()

template<typename T >
virtual Hal::Array_3< T >::~Array_3 ( )
inlinevirtual

Definition at line 266 of file Array.h.

Member Function Documentation

◆ At()

template<typename T >
Array_2< T > * Hal::Array_3< T >::At ( Int_t i) const
inline

return sub-array

Parameters
iindex
Returns
subarray

Definition at line 228 of file Array.h.

◆ Get()

template<typename T >
T Hal::Array_3< T >::Get ( Int_t A,
Int_t B,
Int_t C ) const
inline
Parameters
A1st index
B2nd index
C3rd index
Returns
value

Definition at line 248 of file Array.h.

◆ GetSize()

template<typename T >
Int_t Hal::Array_3< T >::GetSize ( ) const
inline
Returns
size of this array (last dimension)

Definition at line 221 of file Array.h.

◆ IncrementAfter()

template<typename T >
T Hal::Array_3< T >::IncrementAfter ( Int_t A,
Int_t B,
Int_t C )
inline

return and later increment value at given place

Parameters
A1st index
B2nd index
C3rd index
Returns
value before incrementation

Definition at line 256 of file Array.h.

◆ MakeBigger()

template<typename T >
void Hal::Array_3< T >::MakeBigger ( Int_t sizeA,
Int_t sizeB,
Int_t sizeC )

make this array bigger, old values are copied new filled by zeroes

Parameters
sizeA
sizeB
sizeC

Definition at line 263 of file Array.cxx.

◆ operator+=()

template<typename T >
Array_3< T > & Hal::Array_3< T >::operator+= ( const Array_3< T > & rhs)
Parameters
rhs
Returns

Definition at line 302 of file Array.cxx.

◆ operator=()

template<typename T >
Array_3< T > & Hal::Array_3< T >::operator= ( const Array_3< T > & rhs)

operator =

Parameters
rhsto copy
Returns

Definition at line 284 of file Array.cxx.

◆ operator[]()

template<typename T >
Array_2< T > & Hal::Array_3< T >::operator[] ( const int index)
inline

Definition at line 222 of file Array.h.

◆ Set()

template<typename T >
void Hal::Array_3< T >::Set ( Int_t A,
Int_t B,
Int_t C,
T val )
inline

set value

Parameters
A1st index
B2nd index
C3rd index
valvalue

Definition at line 265 of file Array.h.


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