]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PMD/AliPMDsdigit.h
added verbosity in a Fatal call
[u/mrichter/AliRoot.git] / PMD / AliPMDsdigit.h
index dd4984296f70c9fb0b543eb5d653afd19728ebe8..8b1b27100af6b042035c0e9e9da24558a2b48bea 100644 (file)
@@ -9,7 +9,8 @@
 //  used to store the info into TreeS                  //
 //                                                     //
 //-----------------------------------------------------//
-
+// Author - B.K. Nandi
+//
 #include "TObject.h"
 class TClonesArray;
 
@@ -18,29 +19,33 @@ class AliPMDsdigit : public TObject
 
  public:
   AliPMDsdigit();
-  AliPMDsdigit(Int_t trnumber, Int_t det, Int_t smn,
-              Int_t cellnumber, Float_t edep);
-  AliPMDsdigit(AliPMDsdigit *pmdsdigit) {*this = *pmdsdigit;}
+  AliPMDsdigit(Int_t trnumber, Int_t trpid, Int_t det, Int_t smn,
+              Int_t irow, Int_t icol, Float_t edep);
+  AliPMDsdigit(AliPMDsdigit *pmdsdigit);
   AliPMDsdigit (const AliPMDsdigit &pmdsdigit);  // copy constructor
   AliPMDsdigit &operator=(const AliPMDsdigit &pmdsdigit); // assignment op
 
   virtual ~AliPMDsdigit();
 
   Int_t   GetTrackNumber() const;
+  Int_t   GetTrackPid() 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   fTrPid;      // Parent Track pid
   Int_t   fDet;        // Detector Number (0:PRE, 1:CPV)
   Int_t   fSMN;        // Serial Module Number
-  Int_t   fCellNumber; // Cell Number (row(0-47)*96 + col(0-95))
+  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,2) // SDigits object for Detector set:PMD
+  ClassDef(AliPMDsdigit,5) // SDigits object for Detector set:PMD
 };
 
 #endif