+ h1i = new TH1I("H1I_Cell_Multiplicity_V0C", "Cell Multiplicity in V0;Multiplicity (Nb of Cell);Counts", 35, 0, 35) ;
+ Add2ESDsList(h1i, kCellMultiV0C, !expert, image) ;
+
+ h1d = new TH1F("H1D_MIP_Multiplicity_V0A", "MIP Multiplicity in V0A;Multiplicity (Nb of MIP);Counts", 1000, 0, 1000) ;
+ Add2ESDsList(h1d, kMIPMultiV0A, !expert, image) ;
+
+ h1d = new TH1F("H1D_MIP_Multiplicity_V0C", "MIP Multiplicity in V0C;Multiplicity (Nb of MIP);Counts", 1000, 0, 1000) ;
+ Add2ESDsList(h1d, kMIPMultiV0C, !expert, image) ;
+
+ h2d = new TH2F("H2D_MIP_Multiplicity_Channel", "MIP Multiplicity per Channel;Channel;Multiplicity (Nb of MIP)",64, 0, 64, 100, 0, 100) ;
+ Add2ESDsList(h2d, kMIPMultiChannel, !expert, image) ;
+
+ h1d = new TH1F("H1D_BBFlag_Counters", "BB Flag Counters;Channel;Counts",64, 0, 64) ;
+ Add2ESDsList(h1d, kBBFlag, !expert, image) ;
+
+ h1d = new TH1F("H1D_BGFlag_Counters", "BG Flag Counters;Channel;Counts",64, 0, 64) ;
+ Add2ESDsList(h1d, kBGFlag, !expert, image) ;
+
+ h2d = new TH2F("H2D_Charge_Channel", "ADC Charge per channel;Channel;Charge (ADC counts)",64, 0, 64, 1024, 0, 1024) ;
+ Add2ESDsList(h2d, kChargeChannel, !expert, image) ;
+
+ h2d = new TH2F("H2D_Time_Channel", "Time per channel;Channel;Time (ns)",64, 0, 64, 400, -100, 100) ;
+ Add2ESDsList(h2d, kTimeChannel, !expert, image) ;
+
+ h1d = new TH1F("H1D_V0A_Time", "Mean V0A Time;Time (ns);Counts",1000, -100., 100.);
+ Add2ESDsList(h1d,kESDV0ATime, !expert, image);
+
+ h1d = new TH1F("H1D_V0C_Time", "Mean V0C Time;Time (ns);Counts",1000, -100., 100.);
+ Add2ESDsList(h1d,kESDV0CTime, !expert, image);
+
+ h1d = new TH1F("H1D_Diff_Time", "Diff Time V0A - V0C;Diff Time V0A - V0C (ns);Counts",1000, -200., 200.);
+ Add2ESDsList(h1d,kESDDiffTime, !expert, image);
+ //
+ ClonePerTrigClass(AliQAv1::kESDS); // this should be the last line
+}
+
+//____________________________________________________________________________
+void AliVZEROQADataMakerRec::InitRaws()
+{
+ // Creates RAW histograms in Raws subdir
+
+ const Bool_t expert = kTRUE ;
+ const Bool_t saveCorr = kTRUE ;
+ const Bool_t image = kTRUE ;
+
+ const Int_t kNintegrator = 2;
+
+ const Int_t kNTdcTimeBins = 1280;
+ const Float_t kTdcTimeMin = 0.;
+ const Float_t kTdcTimeMax = 75.;
+ const Int_t kNTdcWidthBins = 256;
+ const Float_t kTdcWidthMin = 0;
+ const Float_t kTdcWidthMax = 200.;
+ const Int_t kNChargeBins = 1024;
+ const Float_t kChargeMin = 0;
+ const Float_t kChargeMax = 1024;
+ const Int_t kNChannelBins = 64;
+ const Float_t kChannelMin = 0;
+ const Float_t kChannelMax = 64;
+ const Int_t kNPedestalBins = 200;
+ const Float_t kPedestalMin = 0;
+ const Float_t kPedestalMax = 200;
+ const Int_t kNMIPBins = 512;
+ const Float_t kMIPMin = 0;
+ const Float_t kMIPMax = 16;
+
+ TH2I * h2i;
+ TH2F * h2d;
+ TH1I * h1i;
+ TH1F * h1d;
+
+ int iHisto =0;
+ // Creation of Trigger Histogram
+ h1d = new TH1F("H1D_Trigger_Type", "V0 Trigger Type;;Counts", 4,0 ,4) ;
+ Add2RawsList(h1d,kTriggers, !expert, image, saveCorr); iHisto++;
+ h1d->SetFillColor(29);
+ h1d->SetLineWidth(2);
+ h1d->GetXaxis()->SetLabelSize(0.06);
+ h1d->GetXaxis()->SetNdivisions(808,kFALSE);
+ h1d->GetXaxis()->SetBinLabel(1, "V0-AND");
+ h1d->GetXaxis()->SetBinLabel(2, "V0-OR");
+ h1d->GetXaxis()->SetBinLabel(3, "V0-BGA");
+ h1d->GetXaxis()->SetBinLabel(4, "V0-BGC");
+
+ h2d = new TH2F("H2D_Trigger_Type", "V0 Trigger Type;V0A;V0C", 4,0 ,4,4,0,4) ;
+ Add2RawsList(h2d,kTriggers2, !expert, image, saveCorr); iHisto++;
+ h2d->SetOption("coltext");
+ h2d->GetXaxis()->SetLabelSize(0.06);
+ h2d->GetXaxis()->SetNdivisions(808,kFALSE);
+ h2d->GetYaxis()->SetNdivisions(808,kFALSE);
+ h2d->GetXaxis()->SetBinLabel(1, "Empty");
+ h2d->GetXaxis()->SetBinLabel(2, "Fake");
+ h2d->GetXaxis()->SetBinLabel(3, "BB");
+ h2d->GetXaxis()->SetBinLabel(4, "BG");
+ h2d->GetYaxis()->SetBinLabel(1, "Empty");
+ h2d->GetYaxis()->SetBinLabel(2, "Fake");
+ h2d->GetYaxis()->SetBinLabel(3, "BB");
+ h2d->GetYaxis()->SetBinLabel(4, "BG");
+
+ // Creation of Cell Multiplicity Histograms
+ h1i = new TH1I("H1I_Multiplicity_V0A", "Cell Multiplicity in V0A;# of Cells;Entries", 35, 0, 35) ;
+ Add2RawsList(h1i,kMultiV0A, expert, image, saveCorr); iHisto++;
+ h1i = new TH1I("H1I_Multiplicity_V0C", "Cell Multiplicity in V0C;# of Cells;Entries", 35, 0, 35) ;
+ Add2RawsList(h1i,kMultiV0C, expert, image, saveCorr); iHisto++;
+
+ // Creation of Total Charge Histograms
+ h1d = new TH1F("H1D_Charge_V0A", "Total Charge in V0A;Charge [ADC counts];Counts", 4000, 0, 30000) ;
+ Add2RawsList(h1d,kChargeV0A, expert, !image, saveCorr); iHisto++;
+ h1d = new TH1F("H1D_Charge_V0C", "Total Charge in V0C;Charge [ADC counts];Counts", 4000, 0, 50000) ;
+ Add2RawsList(h1d,kChargeV0C, expert, !image, saveCorr); iHisto++;
+ h1d = new TH1F("H1D_Charge_V0", "Total Charge in V0;Charge [ADC counts];Counts", 4000, 0, 80000) ;
+ Add2RawsList(h1d,kChargeV0, expert, !image, saveCorr); iHisto++;
+
+ // Creation of MIP Histograms
+ h1d = new TH1F("H1D_MIP_V0A", "Total MIP in V0A;Multiplicity [MIP];Counts", kNMIPBins,kMIPMin ,32*kMIPMax) ;
+ Add2RawsList(h1d,kRawMIPV0A, expert, !image, saveCorr); iHisto++;
+ h1d = new TH1F("H1D_MIP_V0C", "Total MIP in V0C;Multiplicity [MIP];Counts", kNMIPBins,kMIPMin ,32*kMIPMax) ;
+ Add2RawsList(h1d,kRawMIPV0C, expert, !image, saveCorr); iHisto++;
+ h1d = new TH1F("H1D_MIP_V0", "Total MIP in V0;Multiplicity [MIP];Counts", 2*kNMIPBins,kMIPMin ,64*kMIPMax) ;
+ Add2RawsList(h1d,kRawMIPV0, expert, !image, saveCorr); iHisto++;
+ h2d = new TH2F("H2D_MIP_Channel", "Nb of MIP per channel;Channel;# of Mips", kNChannelBins, kChannelMin, kChannelMax,kNMIPBins,kMIPMin ,kMIPMax) ;
+ Add2RawsList(h2d,kRawMIPChannel, expert, !image, !saveCorr); iHisto++;
+