#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;
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
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)
};