isolated cell serach included in AliPMDClusteringV1 and kept in recpoints for offline...
[u/mrichter/AliRoot.git] / PMD / AliPMDcluster.h
CommitLineData
a918d77a 1#ifndef ALIPMDCLUSTER_H
2#define ALIPMDCLUSTER_H
afef6247 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
1cbf30ea 5//-----------------------------------------------------//
6// //
7// Date : August 05 2003 //
8// //
9// Store cluster informations for PMD //
10// //
11//-----------------------------------------------------//
a48edddd 12// Author - B.K. Nandi
13//
1cbf30ea 14#include "Rtypes.h"
15#include "TObject.h"
a918d77a 16class TClonesArray;
1cbf30ea 17
18class AliPMDcluster : public TObject
19{
1cbf30ea 20 public:
21 AliPMDcluster();
dc9f9910 22 AliPMDcluster(Int_t idet, Int_t ismn, Float_t *clusdata,
920e13db 23 Int_t *celldataX, Int_t *celldataY,
24 Int_t *celltrack, Int_t *cellpid);
a48edddd 25 AliPMDcluster(AliPMDcluster *pmdcluster);
a918d77a 26 AliPMDcluster (const AliPMDcluster &pmdcluster); // copy constructor
27 AliPMDcluster &operator=(const AliPMDcluster &pmdcluster); // assignment op
1cbf30ea 28
29 virtual ~AliPMDcluster();
30
afef6247 31 Int_t GetDetector() const;
32 Int_t GetSMN() const;
1cbf30ea 33 Float_t GetClusX() const;
34 Float_t GetClusY() const;
35 Float_t GetClusADC() const;
36 Float_t GetClusCells() const;
dc9f9910 37 Float_t GetClusSigmaX() const;
38 Float_t GetClusSigmaY() const;
39 Int_t GetClusCellX(Int_t i) const;
40 Int_t GetClusCellY(Int_t i) const;
920e13db 41 Int_t GetClusCellTrack(Int_t i) const;
42 Int_t GetClusCellPid(Int_t i) const;
a918d77a 43
44 protected:
45
dc9f9910 46 Int_t fDet; // Detector No (0:PRE, 1:CPV)
47 Int_t fSMN; // Serial Module No.
37edc588 48 Int_t fClusCellDataX[19]; // Array containing cell X
49 Int_t fClusCellDataY[19]; // Array containing cell Y
920e13db 50 Int_t fClusCellTrack[19]; // Array containing cell track no
51 Int_t fClusCellPid[19]; // Array containing cell pid
52
dc9f9910 53 Float_t fClusData[6]; // Array containing cluster information
920e13db 54
a918d77a 55 /*
afef6247 56 fDet : Det (0:PRE, 1:CPV), fSMN : SerialModuleNo
57 fClusData[0] : Cluster x , fClusData[1] : Cluster y
58 fClusData[2] : Cluster adc , fClusData[3] : Cluster Cells
dc9f9910 59 fClusData[4] : Cluster SigmaX , fClusData[5] : Cluster SigmaY
a918d77a 60 */
1cbf30ea 61
920e13db 62 ClassDef(AliPMDcluster,5) // Keep Cluster information
1cbf30ea 63};
64
65#endif