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 //-------------------------------------------------------
16 #include "AliTPCvtpr.h"
18 //_____________________________________________________________________________
19 class AliTPCclusterKr: public TObject{
22 AliTPCclusterKr(const AliTPCclusterKr & param);//copy constructor
23 AliTPCclusterKr &operator = (const AliTPCclusterKr & param);
27 void SetMax(AliTPCvtpr q){fMax=q;}//set values of max. in cluster
28 void SetADCcluster(Int_t q){fADCcluster=q;}
29 void SetSec(Short_t q){fNsec=q;}
30 void SetNpads(Short_t q){fNpads=q;}
31 void SetSize(){fSize=fCluster.size();}
33 AliTPCvtpr GetMax(){return fMax;}
34 Int_t GetADCcluster(){return fADCcluster;}
35 Short_t GetSec(){return fNsec;}
36 Short_t GetNpads(){return fNpads;}
37 Short_t GetSize(){return fSize;}
39 std::vector< AliTPCvtpr*> fCluster;//cluster contents(adc,nt,np,nr)
42 AliTPCvtpr fMax;//max (ADC,timebin,pad,row) in cluster
43 Int_t fADCcluster; //ADC of cluster
44 Short_t fNsec; //sector of the cluster
45 Short_t fNpads; //number of pads in cluster
46 Short_t fSize; //size of vector
48 ClassDef(AliTPCclusterKr,2) // Time Projection Chamber Kr clusters