]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/TPCLib/AliHLTTPCVertex.cxx
get rid of compilation warning
[u/mrichter/AliRoot.git] / HLT / TPCLib / AliHLTTPCVertex.cxx
index 0d674733506abf33bf3499f1239c046c6273b5a8..970428705c05e0fe87f65e9ca1e4556f69f2ee11 100644 (file)
@@ -1,5 +1,5 @@
 // @(#) $Id$
-// Original: AliL3Vertex.cxx,v 1.5 2004/07/02 11:41:18 loizides Exp $
+// Original: AliHLTVertex.cxx,v 1.5 2004/07/02 11:41:18 loizides Exp $
 
 // Author: Uli Frankenfeld <mailto:franken@fi.uib.no>
 //*-- Copyright &copy ALICE HLT Group
 
 ClassImp(AliHLTTPCVertex)
 
-AliHLTTPCVertex::AliHLTTPCVertex(){
+AliHLTTPCVertex::AliHLTTPCVertex()
+  :
+  fX(0.0),
+  fY(0.0),  
+  fZ(0.0),  
+  fPhi(0.0),
+  fR(0.0),  
+  fXErr(1.0),
+  fYErr(1.0),
+  fZErr(1.0),
+  fMWxy(1.0)
+{
   //
   // default constructor for the AliHLTTPCVertex class. 
   //
@@ -28,7 +39,42 @@ AliHLTTPCVertex::AliHLTTPCVertex(){
   SetZero();  
 }
 
-AliHLTTPCVertex::~AliHLTTPCVertex(){
+AliHLTTPCVertex::AliHLTTPCVertex(const AliHLTTPCVertex&)
+  :
+  fX(0.0),
+  fY(0.0),  
+  fZ(0.0),  
+  fPhi(0.0),
+  fR(0.0),  
+  fXErr(1.0),
+  fYErr(1.0),
+  fZErr(1.0),
+  fMWxy(1.0)
+{
+  //
+  // copy constructor not for use
+  //
+}
+
+AliHLTTPCVertex& AliHLTTPCVertex::operator=(const AliHLTTPCVertex&)
+{
+  //
+  // assignment operator not for use
+  //
+  fX=0.0;
+  fY=0.0;  
+  fZ=0.0;  
+  fPhi=0.0;
+  fR=0.0;  
+  fXErr=1.0;
+  fYErr=1.0;
+  fZErr=1.0;
+  fMWxy=1.0;
+  return *this;
+}
+
+AliHLTTPCVertex::~AliHLTTPCVertex()
+{
   //
   // destructor
   //
@@ -61,4 +107,3 @@ void AliHLTTPCVertex::Read(const AliHLTTPCVertexData *vertex)
   fPhi=0;
   fMWxy = 1.;
 }
-