]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TPC/AliTPCcluster.h
Overlap with absorber corrected.
[u/mrichter/AliRoot.git] / TPC / AliTPCcluster.h
CommitLineData
73042f01 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
b19a0509 14#include "AliCluster.h"
73042f01 15
16//_____________________________________________________________________________
b19a0509 17class AliTPCcluster : public AliCluster {
73042f01 18public:
b19a0509 19 AliTPCcluster():AliCluster(){fQ=0;}
20 AliTPCcluster(Int_t *lab, Float_t *hit) : AliCluster(lab,hit) {fQ = hit[4];}
21 void Use() {fQ=-fQ;}
22 void SetQ(Float_t q) {fQ=q;}
73042f01 23
b19a0509 24 Int_t IsUsed() const {return (fQ<0) ? 1 : 0;}
25 Float_t GetQ() const {return fQ;}
73042f01 26
27private:
73042f01 28 Float_t fQ ; //Q of cluster (in ADC counts)
73042f01 29
30 ClassDef(AliTPCcluster,1) // Time Projection Chamber clusters
31};
32
73042f01 33#endif
34
35