Effective C++ warning removal (Marian)
authormarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 19 Mar 2008 19:08:38 +0000 (19:08 +0000)
committermarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 19 Mar 2008 19:08:38 +0000 (19:08 +0000)
TPC/AliTPCcalibAlign.cxx
TPC/AliTPCcalibAlignment.cxx

index 8b1e8f29b83b6b4149cb6b037d7e4bcdac831a63..25f9d44246b06759a8c02d97910f6336d538a052 100644 (file)
@@ -62,7 +62,7 @@ void AliTPCcalibAlign::Process(const AliExternalTrackParam &tp1,
   //
   Double_t t1[5],t2[5];
   Double_t &x1=t1[0], &y1=t1[1], &z1=t1[2], &dydx1=t1[3], &dzdx1=t1[4];
-  Double_t &x2=t2[0], &y2=t2[1], &z2=t2[2], &dydx2=t2[3], &dzdx2=t2[4];
+  Double_t /*&x2=t2[0],*/ &y2=t2[1], &z2=t2[2], &dydx2=t2[3]/*, &dzdx2=t2[4]*/;
   x1   =tp1.GetX();
   y1   =tp1.GetY();
   z1   =tp1.GetZ();
@@ -98,7 +98,7 @@ void AliTPCcalibAlign::Process12(Double_t *t1,
   //       a10  a11 a12  a13 ==> p[3]   p[4]  p[5]  p[10]
   //       a20  a21 a22  a23     p[6]   p[7]  p[8]  p[11] 
   Double_t &x1=t1[0], &y1=t1[1], &z1=t1[2], &dydx1=t1[3], &dzdx1=t1[4];
-  Double_t &x2=t2[0], &y2=t2[1], &z2=t2[2], &dydx2=t2[3], &dzdx2=t2[4];
+  Double_t /*&x2=t2[0],*/ &y2=t2[1], &z2=t2[2], &dydx2=t2[3], &dzdx2=t2[4];
 
   // TODO:
   Double_t sy    = 1.;
@@ -175,7 +175,7 @@ void AliTPCcalibAlign::Process9(Double_t *t1,
   //       a10  a11 a12  a13 ==> p[3]   p[4]  p[5]  p[10]
   //       a20  a21 a22  a23     p[6]   p[7]  p[8]  p[11] 
   Double_t &x1=t1[0], &y1=t1[1], &z1=t1[2], &dydx1=t1[3], &dzdx1=t1[4];
-  Double_t &x2=t2[0], &y2=t2[1], &z2=t2[2], &dydx2=t2[3], &dzdx2=t2[4];
+  Double_t /*&x2=t2[0],*/ &y2=t2[1], &z2=t2[2], &dydx2=t2[3], &dzdx2=t2[4];
 
   // TODO:
   Double_t sy    = 1.;
@@ -252,7 +252,7 @@ void AliTPCcalibAlign::Process6(Double_t *t1,
   //       a10  1   0    a13 ==> p[0]   x     x     p[4]
   //       a20  a21 1    a23     p[1]   p[2]  x     p[5] 
   Double_t &x1=t1[0], &y1=t1[1], &z1=t1[2], &dydx1=t1[3], &dzdx1=t1[4];
-  Double_t &x2=t2[0], &y2=t2[1], &z2=t2[2], &dydx2=t2[3], &dzdx2=t2[4];
+  Double_t /*&x2=t2[0],*/ &y2=t2[1], &z2=t2[2], &dydx2=t2[3], &dzdx2=t2[4];
 
   // TODO:
   Double_t sy    = 1.;
index dbe2e404544a2925525b8aaee518e06e12f76ec9..a13d464cf75d026a8a3a365adfb9e139a21bb371 100644 (file)
@@ -71,7 +71,9 @@ using namespace std;
 
 ClassImp(AliTPCcalibAlignment)
 
-AliTPCcalibAlignment::AliTPCcalibAlignment() {
+AliTPCcalibAlignment::AliTPCcalibAlignment():
+  fDebugStream(0)
+{
   //
   // Constructor
   //