* 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>
}
//_____________________________________________________________________________
-AliTRDmatrix::AliTRDmatrix(const AliTRDmatrix &m)
+AliTRDmatrix::AliTRDmatrix(const AliTRDmatrix &m):TObject(m)
{
//
// AliTRDmatrix copy constructor
}
//_____________________________________________________________________________
-void AliTRDmatrix::Copy(TObject &m)
+void AliTRDmatrix::Copy(TObject &m) const
{
//
// Copy function
//_____________________________________________________________________________
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 ) &&
//_____________________________________________________________________________
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) {