]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - PMD/AliPMDcluster.h
last correction with old numbering scheme
[u/mrichter/AliRoot.git] / PMD / AliPMDcluster.h
... / ...
CommitLineData
1#ifndef ALIPMDCLUSTER_H
2#define ALIPMDCLUSTER_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5//-----------------------------------------------------//
6// //
7// Date : August 05 2003 //
8// //
9// Store cluster informations for PMD //
10// //
11//-----------------------------------------------------//
12
13#include "Rtypes.h"
14#include "TObject.h"
15class TClonesArray;
16
17class AliPMDcluster : public TObject
18{
19 public:
20 AliPMDcluster();
21 AliPMDcluster(Int_t idet, Int_t ismn, Float_t *clusdata,
22 Int_t *celldataX, Int_t *celldataY);
23 AliPMDcluster(AliPMDcluster *pmdcluster) {*this = *pmdcluster;}
24 AliPMDcluster (const AliPMDcluster &pmdcluster); // copy constructor
25 AliPMDcluster &operator=(const AliPMDcluster &pmdcluster); // assignment op
26
27 virtual ~AliPMDcluster();
28
29 Int_t GetDetector() const;
30 Int_t GetSMN() const;
31 Float_t GetClusX() const;
32 Float_t GetClusY() const;
33 Float_t GetClusADC() const;
34 Float_t GetClusCells() const;
35 Float_t GetClusSigmaX() const;
36 Float_t GetClusSigmaY() const;
37 Int_t GetClusCellX(Int_t i) const;
38 Int_t GetClusCellY(Int_t i) const;
39
40 protected:
41
42 Int_t fDet; // Detector No (0:PRE, 1:CPV)
43 Int_t fSMN; // Serial Module No.
44 Int_t fClusCellDataX[15]; // Array containing cell X
45 Int_t fClusCellDataY[15]; // Array containing cell Y
46 Float_t fClusData[6]; // Array containing cluster information
47 /*
48 fDet : Det (0:PRE, 1:CPV), fSMN : SerialModuleNo
49 fClusData[0] : Cluster x , fClusData[1] : Cluster y
50 fClusData[2] : Cluster adc , fClusData[3] : Cluster Cells
51 fClusData[4] : Cluster SigmaX , fClusData[5] : Cluster SigmaY
52 */
53
54 ClassDef(AliPMDcluster,3) // Keep Cluster information
55};
56
57#endif