]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDmatrix.cxx
Fixed message format and debug level
[u/mrichter/AliRoot.git] / TRD / AliTRDmatrix.cxx
index 5b40846b772776f84ff5b2db70d1b4f7ef0c5f19..02a6f1749e45954386ecb638e0dedf366ddcbad5 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
-/*
-$Log$
-Revision 1.9  2000/11/01 14:53:21  cblume
-Merge with TRD-develop
-
-Revision 1.4.2.5  2000/10/17 02:27:34  cblume
-Get rid of global constants
-
-Revision 1.4.2.4  2000/10/06 16:49:46  cblume
-Made Getters const
-
-Revision 1.4.2.3  2000/10/04 16:34:58  cblume
-Replace include files by forward declarations
-
-Revision 1.8  2000/06/09 11:10:07  cblume
-Compiler warnings and coding conventions, next round
-
-Revision 1.7  2000/06/08 18:32:58  cblume
-Make code compliant to coding conventions
-
-Revision 1.6  2000/05/08 15:48:30  cblume
-Resolved merge conflict
-
-Revision 1.4.2.2  2000/05/08 14:50:58  cblume
-Add functions ProjRow(), ProjCol(), and ProjTime()
-
-Revision 1.4.2.1  2000/04/27 12:47:02  cblume
-Replace Fill3() by Fill()
-
-Revision 1.4  2000/02/28 19:10:26  cblume
-Include the new TRD classes
-
-Revision 1.3.4.1  2000/02/28 17:57:47  cblume
-GetTrack returns now -1 if no track is found
-
-Revision 1.3  1999/10/04 14:48:07  fca
-Avoid warnings on non-ansi compiler HP-UX CC
-
-Revision 1.2  1999/09/29 09:24:35  fca
-Introduction of the Copyright and cvs Log
-
-*/
+/* $Id$ */
 
 ///////////////////////////////////////////////////////////////////////////////
 //                                                                           //
 //  Contains the pixel information for one TRD chamber                       //
 //                                                                           //
+//                                                                           //
 ///////////////////////////////////////////////////////////////////////////////
 
 #include <TObjArray.h>
@@ -116,7 +76,7 @@ AliTRDmatrix::AliTRDmatrix(Int_t nRow, Int_t nCol, Int_t nTime
 }
 
 //_____________________________________________________________________________
-AliTRDmatrix::AliTRDmatrix(const AliTRDmatrix &m)
+AliTRDmatrix::AliTRDmatrix(const AliTRDmatrix &m):TObject(m)
 {
   //
   // AliTRDmatrix copy constructor
@@ -168,7 +128,7 @@ void AliTRDmatrix::AddSignal(Int_t iRow, Int_t iCol, Int_t iTime, Float_t signal
 }
 
 //_____________________________________________________________________________
-void AliTRDmatrix::Copy(TObject &m)
+void AliTRDmatrix::Copy(TObject &m) const
 {
   //
   // Copy function
@@ -525,6 +485,9 @@ Int_t AliTRDmatrix::GetTrack(Int_t iRow, Int_t iCol, Int_t iTime
 //_____________________________________________________________________________
 Int_t AliTRDmatrix::GetIndex(Int_t iRow, Int_t iCol, Int_t iTime) const
 {
+  //
+  // Get the index of a given pixel
+  //
 
   if ((iRow  >= 0) && (iRow  < fRow ) &&
       (iCol  >= 0) && (iCol  < fCol ) &&
@@ -540,6 +503,9 @@ Int_t AliTRDmatrix::GetIndex(Int_t iRow, Int_t iCol, Int_t iTime) const
 //_____________________________________________________________________________
 AliTRDpixel *AliTRDmatrix::GetPixel(Int_t iRow, Int_t iCol, Int_t iTime) const
 {
+  //
+  // Get one pixel
+  //
 
   Int_t iPixel = GetIndex(iRow,iCol,iTime);
   if (iPixel < 0) {