X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=EMCAL%2FAliEMCALRawUtils.cxx;h=3b70379d44ddc850c7b284c75799f9b3116517b9;hb=991c84156353696cad76c69b5d49cee324123228;hp=2fe30ac9a72ff41f1693f890fe1cc7424bcad4a6;hpb=10a5dc4c5d3962f07dad5d0786cdb9909d2ff4d8;p=u%2Fmrichter%2FAliRoot.git diff --git a/EMCAL/AliEMCALRawUtils.cxx b/EMCAL/AliEMCALRawUtils.cxx index 2fe30ac9a72..3b70379d44d 100644 --- a/EMCAL/AliEMCALRawUtils.cxx +++ b/EMCAL/AliEMCALRawUtils.cxx @@ -128,7 +128,7 @@ void AliEMCALRawUtils::Digits2Raw() return; } - static const Int_t nDDL = 22*2; // 22 SM for DCal hardcoded for now. Buffers allocated dynamically, when needed, so just need an upper limit here + static const Int_t nDDL = 20*2; // 20 SM for EMCal + DCal hardcoded for now. Buffers allocated dynamically, when needed, so just need an upper limit here AliAltroBuffer* buffers[nDDL]; for (Int_t i=0; i < nDDL; i++) buffers[i] = 0; @@ -284,7 +284,7 @@ void AliEMCALRawUtils::Raw2Digits(AliRawReader* reader,TClonesArray *digitsArr, if (!reader) {Error("Raw2Digits", "no raw reader found !");return;} AliEMCALTriggerSTURawStream inSTU(reader); AliCaloRawStreamV3 in(reader,"EMCAL",fMapping); - reader->Select("EMCAL",0,43); // 43 = AliEMCALGeoParams::fgkLastAltroDDL + reader->Select("EMCAL",0,39); // 39 = AliEMCALGeoParams::fgkLastAltroDDL fTriggerRawDigitMaker->Reset(); fTriggerRawDigitMaker->SetIO(reader, in, inSTU, digitsTRG, trgData); fRawAnalyzer->SetIsZeroSuppressed(true); // TMP - should use stream->IsZeroSuppressed(), or altro cfg registers later