]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
sdigit informations
authorbnandi <bnandi@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 13 Sep 2003 20:54:45 +0000 (20:54 +0000)
committerbnandi <bnandi@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 13 Sep 2003 20:54:45 +0000 (20:54 +0000)
PMD/AliPMDsdigit.cxx [new file with mode: 0644]
PMD/AliPMDsdigit.h [new file with mode: 0644]

diff --git a/PMD/AliPMDsdigit.cxx b/PMD/AliPMDsdigit.cxx
new file mode 100644 (file)
index 0000000..a54b05c
--- /dev/null
@@ -0,0 +1,55 @@
+//-----------------------------------------------------//
+//                                                     //
+//  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;
+}
diff --git a/PMD/AliPMDsdigit.h b/PMD/AliPMDsdigit.h
new file mode 100644 (file)
index 0000000..11b478a
--- /dev/null
@@ -0,0 +1,41 @@
+#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