]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PMD/AliPMDclupid.h
Apply manu mask to motifPositionID
[u/mrichter/AliRoot.git] / PMD / AliPMDclupid.h
1 #ifndef ALIPMDCLUPID_H
2 #define ALIPMDCLUPID_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   : March 22 2004                             //
8 //                                                     //
9 //  Store cluster informations for PMD                 //
10 //  after Discrimination                               //
11 //                                                     //
12 //-----------------------------------------------------//
13
14 #include "Rtypes.h"
15 #include "TObject.h"
16 class TClonesArray;
17
18 class AliPMDclupid : public TObject
19 {
20  public:
21   AliPMDclupid();
22   AliPMDclupid(Int_t idet, Int_t ismn, Float_t *clusdata);
23   AliPMDclupid(AliPMDclupid *pmdclupid) {*this = *pmdclupid;}
24   AliPMDclupid (const AliPMDclupid &pmdclupid);  // copy constructor
25   AliPMDclupid &operator=(const AliPMDclupid &pmdclupid); // assignment op
26   
27   virtual ~AliPMDclupid();
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 GetClusRadius() const;
36   Float_t GetClusPID() const;
37
38  protected:
39
40   Int_t   fDet;          // Detector No (0:PRE, 1:CPV)
41   Int_t   fSMN;          // Serial Module No.
42   Float_t fClusData[6];  // Array containing clupid information
43   /*
44     fDet         : Det (0:PRE, 1:CPV), fSMN         : SerialModuleNo
45     fClusData[0] : Cluster x         , fClusData[1] : Cluster y
46     fClusData[2] : Cluster adc       , fClusData[3] : Cluster Cells
47     fClusData[4] : Cluster radius    , fClusData[5] : Cluster pid
48   */
49   
50   ClassDef(AliPMDclupid,1) // Keep Cluster information
51 };
52
53 #endif