AliFMDUShortMap.h

Go to the documentation of this file.
00001 #ifndef ALIFMDUSHORTMAP_H
00002 #define ALIFMDUSHORTMAP_H
00003 /* Copyright(c) 1998-2000, ALICE Experiment at CERN, All rights
00004  * reserved. 
00005  *
00006  * See cxx source for full Copyright notice                               
00007  */
00008 #ifndef ALIFMDMAP_H
00009 # include "AliFMDMap.h"
00010 #endif 
00011 //____________________________________________________________________
00016 class AliFMDUShortMap : public AliFMDMap
00017 {
00018 public:
00021   AliFMDUShortMap(const AliFMDUShortMap& other);
00027   AliFMDUShortMap(size_t maxDet = kMaxDetectors, 
00028                   size_t maxRing= kMaxRings, 
00029                   size_t maxSec = kMaxSectors, 
00030                   size_t maxStr = kMaxStrips);
00032   virtual ~AliFMDUShortMap() { delete [] fData; }
00036   AliFMDUShortMap& operator=(const AliFMDUShortMap& other);
00039   virtual void Reset(const UShort_t& val=UShort_t());
00046   virtual UShort_t& operator()(UShort_t detector, 
00047                                Char_t   ring, 
00048                                UShort_t sector, 
00049                                UShort_t strip);
00056   virtual const UShort_t& operator()(UShort_t detector, 
00057                                      Char_t   ring, 
00058                                      UShort_t sector, 
00059                                      UShort_t strip) const;
00060  protected:
00061   size_t    fTotal; // Total number of entries 
00062   UShort_t* fData;  // [fTotal] The data 
00063   ClassDef(AliFMDUShortMap, 2) // Cache of edep,hit information per strip
00064 };
00065 
00066 #endif 
00067 //____________________________________________________________________
00068 //
00069 // Local Variables:
00070 //   mode: C++
00071 // End:
00072 //
00073 // EOF
00074 //
00075 
00076 

Generated on Fri Mar 24 17:11:21 2006 for ALICE FMD Off-line by  doxygen 1.4.6