* provided "as is" without express or implied warranty. *
**************************************************************************/
-/*
-$Log$
-Revision 1.3 2000/02/28 19:10:26 cblume
-Include the new TRD classes
-
-Revision 1.2.4.1 2000/02/28 17:59:27 cblume
-Initialize fTrack with -1
-
-Revision 1.2 1999/09/29 09:24:35 fca
-Introduction of the Copyright and cvs Log
-
-*/
+/* $Id$ */
///////////////////////////////////////////////////////////////////////////////
// //
ClassImp(AliTRDpixel)
+//_____________________________________________________________________________
+
+ // Maximal number of stored tracks
+ const Int_t AliTRDpixel::fgkNTrackPixel = kNTrackPixel;
+
//_____________________________________________________________________________
AliTRDpixel::AliTRDpixel():TObject()
{
}
//_____________________________________________________________________________
-void AliTRDpixel::Copy(AliTRDpixel &p)
+void AliTRDpixel::Copy(TObject &p)
{
//
// Copy function
//
- p.fSignal = fSignal;
- for (Int_t iTrackPixel = 0; iTrackPixel < kTrackPixel; iTrackPixel++) {
- p.fTrack[iTrackPixel] = fTrack[iTrackPixel];
+ ((AliTRDpixel &) p).fSignal = fSignal;
+ for (Int_t iTrackPixel = 0; iTrackPixel < kNTrackPixel; iTrackPixel++) {
+ ((AliTRDpixel &) p).fTrack[iTrackPixel] = fTrack[iTrackPixel];
}
}