X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=FMD%2FAliFMDInput.cxx;h=4496982720aa754bdee0b3cedfe832d37bcd167f;hb=5cf05dbbfae57642fb7488402fb5ed9983167db4;hp=c906a277201753faf41bab1e422eab96920325d1;hpb=3b376c57ed471710f7e7686eaa0c2107f6c10213;p=u%2Fmrichter%2FAliRoot.git diff --git a/FMD/AliFMDInput.cxx b/FMD/AliFMDInput.cxx index c906a277201..4496982720a 100644 --- a/FMD/AliFMDInput.cxx +++ b/FMD/AliFMDInput.cxx @@ -78,6 +78,7 @@ AliFMDInput::AliFMDInput() fStack(0), fFMDLoader(0), fReader(0), + fFMDReader(0), fFMD(0), fESD(0), fESDEvent(0), @@ -119,6 +120,7 @@ AliFMDInput::AliFMDInput(const char* gAliceFile) fStack(0), fFMDLoader(0), fReader(0), + fFMDReader(0), fFMD(0), fESD(0), fESDEvent(0), @@ -241,6 +243,7 @@ AliFMDInput::Init() else fReader = new AliRawReaderFile(-1); #endif + fFMDReader = new AliFMDRawReader(fReader, 0); } // Optionally, get the geometry @@ -382,11 +385,11 @@ AliFMDInput::Begin(Int_t event) // Possibly load FMD Digit information if (TESTBIT(fTreeMask, kRaw)) { - AliInfo("Getting FMD raw data digits"); + // AliInfo("Getting FMD raw data digits"); if (!fReader->NextEvent()) return kFALSE; - AliFMDRawReader r(fReader, 0); + // AliFMDRawReader r(fReader, 0); fArrayA->Clear(); - r.ReadAdcs(fArrayA); + fFMDReader->ReadAdcs(fArrayA); AliFMDDebug(1, ("Got a total of %d digits", fArrayA->GetEntriesFast())); } fEventCount++;