]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TPC/AliTPCclusterKr.h
Undo previous commit of this file
[u/mrichter/AliRoot.git] / TPC / AliTPCclusterKr.h
CommitLineData
9a1e27fe 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 */
5
6/* $Id: AliTPCclusterKr.h,v 1.8 2008/01/22 16:07:15 matyja Exp $ */
7
8//-------------------------------------------------------
9// TPC Kr Cluster Class
10//
11// Origin: Adam Matyja, INP PAN, adam.matyja@ifj.edu.pl
12//-------------------------------------------------------
13
14#include <vector>
15#include "TObject.h"
16#include "AliTPCvtpr.h"
17
18//_____________________________________________________________________________
19class AliTPCclusterKr: public TObject{
20public:
21 AliTPCclusterKr();
22 AliTPCclusterKr(const AliTPCclusterKr & param);//copy constructor
23 AliTPCclusterKr &operator = (const AliTPCclusterKr & param);
24 ~AliTPCclusterKr();
25
26
27 void SetMax(AliTPCvtpr q){fMax=q;}//set values of max. in cluster
88f51054 28 void SetADCcluster(Int_t q){fADCcluster=q;}
9a1e27fe 29 void SetSec(Short_t q){fNsec=q;}
30 void SetNpads(Short_t q){fNpads=q;}
31 void SetSize(){fSize=fCluster.size();}
32
33 AliTPCvtpr GetMax(){return fMax;}
88f51054 34 Int_t GetADCcluster(){return fADCcluster;}
9a1e27fe 35 Short_t GetSec(){return fNsec;}
36 Short_t GetNpads(){return fNpads;}
37 Short_t GetSize(){return fSize;}
38
39 std::vector< AliTPCvtpr*> fCluster;//cluster contents(adc,nt,np,nr)
40
41private:
42 AliTPCvtpr fMax;//max (ADC,timebin,pad,row) in cluster
88f51054 43 Int_t fADCcluster; //ADC of cluster
9a1e27fe 44 Short_t fNsec; //sector of the cluster
45 Short_t fNpads; //number of pads in cluster
46 Short_t fSize; //size of vector
47
88f51054 48 ClassDef(AliTPCclusterKr,2) // Time Projection Chamber Kr clusters
9a1e27fe 49};
50
51
52#endif
53
54