Trigger scalers added to ESD header.
[u/mrichter/AliRoot.git] / PMD / AliPMDcell.h
index 4f6f91d..e22c507 100644 (file)
@@ -1,5 +1,7 @@
-#ifndef PMDcell_H
-#define PMDcell_H
+#ifndef ALIPMDCELL_H
+#define ALIPMDCELL_H
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice                               */
 //-----------------------------------------------------//
 //                                                     //
 //  Date   : August 05 2003                            //
 //  the correct track number to a multiple hit cell    //
 //                                                     //
 //-----------------------------------------------------//
-
-#include "Riostream.h"
-#include "Rtypes.h"
+// Author - B.K. Nandi
+//
 #include "TObject.h"
-#include "TClonesArray.h"
+class TClonesArray;
 
 class AliPMDcell : public TObject
 {
-  
- protected:
-  Int_t   fTrNumber, fSMNumber, fXpos, fYpos;
-  Float_t fEdep;
-
  public:
   AliPMDcell();
-  AliPMDcell(Int_t /* trnumber */, Int_t /* smnumber */,
-             Int_t /* xpos */, Int_t /* ypos */, Float_t /* edep */);
-  AliPMDcell(AliPMDcell *pmdcell) {*this = *pmdcell;}
-  
+  AliPMDcell(Int_t trnumber, Int_t smnumber,
+             Int_t xpos, Int_t ypos, Float_t edep);
+  AliPMDcell(AliPMDcell *pmdcell);
+  AliPMDcell (const AliPMDcell &alipmdcell);  // copy constructor
+  AliPMDcell &operator=(const AliPMDcell &alipmdcell); // assignment op
+
   virtual ~AliPMDcell();
 
   Int_t   GetTrackNumber() const;
@@ -35,7 +33,14 @@ class AliPMDcell : public TObject
   Int_t   GetY() const;
   Float_t GetEdep() const;
   
-  ClassDef(AliPMDcell,1)
+ protected:
+  Int_t   fTrNumber;     // Track Number
+  Int_t   fSMNumber;     // Serial Module Number
+  Int_t   fXpos;         // x-position of the cell
+  Int_t   fYpos;         // y-position of the cell
+  Float_t fEdep;         // Energy deposition in a cell
+  
+  ClassDef(AliPMDcell,4) // To keep cell information
 };
 
 #endif