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 //-------------------------------------------------------
14 #include "AliCluster.h"
16 //_____________________________________________________________________________
17 class AliTPCcluster : public AliCluster {
19 AliTPCcluster():AliCluster(){fQ=0;}
20 AliTPCcluster(Int_t *lab, Float_t *hit) : AliCluster(lab,hit) {fQ = hit[4];}
22 void SetQ(Float_t q) {fQ=q;}
24 Int_t IsUsed() const {return (fQ<0) ? 1 : 0;}
25 Float_t GetQ() const {return fQ;}
28 Float_t fQ ; //Q of cluster (in ADC counts)
30 ClassDef(AliTPCcluster,1) // Time Projection Chamber clusters