]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliESDPmdTrack.cxx
Small scaling factor introduced in order to match measured and calculated
[u/mrichter/AliRoot.git] / STEER / AliESDPmdTrack.cxx
index e93a8e54fb601716af1696fdfddf056e8f729ee9..f5b85a77822191d8d33319d424dd4090d072d8cf 100644 (file)
@@ -1,25 +1,69 @@
+/**************************************************************************
+ * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ *                                                                        *
+ * Author: The ALICE Off-line Project.                                    *
+ * Contributors are mentioned in the code where appropriate.              *
+ *                                                                        *
+ * Permission to use, copy, modify and distribute this software and its   *
+ * documentation strictly for non-commercial purposes is hereby granted   *
+ * without fee, provided that the above copyright notice appears in all   *
+ * copies and that both the copyright notice and this permission notice   *
+ * appear in the supporting documentation. The authors make no claims     *
+ * about the suitability of this software for any purpose. It is          *
+ * provided "as is" without express or implied warranty.                  *
+ **************************************************************************/
+
+/* $Id$ */
+
 #include "AliESDPmdTrack.h"
 
+// Event Data Summary Class
+// For pmd tracks
+// This is part of the reconstructed
+// ESD events
+// for the PMD detector
+
 ClassImp(AliESDPmdTrack)
 
-AliESDPmdTrack::AliESDPmdTrack (const AliESDPmdTrack& PMDTrack):TObject(PMDTrack)
+//--------------------------------------------------------------------------//
+AliESDPmdTrack::AliESDPmdTrack () :
+  TObject(),
+  fDet(0),
+  fX(0),
+  fY(0),
+  fZ(0),
+  fCluADC(0),
+  fNcell(0),
+  fCluPID(0)
 {
-  // Constructor
-  fDet    = PMDTrack.fDet;
-  fTheta  = PMDTrack.fTheta;
-  fPhi    = PMDTrack.fPhi;
-  fCluADC = PMDTrack.fCluADC;
-  fCluPID = PMDTrack.fCluPID;
+  // Default Constructor
+}
+
+//--------------------------------------------------------------------------//
+AliESDPmdTrack::AliESDPmdTrack (const AliESDPmdTrack& PMDTrack) : 
+  TObject(PMDTrack),
+  fDet(PMDTrack.fDet),
+  fX(PMDTrack.fX),
+  fY(PMDTrack.fY),
+  fZ(PMDTrack.fZ),
+  fCluADC(PMDTrack.fCluADC),
+  fNcell(PMDTrack.fNcell),
+  fCluPID(PMDTrack.fCluPID)
+{
+  // Copy Constructor
 }
+
 //--------------------------------------------------------------------------//
 AliESDPmdTrack &AliESDPmdTrack::operator=(const AliESDPmdTrack& PMDTrack)
 {
   // Copy constructor
   if(&PMDTrack == this) return *this;
   fDet    = PMDTrack.fDet;
-  fTheta  = PMDTrack.fTheta;
-  fPhi    = PMDTrack.fPhi;
+  fX      = PMDTrack.fX;
+  fY      = PMDTrack.fY;
+  fZ      = PMDTrack.fZ;
   fCluADC = PMDTrack.fCluADC;
+  fNcell  = PMDTrack.fNcell;
   fCluPID = PMDTrack.fCluPID;
   return *this;
 }