AliFMDUShortMap Class Reference
[Basic classes]

#include <AliFMDUShortMap.h>

List of all members.


Detailed Description

Map of an integer per strip.

Definition at line 16 of file AliFMDUShortMap.h.

Public Member Functions

 AliFMDUShortMap (const AliFMDUShortMap &other)
 AliFMDUShortMap (size_t maxDet=kMaxDetectors, size_t maxRing=kMaxRings, size_t maxSec=kMaxSectors, size_t maxStr=kMaxStrips)
virtual ~AliFMDUShortMap ()
AliFMDUShortMapoperator= (const AliFMDUShortMap &other)
virtual void Reset (const UShort_t &val=UShort_t())
virtual UShort_t & operator() (UShort_t detector, Char_t ring, UShort_t sector, UShort_t strip)
virtual const UShort_t & operator() (UShort_t detector, Char_t ring, UShort_t sector, UShort_t strip) const

Protected Attributes

size_t fTotal
UShort_t * fData


Constructor & Destructor Documentation

AliFMDUShortMap::AliFMDUShortMap const AliFMDUShortMap other  ) 
 

Copy constructor

Parameters:
other Object to copy from.

AliFMDUShortMap::AliFMDUShortMap size_t  maxDet = kMaxDetectors,
size_t  maxRing = kMaxRings,
size_t  maxSec = kMaxSectors,
size_t  maxStr = kMaxStrips
 

Constructor

Parameters:
maxDet Number of detectors (3)
maxRing Number of rings (2)
maxSec Number of sectors (40)
maxStr Number of strips (20)

virtual AliFMDUShortMap::~AliFMDUShortMap  )  [inline, virtual]
 

Destructor

Definition at line 32 of file AliFMDUShortMap.h.


Member Function Documentation

virtual const UShort_t& AliFMDUShortMap::operator() UShort_t  detector,
Char_t  ring,
UShort_t  sector,
UShort_t  strip
const [virtual]
 

Access operator

Parameters:
detector Detector
ring Ring
sector Sector
strip Strip
Returns:
value stored for the strip

virtual UShort_t& AliFMDUShortMap::operator() UShort_t  detector,
Char_t  ring,
UShort_t  sector,
UShort_t  strip
[virtual]
 

Access operator

Parameters:
detector Detector
ring Ring
sector Sector
strip Strip
Returns:
reference value stored for the strip

AliFMDUShortMap& AliFMDUShortMap::operator= const AliFMDUShortMap other  ) 
 

Assignment operator

Parameters:
other Object to assign from
Returns:
reference to this object.

virtual void AliFMDUShortMap::Reset const UShort_t &  val = UShort_t()  )  [virtual]
 

Reset to value

Parameters:
val Value to reset from


Member Data Documentation

UShort_t* AliFMDUShortMap::fData [protected]
 

Definition at line 62 of file AliFMDUShortMap.h.

size_t AliFMDUShortMap::fTotal [protected]
 

Definition at line 61 of file AliFMDUShortMap.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 24 17:11:23 2006 for ALICE FMD Off-line by  doxygen 1.4.6