--- /dev/null
+//-----------------------------------------------------//
+// //
+// Date : August 05 2003 //
+// used to store the info into TreeS //
+// //
+//-----------------------------------------------------//
+
+#include "AliPMDsdigit.h"
+#include <stdio.h>
+
+ClassImp(AliPMDsdigit)
+
+AliPMDsdigit::AliPMDsdigit()
+{
+ fTrNumber = 0;
+ fDet = 0;
+ fSMN = 0;
+ fCellNumber = 0;
+ fEdep = 0.;
+}
+
+AliPMDsdigit::AliPMDsdigit(Int_t trnumber, Int_t det, Int_t smn,
+ Int_t cellnumber, Float_t edep)
+{
+ fTrNumber = trnumber;
+ fDet = det;
+ fSMN = smn;
+ fCellNumber = cellnumber;
+ fEdep = edep;
+}
+AliPMDsdigit::~AliPMDsdigit()
+{
+
+}
+Int_t AliPMDsdigit::GetTrackNumber() const
+{
+ return fTrNumber;
+}
+Int_t AliPMDsdigit::GetDetector() const
+{
+ return fDet;
+}
+Int_t AliPMDsdigit::GetSMNumber() const
+{
+ return fSMN;
+}
+Int_t AliPMDsdigit::GetCellNumber() const
+{
+ return fCellNumber;
+}
+
+Float_t AliPMDsdigit::GetCellEdep() const
+{
+ return fEdep;
+}
--- /dev/null
+#ifndef PMDsdigit_H
+#define PMDsdigit_H
+//-----------------------------------------------------//
+// //
+// //
+// Date : August 05 2003 //
+// used to store the info into TreeS //
+// //
+//-----------------------------------------------------//
+
+#include "Riostream.h"
+#include "Rtypes.h"
+#include "TObject.h"
+#include "TClonesArray.h"
+
+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(AliPMDsdigit *pmdsdigit) {*this = *pmdsdigit;}
+
+ virtual ~AliPMDsdigit();
+
+ Int_t GetTrackNumber() const;
+ Int_t GetDetector() const;
+ Int_t GetSMNumber() const;
+ Int_t GetCellNumber() const;
+ Float_t GetCellEdep() const;
+
+ ClassDef(AliPMDsdigit,1)
+};
+
+#endif