1 #ifndef ALITPCCLUSTER_H
2 #define ALITPCCLUSTER_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 //-------------------------------------------------------
11 // Origin: Iouri Belikov, CERN, Jouri.Belikov@cern.ch
12 //-------------------------------------------------------
15 #include "AliCluster.h"
17 //_____________________________________________________________________________
18 class AliTPCcluster : public AliCluster {
20 AliTPCcluster():AliCluster(),fQ(0){}
21 AliTPCcluster(Int_t *lab, Float_t *hit);
22 void Use(Int_t = 0) {fQ=-fQ;}
23 void SetQ(Float_t q) {fQ=q;}
25 Int_t IsUsed() const {return (fQ<0) ? 1 : 0;}
26 Float_t GetQ() const {return TMath::Abs(fQ);}
28 static Double_t SigmaY2(Double_t r, Double_t tgl, Double_t pt);
29 static Double_t SigmaZ2(Double_t r, Double_t tgl);
32 Float_t fQ ; //Q of cluster (in ADC counts)
34 ClassDef(AliTPCcluster,1) // Time Projection Chamber clusters