]>
Commit | Line | Data |
---|---|---|
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 */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
8 | //------------------------------------------------------- | |
9 | // TPC Cluster Class | |
10 | // | |
11 | // Origin: Iouri Belikov, CERN, Jouri.Belikov@cern.ch | |
12 | //------------------------------------------------------- | |
13 | ||
14 | #include "TMath.h" | |
15 | #include "AliCluster.h" | |
16 | ||
17 | //_____________________________________________________________________________ | |
18 | class AliTPCcluster : public AliCluster { | |
19 | public: | |
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;} | |
24 | ||
25 | Int_t IsUsed() const {return (fQ<0) ? 1 : 0;} | |
26 | Float_t GetQ() const {return TMath::Abs(fQ);} | |
27 | ||
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); | |
30 | ||
31 | private: | |
32 | Float_t fQ ; //Q of cluster (in ADC counts) | |
33 | ||
34 | ClassDef(AliTPCcluster,1) // Time Projection Chamber clusters | |
35 | }; | |
36 | ||
37 | #endif | |
38 | ||
39 |