]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDpixel.cxx
Correct z-position of slat planes.
[u/mrichter/AliRoot.git] / TRD / AliTRDpixel.cxx
index 8c66221c8832ad60022a4d08c2ce82f7e849b15a..8f216a68e8a3d9606710b4b37691deaa3cbda02e 100644 (file)
 
 /*
 $Log$
+Revision 1.4  2000/06/08 18:32:58  cblume
+Make code compliant to coding conventions
+
+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
+
 */
 
 ///////////////////////////////////////////////////////////////////////////////
@@ -34,9 +46,32 @@ AliTRDpixel::AliTRDpixel():TObject()
   // Create a TRD pixel
   // 
 
-  fSignal   = 0;
-  fTrack[0] = 0;
-  fTrack[1] = 0;
-  fTrack[2] = 0;
+  fSignal   =  0;
+  fTrack[0] = -1;
+  fTrack[1] = -1;
+  fTrack[2] = -1;
+
+}
+
+//_____________________________________________________________________________
+AliTRDpixel::~AliTRDpixel()
+{
+  //
+  // AliTRDpixel destructor
+  //
+
+}
+
+//_____________________________________________________________________________
+void AliTRDpixel::Copy(TObject &p)
+{
+  //
+  // Copy function
+  //
+
+  ((AliTRDpixel &) p).fSignal = fSignal;
+  for (Int_t iTrackPixel = 0; iTrackPixel < kTrackPixel; iTrackPixel++) {
+    ((AliTRDpixel &) p).fTrack[iTrackPixel] = fTrack[iTrackPixel];
+  }
 
 }