AliFMDAltroMapping.h

Go to the documentation of this file.
00001 #ifndef ALIFMDALTROMAPPING_H
00002 #define ALIFMDALTROMAPPING_H
00003 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights
00004  * reserved. 
00005  *
00006  * Latest changes by Christian Holm Christensen <cholm@nbi.dk>
00007  *
00008  * See cxx source for full Copyright notice                               
00009  */
00010 #ifndef ALIALTROMAPPING_H
00011 # include <AliAltroMapping.h>
00012 #endif
00013 #ifndef ALIFMDUSHORTMAP_H
00014 # include "AliFMDUShortMap.h"
00015 #endif
00016 #ifndef ROOT_TArrayI
00017 # include <TArrayI.h>
00018 #endif
00019 
00020 //____________________________________________________________________
00036 class AliFMDAltroMapping : public AliAltroMapping
00037 {
00038 public:
00040   AliFMDAltroMapping();
00049   Bool_t Hardware2Detector(UInt_t    ddl, UInt_t    hwaddr, 
00050                            UShort_t& det, Char_t&   ring, 
00051                            UShort_t& sec, UShort_t& str) const;
00060   Bool_t Detector2Hardware(UShort_t  det, Char_t    ring, 
00061                            UShort_t  sec, UShort_t  str,
00062                            UInt_t&   ddl, UInt_t&   hwaddr) const;
00068   Int_t  GetHWAdress(Int_t sector, Int_t str, Int_t ring) const
00069   {
00070     return GetHWAddress(sector, str, ring);
00071   }
00077   Int_t  GetHWAddress(Int_t sector, Int_t str, Int_t ring) const;
00081   Int_t  GetPadRow(Int_t hwaddr) const;
00085   Int_t  GetPad(Int_t hwaddr) const;
00089   Int_t  GetSector(Int_t hwaddr) const;
00090 protected:
00093   virtual Bool_t ReadMapping();
00095   virtual void   DeleteMappingArrays();
00096   
00097   ClassDef(AliFMDAltroMapping, 1) // Read raw FMD Altro data 
00098 };
00099 
00100 #endif
00101 //____________________________________________________________________
00102 //
00103 // Local Variables:
00104 //   mode: C++
00105 // End:
00106 //
00107 // EOF
00108 //

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