]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
#86069: Fix to prevent crash when missing logger in AliITSQASPDDataMakerRec (seen...
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 30 Aug 2011 13:33:43 +0000 (13:33 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 30 Aug 2011 13:33:43 +0000 (13:33 +0000)
ITS/AliITSQASPDDataMakerRec.cxx

index 161dcfe7908ab20005446800b0e94aa972d07deb..dc37dc0087161bb54be62de3b3c317351962b8fd 100644 (file)
@@ -551,6 +551,7 @@ Int_t AliITSQASPDDataMakerRec::MakeRaws(AliRawReader* rawReader)
   UInt_t nErrorsDDL[20];
   for (Int_t ieq=0; ieq<20; ieq++) {
     nErrorsDDL[ieq] = 0;
+    if (!fAdvLogger) continue;
     for (UInt_t ierr=0; ierr<fAdvLogger->GetNrErrorCodes(); ierr++) {
       fAliITSQADataMakerRec->FillRawsData(ieq+(kAmoreFoOffset+1)+shift,ierr,fAdvLogger->GetNrErrors(ierr,ieq));
       if(ierr>0) {