macro title as filename
[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// Author - B.K. Nandi
13//
14#include "Rtypes.h"
15#include "TObject.h"
16class TClonesArray;
17
18class AliPMDcluster : public TObject
19{
20 public:
21 AliPMDcluster();
22 AliPMDcluster(Int_t idet, Int_t ismn, Float_t *clusdata,
23 Int_t *celldataX, Int_t *celldataY,
24 Int_t *celltrack, Int_t *cellpid, Float_t *celladc);
25 AliPMDcluster(AliPMDcluster *pmdcluster);
26 AliPMDcluster (const AliPMDcluster &pmdcluster); // copy constructor
27 AliPMDcluster &operator=(const AliPMDcluster &pmdcluster); // assignment op
28
29 virtual ~AliPMDcluster();
30
31 Int_t GetDetector() const;
32 Int_t GetSMN() const;
33 Float_t GetClusX() const;
34 Float_t GetClusY() const;
35 Float_t GetClusADC() const;
36 Float_t GetClusCells() const;
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;
41 Int_t GetClusCellTrack(Int_t i) const;
42 Int_t GetClusCellPid(Int_t i) const;
43 Float_t GetClusCellAdc(Int_t i) const;
44
45 protected:
46
47 Int_t fDet; // Detector No (0:PRE, 1:CPV)
48 Int_t fSMN; // Serial Module No.
49 Int_t fClusCellDataX[19]; // Array containing cell X
50 Int_t fClusCellDataY[19]; // Array containing cell Y
51 Int_t fClusCellTrack[19]; // Array containing cell track no
52 Int_t fClusCellPid[19]; // Array containing cell pid
53 Float_t fClusCellAdc[19]; // Array containing cell adc
54 Float_t fClusData[6]; // Array containing cluster information
55
56 /*
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
60 fClusData[4] : Cluster SigmaX , fClusData[5] : Cluster SigmaY
61 */
62
63 ClassDef(AliPMDcluster,6) // Keep Cluster information
64};
65
66#endif