]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCmapper.h
Changed back the page title
[u/mrichter/AliRoot.git] / TPC / AliTPCmapper.h
index e70720effb69144754a110862ac6cf8d6b684873..b086cd0a7eb8cd665561e154c8aece1c05a4d3dc 100644 (file)
 #include <TObject.h>
 
 class AliTPCAltroMapping;
-class AliTPCROC;
 
 class AliTPCmapper : public TObject{
 
 public:
 
   AliTPCmapper();
+  AliTPCmapper(const char * dirname);
   virtual ~AliTPCmapper();
 
   AliTPCmapper& operator = (const AliTPCmapper& mapper);
   AliTPCmapper(const AliTPCmapper& mapper);
 
-  void Init();
+  void Init(const char * dirname);
+  //
+  AliTPCAltroMapping **GetAltroMapping() { return fMapping; };
 
   // ALTRO mapping functions
   Int_t GetPad(Int_t patch, Int_t hwAddress) const;
@@ -103,8 +105,8 @@ public:
  private:
 
   Int_t fNside;        // TPC has 2 sides
-  Int_t fNsector;      // TPC has 18 sectors
-  Int_t fNrcu;         // Sector has 6 RCUs
+  Int_t fNsector;      // TPC side has 18 sectors
+  Int_t fNrcu;         // Sector has 6 RCUs (patches)
   Int_t fNbranch;      // RCU has 2 branches
   Int_t fNaltro;       // FEC has 8 ALTROs
   Int_t fNchannel;     // ALTRO has 16 channels
@@ -115,9 +117,8 @@ public:
   Int_t fTpcDdlOffset; // DDL offset for TPC
 
   AliTPCAltroMapping *fMapping[6];    // The ALTRO mapping for each patch (rcu)
-  AliTPCROC *fROC;                    // ROC object containing some relevant functions
 
-  ClassDef(AliTPCmapper,1)
+  ClassDef(AliTPCmapper,2)
 
 };