#include "AliEMCALRawUtils.h"
#include "AliEMCALReconstructor.h"
#include "AliEMCALRecParam.h"
+#include "AliRawReader.h"
ClassImp(AliEMCALQADataMakerRec)
}
//____________________________________________________________________________
-void AliEMCALQADataMakerRec::MakeRaws(AliRawReader* /* rawReader */)
+void AliEMCALQADataMakerRec::MakeRaws(AliRawReader* rawReader)
{
//Fill prepared histograms with Raw digit properties
//emcal raw data method, but this doesn't seem to be allowed in
//AliQADataMakerRec.h
+ rawReader->Reset() ;
}
//____________________________________________________________________________
TClonesArray* digitsAddress = &fDigitsArray;
rawReader->Reset();
-
- while(rawReader->NextEvent()) {
-
- digitsAddress->Clear();
- fmdReader.ReadAdcs(digitsAddress);
- for(Int_t i=0;i<digitsAddress->GetEntriesFast();i++) {
- //Raw ADC counts
- AliFMDDigit* digit = static_cast<AliFMDDigit*>(digitsAddress->At(i));
- GetRawsData(0)->Fill(digit->Counts());
- }
- }
-
+
+ digitsAddress->Clear();
+ fmdReader.ReadAdcs(digitsAddress);
+ for(Int_t i=0;i<digitsAddress->GetEntriesFast();i++) {
+ //Raw ADC counts
+ AliFMDDigit* digit = static_cast<AliFMDDigit*>(digitsAddress->At(i));
+ GetRawsData(0)->Fill(digit->Counts());
+ }
}
//_____________________________________________________________________
//
// Filling Raws QA histos
//
- AliHMPIDRawStream stream(rawReader);
+ rawReader->Reset() ;
+ AliHMPIDRawStream stream(rawReader);
fEvtRaw++;
#include "AliPMDddldata.h"
#include "AliPMDUtility.h"
#include "AliESDPmdTrack.h"
+#include "AliRawReader.h"
+
+//#include "AliPMDRecoParam.h"
ClassImp(AliPMDQADataMakerRec)
{
//Fill prepared histograms with Raw digit properties
- TObjArray *pmdddlcont = 0x0;
+ rawReader->Reset() ;
+ TObjArray *pmdddlcont = 0x0;
pmdddlcont = new TObjArray();
AliPMDRawStream stream(rawReader);
//____________________________________________________________________________
void AliT0QADataMakerRec::MakeRaws( AliRawReader* rawReader)
{
+ rawReader->Reset() ;
//fills QA histos for RAW
Int_t shift=0;
AliT0RawReader *start = new AliT0RawReader(rawReader);
// To make QA for the RAW data we use the TPC Calibration framework
// to handle the data and then in the end extract the data
//
+ rawReader->Reset() ;
fTPCdataQA->ProcessEvent(rawReader);
}
// --- AliRoot header files ---
#include "AliESDEvent.h"
#include "AliLog.h"
+#include "AliRawReader.h"
#include "AliTRDcluster.h"
#include "AliTRDQADataMakerRec.h"
#include "AliTRDgeometry.h"
const Int_t kMCM = 16;
// const Int_t kADC = 22;
+ rawReader->Reset() ;
//AliTRDrawStreamBase::SetRawStreamVersion("TB");
AliTRDrawStreamBase *raw = AliTRDrawStreamBase::GetRawStream(rawReader);
AliDebug(2,Form("Stream version: %s", raw->IsA()->GetName()));
{
//Fill histograms with Raws, computes average ADC values dynamically (pedestal subtracted)
- AliVZERORawStream* rawStream = new AliVZERORawStream(rawReader);
+ rawReader->Reset() ;
+ AliVZERORawStream* rawStream = new AliVZERORawStream(rawReader);
rawStream->Next();
Float_t ChargeEoI, Threshold; // for pedestal subtraction
// --- AliRoot header files ---
#include "AliLog.h"
#include "AliQAChecker.h"
+#include "AliRawReader.h"
#include "AliZDCQADataMakerRec.h"
#include "AliZDCRawStream.h"
#include "AliESDZDC.h"
{
// Filling Raws QA histos
//
+ rawReader->Reset() ;
Float_t sum_ZNC=0., sum_ZNA=0., sum_ZPC=0., sum_ZPA=0.;
Float_t sumQ_ZNC=0., sumQ_ZNA=0., sumQ_ZPC=0., sumQ_ZPA=0.;
//Float_t sum_ZNC_lg=0., sum_ZNA_lg=0., sum_ZPC_lg=0., sum_ZPA_lg=0.;