Initialization of some data members (Christian)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 29 Sep 2007 19:40:04 +0000 (19:40 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 29 Sep 2007 19:40:04 +0000 (19:40 +0000)
EMCAL/AliEMCALRecPoint.cxx

index c0b8207..b041007 100644 (file)
@@ -71,6 +71,8 @@ AliEMCALRecPoint::AliEMCALRecPoint()
   else
     fGeomPtr = AliEMCALGeometry::GetInstance();
   //fGeomPtr = AliEMCALGeometry::GetInstance(AliEMCALGeometry::GetDefaulGeometryName());
   else
     fGeomPtr = AliEMCALGeometry::GetInstance();
   //fGeomPtr = AliEMCALGeometry::GetInstance(AliEMCALGeometry::GetDefaulGeometryName());
+  fLambda[0] = 0;
+  fLambda[1] = 0;
     //  fGeomPtr->GetTransformationForSM(); // Global <-> Local
 }
 
     //  fGeomPtr->GetTransformationForSM(); // Global <-> Local
 }
 
@@ -115,6 +117,8 @@ AliEMCALRecPoint::AliEMCALRecPoint(const char * opt)
     fGeomPtr = dynamic_cast<AliEMCAL*>(rl->GetAliRun()->GetDetector("EMCAL"))->GetGeometry();
   else
     fGeomPtr = AliEMCALGeometry::GetInstance();
     fGeomPtr = dynamic_cast<AliEMCAL*>(rl->GetAliRun()->GetDetector("EMCAL"))->GetGeometry();
   else
     fGeomPtr = AliEMCALGeometry::GetInstance();
+  fLambda[0] = 0;
+  fLambda[1] = 0;
   //    fGeomPtr = AliEMCALGeometry::GetInstance(AliEMCALGeometry::GetDefaulGeometryName());
   //  fGeomPtr->GetTransformationForSM(); // Global <-> Local
 }
   //    fGeomPtr = AliEMCALGeometry::GetInstance(AliEMCALGeometry::GetDefaulGeometryName());
   //  fGeomPtr->GetTransformationForSM(); // Global <-> Local
 }