]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PMD/AliPMDsdigit.h
Coding conventions.
[u/mrichter/AliRoot.git] / PMD / AliPMDsdigit.h
index 11b478a079a557e2607f5fca5e21bd9bbc9b5c54..77c7d8e89ffb1ff9e35203a2e6224cf4f09ab517 100644 (file)
@@ -1,5 +1,7 @@
-#ifndef PMDsdigit_H
-#define PMDsdigit_H
+#ifndef ALIPMDSDIGIT_H
+#define ALIPMDSDIGIT_H
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice                               */
 //-----------------------------------------------------//
 //                                                     //
 //                                                     //
 //                                                     //
 //-----------------------------------------------------//
 
-#include "Riostream.h"
-#include "Rtypes.h"
 #include "TObject.h"
-#include "TClonesArray.h"
+class TClonesArray;
 
 class AliPMDsdigit : public TObject
 {
-  
- protected:
-
-  Int_t   fTrNumber, fDet, fSMN, fCellNumber;
-  Float_t fEdep;
 
  public:
   AliPMDsdigit();
-  AliPMDsdigit(Int_t /* trnumber */, Int_t /* det */, Int_t /* smn */,
-              Int_t /* cellnumber */, Float_t /* edep */);
+  AliPMDsdigit(Int_t trnumber, Int_t det, Int_t smn,
+              Int_t irow, Int_t icol, Float_t edep);
   AliPMDsdigit(AliPMDsdigit *pmdsdigit) {*this = *pmdsdigit;}
-  
+  AliPMDsdigit (const AliPMDsdigit &pmdsdigit);  // copy constructor
+  AliPMDsdigit &operator=(const AliPMDsdigit &pmdsdigit); // assignment op
+
   virtual ~AliPMDsdigit();
 
   Int_t   GetTrackNumber() const;
   Int_t   GetDetector() const;
   Int_t   GetSMNumber() const;
-  Int_t   GetCellNumber() const;
+  Int_t   GetRow() const;
+  Int_t   GetColumn() const;
   Float_t GetCellEdep() const;
+
+  
+ protected:
+  Int_t   fTrNumber;   // Parent Track Number
+  Int_t   fDet;        // Detector Number (0:PRE, 1:CPV)
+  Int_t   fSMN;        // Serial Module Number
+  Int_t   fRow;        // Cell Row Number (0-47)
+  Int_t   fColumn;     // Cell Column Number (0-95)
+  Float_t fEdep;       // Energy deposition in a hexagonal cell
   
-  ClassDef(AliPMDsdigit,1)
+  ClassDef(AliPMDsdigit,3) // SDigits object for Detector set:PMD
 };
 
 #endif