macro title as filename
[u/mrichter/AliRoot.git] / PMD / AliPMDrecpoint1.h
1 #ifndef ALIPMDRECPOINT1_H
2 #define ALIPMDRECPOINT1_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5 //-----------------------------------------------------//
6 //                                                     //
7 //                                                     //
8 //  Date   : August 05 2003                            //
9 //                                                     //
10 //  Store reconstructed points  for PMD                //
11 //                                                     //
12 //-----------------------------------------------------//
13
14 #include "Rtypes.h"
15 #include "TObject.h"
16 class TClonesArray;
17
18 class AliPMDrecpoint1 : public TObject
19 {
20
21  public:
22   AliPMDrecpoint1();
23   AliPMDrecpoint1(Int_t idet, Int_t ismn, Float_t *clusdata);
24   AliPMDrecpoint1(AliPMDrecpoint1 *pmdrecpoint);
25   AliPMDrecpoint1 (const AliPMDrecpoint1 &pmdrecpoint);  // copy constructor
26   AliPMDrecpoint1 &operator=(const AliPMDrecpoint1 &pmdrecpoint); // assignment op
27   
28   virtual ~AliPMDrecpoint1();
29
30   Int_t   GetDetector() const;
31   Int_t   GetSMNumber() const;
32   Float_t GetClusX() const;
33   Float_t GetClusY() const;
34   Float_t GetClusADC() const;
35   Float_t GetClusCells() const;
36   Float_t GetClusSigmaX() const;
37   Float_t GetClusSigmaY() const;
38   
39  protected:
40
41   Int_t   fDet;          // Detector No (0:PRE, 1:CPV)
42   Int_t   fSMN;          // Serial Module No.
43   Float_t fClusData[6];  // Array containing cluster information
44   /*
45     fDet         : Detector Number,  fSMN         : Serial Module Number
46     fClusData[0] : Cluster x      ,  fClusData[1] : Cluster y
47     fClusData[2] : Cluster adc    ,  fClusData[3] : Cluster Cells
48     fClusData[4] : Cluster SigmaX ,  fClusData[5] : Cluster SigmaY
49   */
50   
51   ClassDef(AliPMDrecpoint1,4) // keep reconstructed points info
52 };
53
54 #endif