New summable digits object.
authorjbarbosa <jbarbosa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 28 Feb 2001 08:29:11 +0000 (08:29 +0000)
committerjbarbosa <jbarbosa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 28 Feb 2001 08:29:11 +0000 (08:29 +0000)
RICH/AliRICHSDigit.cxx [new file with mode: 0644]
RICH/AliRICHSDigit.h [new file with mode: 0644]

diff --git a/RICH/AliRICHSDigit.cxx b/RICH/AliRICHSDigit.cxx
new file mode 100644 (file)
index 0000000..bddb648
--- /dev/null
@@ -0,0 +1,42 @@
+/**************************************************************************
+ * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ *                                                                        *
+ * Author: The ALICE Off-line Project.                                    *
+ * Contributors are mentioned in the code where appropriate.              *
+ *                                                                        *
+ * Permission to use, copy, modify and distribute this software and its   *
+ * documentation strictly for non-commercial purposes is hereby granted   *
+ * without fee, provided that the above copyright notice appears in all   *
+ * copies and that both the copyright notice and this permission notice   *
+ * appear in the supporting documentation. The authors make no claims     *
+ * about the suitability of this software for any purpose. It is          *
+ * provided "as is" without express or implied warranty.                  *
+ **************************************************************************/
+
+/*
+  $Log$
+  Revision 1.2  2000/12/18 17:45:17  jbarbosa
+  Cleaned up PadHits object.
+
+  Revision 1.1  2000/06/12 15:25:31  jbarbosa
+  Cleaned up version.
+
+*/
+
+
+#include "AliRICHSDigit.h"
+
+ClassImp(AliRICHSDigit)
+//______________________________________________________________
+AliRICHSDigit::AliRICHSDigit(Int_t *clhits)
+{
+
+// Default constructor for AliRICHSDigits
+
+  fHitNumber=clhits[0];
+  fQpad=clhits[1];
+  fPadX=clhits[2];
+  fPadY=clhits[3];
+  fRSec=clhits[4];
+}
+
diff --git a/RICH/AliRICHSDigit.h b/RICH/AliRICHSDigit.h
new file mode 100644 (file)
index 0000000..e77b441
--- /dev/null
@@ -0,0 +1,36 @@
+#ifndef ALIRICHSDIGIT_H
+#define ALIRICHSDIGIT_H
+
+
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice                               */
+
+/* $Id$ */
+
+#include <TObject.h>
+
+class AliRICHSDigit : public TObject {
+ public:
+    
+    Int_t     fHitNumber;    // Hit number
+    Int_t     fQpad  ;          // Total charge      
+    Int_t     fPadX  ;       // Pad number along X
+    Int_t     fPadY  ;       // Pad number along Y
+    Int_t     fRSec  ;       // R -sector of pad
+    
+ public:
+    AliRICHSDigit() {
+       fHitNumber=fPadX=fPadY=fQpad=fRSec=0;   
+    }
+    AliRICHSDigit(Int_t *clhits);
+    Int_t   HitNumber()  {return fHitNumber;}
+    Int_t   PadX()       {return fPadX;}   
+    Int_t   PadY()       {return fPadY;}
+    Int_t   QPad()       {return fQpad;}
+    Int_t   RSec()       {return fRSec;}
+    
+    virtual ~AliRICHSDigit() {}
+       
+    ClassDef(AliRICHSDigit,1)  //Cluster object for set:RICH
+};
+#endif