//_____________________________________________________________________________
class AliTPCclusterMI : public AliCluster {
public:
- AliTPCclusterMI(Bool_t withInfo=kTRUE);
+ AliTPCclusterMI();
AliTPCclusterMI(const AliTPCclusterMI & cluster);
AliTPCclusterMI &operator = (const AliTPCclusterMI & cluster); //assignment operator
AliTPCclusterMI(Int_t *lab, Float_t *hit);
virtual Bool_t IsSortable() const;
virtual Int_t Compare(const TObject* obj) const;
inline void Use(Int_t inc=10);
- virtual Float_t GetX() const { return fX;}
- virtual void SetX(Float_t x) { fX = x;}
virtual Int_t GetDetector() const {return fDetector;}
virtual Int_t GetRow() const {return fRow;}
- virtual void SetDetector(Int_t detector){fDetector = (UChar_t)(detector%256);}
+ virtual void SetDetector(Int_t detector);
virtual void SetRow(Int_t row){fRow = (UChar_t)(row%256);}
virtual void SetTimeBin(Float_t timeBin){ fTimeBin= timeBin;}
virtual void SetPad(Float_t pad){ fPad = pad;}
Float_t GetTimeBin() const { return fTimeBin;}
Float_t GetPad() const { return fPad;}
AliTPCclusterInfo * GetInfo() const { return fInfo;}
- void SetInfo(AliTPCclusterInfo * info) { fInfo = info;}
+ void SetInfo(AliTPCclusterInfo * info);
private:
- Float_t fX; //X position of cluster
+ AliTPCclusterInfo * fInfo; // pointer to the cluster debug info
+ Float_t fTimeBin; //time bin coordinate
+ Float_t fPad; //pad coordinate
Short_t fQ ; //Q of cluster (in ADC counts)
- Char_t fType; //type of the cluster 0 means golden
Short_t fMax; //maximal amplitude in cluster
+ Char_t fType; //type of the cluster 0 means golden
Char_t fUsed; //counter of usage
UChar_t fDetector; //detector number
UChar_t fRow; //row number number
- Float_t fTimeBin; //time bin coordinate
- Float_t fPad; //pad coordinate
- AliTPCclusterInfo * fInfo; // pointer to the cluster debug info
- ClassDef(AliTPCclusterMI,3) // Time Projection Chamber clusters
+ ClassDef(AliTPCclusterMI,5) // Time Projection Chamber clusters
};
void AliTPCclusterMI::Use(Int_t inc)