X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=PWG2%2FRESONANCES%2FAliRsnPIDIndex.cxx;h=22ec09b2db8a307d38e965e1e147a850f709f98b;hp=bb66cd14fb54afd48036abae7dc165bf73de9fdc;hb=8ecf98c4d2a7159c21d9eea6f2983c5bdef4ee95;hpb=cbc8747a332b01c89643d5e8d34acca9be558e00 diff --git a/PWG2/RESONANCES/AliRsnPIDIndex.cxx b/PWG2/RESONANCES/AliRsnPIDIndex.cxx index bb66cd14fb5..22ec09b2db8 100644 --- a/PWG2/RESONANCES/AliRsnPIDIndex.cxx +++ b/PWG2/RESONANCES/AliRsnPIDIndex.cxx @@ -109,6 +109,7 @@ void AliRsnPIDIndex::Print (Option_t * option) const // Prints AliRsnPIDIndex info // Int_t i, j; + if (!option) return; for (i = 0; i < 2; i++) { for (j = 0; j < AliRsnPID::kSpecies + 1; j++) { AliInfo (Form (" [%d][%d] %d %d", i, j, fIndex[i][j].GetSize(), fNumOfIndex[i][j]));