]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PMD/AliPMDcluster.h
Relate HLT tracks to the primary vertex (Youri)
[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,
23 Int_t *celldataX, Int_t *celldataY);
a48edddd 24 AliPMDcluster(AliPMDcluster *pmdcluster);
a918d77a 25 AliPMDcluster (const AliPMDcluster &pmdcluster); // copy constructor
26 AliPMDcluster &operator=(const AliPMDcluster &pmdcluster); // assignment op
1cbf30ea 27
28 virtual ~AliPMDcluster();
29
afef6247 30 Int_t GetDetector() const;
31 Int_t GetSMN() const;
1cbf30ea 32 Float_t GetClusX() const;
33 Float_t GetClusY() const;
34 Float_t GetClusADC() const;
35 Float_t GetClusCells() const;
dc9f9910 36 Float_t GetClusSigmaX() const;
37 Float_t GetClusSigmaY() const;
38 Int_t GetClusCellX(Int_t i) const;
39 Int_t GetClusCellY(Int_t i) const;
a918d77a 40
41 protected:
42
dc9f9910 43 Int_t fDet; // Detector No (0:PRE, 1:CPV)
44 Int_t fSMN; // Serial Module No.
45 Int_t fClusCellDataX[15]; // Array containing cell X
46 Int_t fClusCellDataY[15]; // Array containing cell Y
47 Float_t fClusData[6]; // Array containing cluster information
a918d77a 48 /*
afef6247 49 fDet : Det (0:PRE, 1:CPV), fSMN : SerialModuleNo
50 fClusData[0] : Cluster x , fClusData[1] : Cluster y
51 fClusData[2] : Cluster adc , fClusData[3] : Cluster Cells
dc9f9910 52 fClusData[4] : Cluster SigmaX , fClusData[5] : Cluster SigmaY
a918d77a 53 */
1cbf30ea 54
a48edddd 55 ClassDef(AliPMDcluster,4) // Keep Cluster information
1cbf30ea 56};
57
58#endif