]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PMD/AliPMDclupid.h
Centrality edges <0% and >90% checks are removed
[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 // Author - B.K. Nandi
14 //
15 #include "Rtypes.h"
16 #include "TObject.h"
17 class TClonesArray;
18
19 class AliPMDclupid : public TObject
20 {
21  public:
22   AliPMDclupid();
23   AliPMDclupid(Int_t idet, Int_t ismn, Int_t trno, Int_t trpid,
24                Int_t mstat,Float_t *clusdata);
25   AliPMDclupid(AliPMDclupid *pmdclupid);
26   AliPMDclupid (const AliPMDclupid &pmdclupid);  // copy constructor
27   AliPMDclupid &operator=(const AliPMDclupid &pmdclupid); // assignment op
28   
29   virtual ~AliPMDclupid();
30
31   Int_t   GetDetector() const;
32   Int_t   GetSMN() const;
33   Int_t   GetClusTrackNo() const;
34   Int_t   GetClusTrackPid() const;
35   Int_t   GetClusMatching() const;
36   Float_t GetClusX() const;
37   Float_t GetClusY() const;
38   Float_t GetClusADC() const;
39   Float_t GetClusCells() const;
40   Float_t GetClusSigmaX() const;
41   Float_t GetClusSigmaY() const;
42   Float_t GetClusPID() const;
43
44  protected:
45
46   Int_t   fDet;          // Detector No (0:PRE, 1:CPV)
47   Int_t   fSMN;          // Serial Module No.
48   Int_t   fTrNo;         // Track number from simulation
49   Int_t   fTrPid;        // Pid from simulation
50   Int_t   fMstatus;      // matching status
51   Float_t fClusData[7];  // Array containing clupid information
52
53   /*
54     fDet         : Det (0:PRE, 1:CPV), fSMN         : SerialModuleNo
55     fClusData[0] : Cluster x         , fClusData[1] : Cluster y
56     fClusData[2] : Cluster adc       , fClusData[3] : Cluster Cells
57     fClusData[4] : Cluster sigmax    , fClusData[5] : Cluster sigmay
58     fClusData[6] : Cluster pid
59   */
60   
61   ClassDef(AliPMDclupid,3) // Keep Cluster information
62 };
63
64 #endif