AliRoot Core  edcc906 (edcc906)
AliTPCAltroMapping.h
Go to the documentation of this file.
1 #ifndef ALITPCALTROMAPPING_H
2 #define ALITPCALTROMAPPING_H
3 /* Copyright(c) 1998-2003, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice */
5 
13 
14 #include "AliAltroMapping.h"
15 
16 class AliTPCAltroMapping: public AliAltroMapping {
17  public:
19  AliTPCAltroMapping(const char *mappingFile);
20  virtual ~AliTPCAltroMapping();
21 
22  virtual Int_t GetHWAddress(Int_t padrow, Int_t pad, Int_t sector);
23  virtual Int_t GetPadRow(Int_t hwAddress) const;
24  virtual Int_t GetPad(Int_t hwAddress) const;
25  virtual Int_t GetSector(Int_t hwAddress) const;
26 
27  protected:
28  virtual Bool_t ReadMapping();
29  virtual Bool_t CreateInvMapping();
30 
31  Int_t fMinPadRow;
32  Int_t fMaxPadRow;
33  Int_t fMaxPad;
34  Short_t *fInvMapping;
35 
36  private:
37 
38  AliTPCAltroMapping(const AliTPCAltroMapping& mapping);
40 
41  ClassDef(AliTPCAltroMapping,3) // Altro mapping handler class
42 };
43 
44 #endif
Short_t * fInvMapping
! Inverse of fMapping
Int_t fMinPadRow
Minimum Index of pad-row.
virtual Bool_t CreateInvMapping()
AliTPCAltroMapping & operator=(const AliTPCAltroMapping &mapping)
virtual Int_t GetPadRow(Int_t hwAddress) const
virtual Int_t GetSector(Int_t hwAddress) const
virtual Int_t GetPad(Int_t hwAddress) const
Int_t fMaxPadRow
Maximum Index of pad-row.
virtual Int_t GetHWAddress(Int_t padrow, Int_t pad, Int_t sector)
virtual Bool_t ReadMapping()
Int_t fMaxPad
Maximum Index of pad inside row.