1 #ifndef ALITPCCLUSTERKR_H
2 #define ALITPCCLUSTERKR_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
6 /* $Id: AliTPCclusterKr.h,v 1.8 2008/01/22 16:07:15 matyja Exp $ */
8 //-------------------------------------------------------
9 // TPC Kr Cluster Class
11 // Origin: Adam Matyja, INP PAN, adam.matyja@ifj.edu.pl
12 //-------------------------------------------------------
17 #include "AliTPCvtpr.h"
19 //_____________________________________________________________________________
20 class AliTPCclusterKr: public TObject{
23 AliTPCclusterKr(const AliTPCclusterKr & param);//copy constructor
24 AliTPCclusterKr &operator = (const AliTPCclusterKr & param);
27 void SetCenter();//set center of the cluster weighted by charge
29 void SetMax(AliTPCvtpr q){fMax=q;}//set values of max. in cluster
30 void SetADCcluster(Int_t q){fADCcluster=q;}
31 void SetSec(Short_t q){fSec=q;}
32 void SetNPads(Short_t q){fNPads=q;}
33 void SetNRows(Short_t q){fNRows=q;}
34 void SetSize(){fSize=fCluster.size();}
35 void SetCenterX(Double_t q){fCenterX=q;}
36 void SetCenterY(Double_t q){fCenterY=q;}
37 void SetCenterT(Double_t q){fCenterT=q;}
39 AliTPCvtpr GetMax(){return fMax;}
40 Int_t GetADCcluster(){return fADCcluster;}
41 Short_t GetSec(){return fSec;}
42 Short_t GetNPads(){return fNPads;}
43 Short_t GetNRows(){return fNRows;}
44 Short_t GetSize(){return fSize;}
45 Double_t GetCenterX(){return fCenterX;}
46 Double_t GetCenterY(){return fCenterY;}
47 Double_t GetCenterT(){return fCenterT;}
49 std::vector< AliTPCvtpr*> fCluster;//cluster contents(adc,nt,np,nr)
52 AliTPCvtpr fMax;//max (ADC,timebin,pad,row) in cluster
53 Int_t fADCcluster; //ADC of cluster
54 Short_t fSec; //sector of the cluster
55 Short_t fNPads; //number of pads in cluster
56 Short_t fNRows; //number of rows in cluster
57 Short_t fSize; //size of vector
58 Double_t fCenterX;// X coordinate of the cluster center in cm
59 Double_t fCenterY;// Y coordinate of the cluster center in cm
60 Double_t fCenterT;// time coordinate of the cluster center in timebins
62 ClassDef(AliTPCclusterKr,2) // Time Projection Chamber Kr clusters