Some pointers initialized
authordibari <dibari@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 17 Sep 2007 07:38:30 +0000 (07:38 +0000)
committerdibari <dibari@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 17 Sep 2007 07:38:30 +0000 (07:38 +0000)
HMPID/AliHMPIDCluster.cxx
HMPID/AliHMPIDv1.cxx
HMPID/AliHMPIDv2.cxx

index 28db82b..4a54c1b 100644 (file)
@@ -36,7 +36,7 @@ void AliHMPIDCluster::CoG()
   if(fDigs==0) return;                                      //no digits in this cluster
   fX=fY=fQRaw=0;                                            //init summable parameters
   Int_t maxQpad=-1,maxQ=-1;                                 //to calculate the pad with the highest charge
-  AliHMPIDDigit *pDig;
+  AliHMPIDDigit *pDig=0x0;
   for(Int_t iDig=0;iDig<fDigs->GetEntriesFast();iDig++){    //digits loop
     pDig=(AliHMPIDDigit*)fDigs->At(iDig);                   //get pointer to next digit
 
index 3ebe0e9..26b280f 100644 (file)
@@ -390,7 +390,7 @@ void AliHMPIDv1::Digits2Raw()
   treeD->GetEntry(0);
   
   //AliHMPIDDigit::WriteRaw(DigLst());
-   AliHMPIDRawStream *pRS;
+   AliHMPIDRawStream *pRS=0x0;
    pRS->WriteRaw(DigLst());
     
   GetLoader()->UnloadDigits();
index 718f7f7..95799a1 100644 (file)
@@ -507,7 +507,7 @@ void AliHMPIDv2::Digits2Raw()
   treeD->GetEntry(0);
   
   
-  AliHMPIDRawStream *pRS;
+  AliHMPIDRawStream *pRS=0x0;
   pRS->WriteRaw(DigLst());
    
   GetLoader()->UnloadDigits();