-class AliTPCclusterLMI {
-
-public:
- AliTPCclusterLMI(){fCZ=fCY=fSigmaZ=fSigmaY=fQ=fMax=fCType=0;}
- Float_t GetZ() const {return (fCZ*0.01);}
- Float_t GetY() const {return (fCY*0.01);}
- Float_t GetSigmaZ() const {return (fSigmaZ*0.02);}
- Float_t GetSigmaY() const {return (fSigmaY*0.02);}
- Int_t GetType() const {return fCType;}
- Int_t GetMax() const {return fMax;}
- Float_t GetQ() const {return fQ;}
- Int_t GelLabel(Int_t i) const {return fLabel[i];}
- //
- void SetY(Float_t y){ fCY = (UShort_t)(TMath::Nint(y*100.));}
- void SetZ(Float_t z){ fCZ = (UShort_t)(TMath::Nint(z*100.));}
- void SetSigmaZ(Float_t sigmaz) {fSigmaZ = (UChar_t)(TMath::Nint(sigmaz*50.));}
- void SetSigmaY(Float_t sigmay) {fSigmaY = (UChar_t)(TMath::Nint(sigmay*50.));}
- void SetQ(Float_t q) {fQ = (UShort_t)q;}
- void SetMax(Float_t max) {fMax = (UShort_t)max;}
- void SetType(Char_t type) {fCType = type;}
- void SetLabels(Int_t labels[3]){fLabel[0] = labels[0];fLabel[1] = labels[1];fLabel[2] = labels[2];}
-
-private:
- Short_t fCZ; // current cluster position Z in cm - 100 mum precision
- Short_t fCY; // current cluster position Y in cm - 100 mum precision
- UChar_t fSigmaZ; // shape Z - normalised shape - normaliziation 1 - precision 2 percent
- UChar_t fSigmaY; // shape Y - normalised shape - normaliziation 1 - precision 2 percent
- UShort_t fQ; // total charge in cluster
- UShort_t fMax; // charge at maximum
- Char_t fCType; // type of the cluster
- Int_t fLabel[3]; // track indexes
- ClassDef(AliTPCclusterLMI,1)
-};
-