1 #ifndef ALIFMDALTROMAPPING_H
2 #define ALIFMDALTROMAPPING_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights
6 * Latest changes by Christian Holm Christensen <cholm@nbi.dk>
8 * See cxx source for full Copyright notice
10 #ifndef ALIALTROMAPPING_H
11 # include <AliAltroMapping.h>
13 #ifndef ALIFMDUSHORTMAP_H
14 # include "AliFMDUShortMap.h"
20 class AliFMDAltroMapping : public AliAltroMapping
24 Bool_t Hardware2Detector(UInt_t ddl, UInt_t hwaddr,
25 UShort_t& det, Char_t& ring,
26 UShort_t& sec, UShort_t& str) const;
27 Bool_t Detector2Hardware(UShort_t det, Char_t ring,
28 UShort_t sec, UShort_t str,
29 UInt_t& ddl, UInt_t& hwaddr) const;
30 Int_t GetHWAdress(Int_t sector, Int_t str, Int_t ring) const
32 return GetHWAdress(sector, str, ring);
34 Int_t GetHWAddress(Int_t sector, Int_t str, Int_t ring) const;
35 Int_t GetPadRow(Int_t hwaddr) const;
36 Int_t GetPad(Int_t hwaddr) const;
37 Int_t GetSector(Int_t hwaddr) const;
39 virtual Bool_t ReadMapping();
40 virtual void DeleteMappingArrays();
42 ClassDef(AliFMDAltroMapping, 1) // Read raw FMD Altro data
46 //____________________________________________________________________