]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Compilation warnings
authormasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 4 Feb 2011 20:28:06 +0000 (20:28 +0000)
committermasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 4 Feb 2011 20:28:06 +0000 (20:28 +0000)
ITS/AliITSOnlineCalibrationSPDhandler.cxx
ITS/AliITSOnlineSPDfoChip.cxx

index b10856a5d1ec5149ebfa6c937543d43d8ee6ef30..7aed9f1a813cb37a39e42c00e39f9a8d0299eaf7 100644 (file)
@@ -1455,7 +1455,7 @@ Bool_t AliITSOnlineCalibrationSPDhandler::IsPixelNoisy(UInt_t eq, UInt_t hs, UIn
   // is the pixel noisy?
   UInt_t gloChip = GetGloChip(eq,hs,chip);
   if (gloChip>=1200 || col>=32 || row>=256) {
-    Error("AliITSOnlineCalibrationSPDhandler::IsPixelNoisy",Form("eq,hs,chip,col,row nrs (%d,%d,%d,%d,%d) out of bounds.",eq,hs,chip,col,row));
+    Error("AliITSOnlineCalibrationSPDhandler::IsPixelNoisy","eq,hs,chip,col,row nrs ( %d, %d, %d, %d, %d ) out of bounds.",eq,hs,chip,col,row);
     return kFALSE;
   }
   UInt_t key = GetKey(eq,hs,chip,col,row);
index 6dfc805d031222b4eb85e2019b20e8e90fd95b94..a2c0635b08b4f60db77cf68fe68ada99487bbf1e 100644 (file)
@@ -64,13 +64,14 @@ fActiveHS(c.fActiveHS),
 fChipId(c.fChipId),
 fNumDACparams(c.fNumDACparams),
 fNumChipConfigs(c.fNumChipConfigs),
+fDACparams(0x0),
 fChipConfigArray(0x0)
 {
   //
   //copy constructor 
   // fChipConfigArray is not copied. This method is private
   //
-
+  fDACparams = new Short_t[fNumDACparams];
   for(Int_t iPar =0; iPar < fNumDACparams; iPar++) fDACparams[iPar] = c.fDACparams[iPar]; 
 }    
 //--------------------------------------------------