Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::CompressionMap Class Reference
Inheritance diagram for Hal::CompressionMap:

Public Member Functions

 CompressionMap (const CompressionMap &map)
 
void Reset (Int_t size)
 
void MarkAsGood (Int_t old_index)
 
void Recalculate ()
 
Int_t GetNewIndex (Int_t old_index) const
 
Int_t GetOldIndex (Int_t new_index) const
 
Int_t GetSize () const
 
Int_t GetNewSize () const
 

Detailed Description

Definition at line 18 of file CompressionMap.h.

Constructor & Destructor Documentation

◆ CompressionMap() [1/2]

Hal::CompressionMap::CompressionMap ( )

Definition at line 15 of file CompressionMap.cxx.

◆ CompressionMap() [2/2]

Hal::CompressionMap::CompressionMap ( const CompressionMap & map)

Definition at line 17 of file CompressionMap.cxx.

◆ ~CompressionMap()

Hal::CompressionMap::~CompressionMap ( )
virtual

Definition at line 56 of file CompressionMap.cxx.

Member Function Documentation

◆ GetNewIndex()

Int_t Hal::CompressionMap::GetNewIndex ( Int_t old_index) const
inline

convert old index to new one

Parameters
old_index
Returns

Definition at line 48 of file CompressionMap.h.

◆ GetNewSize()

Int_t Hal::CompressionMap::GetNewSize ( ) const
inline
Returns
size of array after compression

Definition at line 64 of file CompressionMap.h.

◆ GetOldIndex()

Int_t Hal::CompressionMap::GetOldIndex ( Int_t new_index) const
inline

convert new index to new one

Parameters
new_index
Returns

Definition at line 54 of file CompressionMap.h.

◆ GetSize()

Int_t Hal::CompressionMap::GetSize ( ) const
inline
Returns
size of uncompressed array

Definition at line 59 of file CompressionMap.h.

◆ MarkAsGood()

void Hal::CompressionMap::MarkAsGood ( Int_t old_index)
inline

mark object at given index as good

Parameters
old_index

Definition at line 38 of file CompressionMap.h.

◆ Recalculate()

void Hal::CompressionMap::Recalculate ( )

properly calculates indexes, should be called after last MarkAsGood

Definition at line 35 of file CompressionMap.cxx.

◆ Reset()

void Hal::CompressionMap::Reset ( Int_t size)

should be called before marking objects

Parameters
sizesize of array to compression

Definition at line 26 of file CompressionMap.cxx.


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