Common class for raw data reading and ALTRO mappiing for PHOS and EMCAL (Gustavo...
[u/mrichter/AliRoot.git] / PHOS / AliPHOSCalibHistoProducer.cxx
index a35b7c8..a439687 100644 (file)
@@ -30,7 +30,7 @@
 #include "TH1.h"
 #include "TFile.h"
 #include "AliRawReader.h"
-#include "AliPHOSRawStream.h"
+#include "AliCaloRawStream.h"
 
 ClassImp(AliPHOSCalibHistoProducer)
 
@@ -85,7 +85,7 @@ void AliPHOSCalibHistoProducer::Run()
   Int_t iEvent = 0;
   Int_t runNum = 0;
 
-  AliPHOSRawStream in(fRawReader);
+  AliCaloRawStream in(fRawReader,"PHOS");
   if(fIsOldRCUFormat)
     in.SetOldRCUFormat(kTRUE);