]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PMD/AliPMDcluster.h
1 object for all runs
[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,
b0e4d1e1 24 Int_t *celltrack, Int_t *cellpid, Float_t *celladc);
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;
b0e4d1e1 43 Float_t GetClusCellAdc(Int_t i) const;
a918d77a 44
45 protected:
46
dc9f9910 47 Int_t fDet; // Detector No (0:PRE, 1:CPV)
48 Int_t fSMN; // Serial Module No.
37edc588 49 Int_t fClusCellDataX[19]; // Array containing cell X
50 Int_t fClusCellDataY[19]; // Array containing cell Y
920e13db 51 Int_t fClusCellTrack[19]; // Array containing cell track no
52 Int_t fClusCellPid[19]; // Array containing cell pid
b0e4d1e1 53 Float_t fClusCellAdc[19]; // Array containing cell adc
dc9f9910 54 Float_t fClusData[6]; // Array containing cluster information
920e13db 55
a918d77a 56 /*
afef6247 57 fDet : Det (0:PRE, 1:CPV), fSMN : SerialModuleNo
58 fClusData[0] : Cluster x , fClusData[1] : Cluster y
59 fClusData[2] : Cluster adc , fClusData[3] : Cluster Cells
dc9f9910 60 fClusData[4] : Cluster SigmaX , fClusData[5] : Cluster SigmaY
a918d77a 61 */
1cbf30ea 62
b0e4d1e1 63 ClassDef(AliPMDcluster,6) // Keep Cluster information
1cbf30ea 64};
65
66#endif