--- /dev/null
+/**************************************************************************
+ * 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];
+}
+
--- /dev/null
+#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