]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDpixel.cxx
J.Chudoba's changes merged correctly with the HEAD
[u/mrichter/AliRoot.git] / TRD / AliTRDpixel.cxx
index 03a35c35851deda3f50fd27c78e9d543e27d4722..c0c0fbc06c9669be3affe3e9b29c5ec84f2bbf1d 100644 (file)
 
 /*
 $Log$
+Revision 1.3.2.2  2000/10/17 02:27:34  cblume
+Get rid of global constants
+
+Revision 1.3.2.1  2000/10/04 16:34:58  cblume
+Replace include files by forward declarations
+
+Revision 1.5  2000/06/09 11:10:07  cblume
+Compiler warnings and coding conventions, next round
+
+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
 
@@ -33,6 +48,11 @@ Introduction of the Copyright and cvs Log
 
 ClassImp(AliTRDpixel)
 
+//_____________________________________________________________________________
+
+  // Maximal number of stored tracks
+  const Int_t AliTRDpixel::fgkNTrackPixel = kNTrackPixel;
+
 //_____________________________________________________________________________
 AliTRDpixel::AliTRDpixel():TObject()
 {
@@ -46,3 +66,26 @@ AliTRDpixel::AliTRDpixel():TObject()
   fTrack[2] = -1;
 
 }
+
+//_____________________________________________________________________________
+AliTRDpixel::~AliTRDpixel()
+{
+  //
+  // AliTRDpixel destructor
+  //
+
+}
+
+//_____________________________________________________________________________
+void AliTRDpixel::Copy(TObject &p)
+{
+  //
+  // Copy function
+  //
+
+  ((AliTRDpixel &) p).fSignal = fSignal;
+  for (Int_t iTrackPixel = 0; iTrackPixel < kNTrackPixel; iTrackPixel++) {
+    ((AliTRDpixel &) p).fTrack[iTrackPixel] = fTrack[iTrackPixel];
+  }
+
+}