Missing protection
authormarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 30 Dec 2010 10:57:43 +0000 (10:57 +0000)
committermarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 30 Dec 2010 10:57:43 +0000 (10:57 +0000)
(Marian)

TPC/AliTPCcalibLaser.cxx

index 878d92b..e44f72c 100644 (file)
@@ -2650,7 +2650,7 @@ void AliTPCcalibLaser::DumpMeanInfo(Int_t run){
     Float_t  lasTanPhiLocIn = -100;
     Float_t  lasTanPhiLocOut = -100;
 
-    if(histAbsY->GetEntries()>0) {
+    if(histAbsY && histAbsY->GetEntries()>0) {
       
       Double_t rotAngOut = 10;
       Double_t rotAngIn = 10;