- if (!rawReader) return;
-}
-
-void AliHLTQADataMakerRec::InitESDs(){
-
- //create ESDs histograms in ESDs subdir
- const Bool_t expert = kTRUE ;
- const Bool_t image = kTRUE ;
-
- TH2F * histESDMultiplicity =
- new TH2F("hESDMultiplicity",
- "Number of tracks from all events; Number of offline tracks; Number of HLT tracks",
- 300, 0, 300, 300, 0, 300);
- histESDMultiplicity->Sumw2();
- Add2ESDsList(histESDMultiplicity, kMultiplicity, !expert, image);
-
- TH2F * histESDMultiplicityFired =
- new TH2F("hESDMultiplicityFired",
- "Number of tracks from HLT triggered events; Number of offline tracks; Number of HLT tracks",
- 300, 0, 300, 300, 0, 300);
- histESDMultiplicityFired->Sumw2();
- Add2ESDsList(histESDMultiplicityFired, kMultiplicityFired, !expert, image);
-
- TH2F * histESDNCls =
- new TH2F("hESDNCls", "Mean number of TPC clusters from all events; Offline; HLT",
- 200, 0, 200, 200, 0, 200);
- histESDNCls->Sumw2();
- Add2ESDsList(histESDNCls, kNCls, !expert, image);
-
- TH2F * histESDNClsFired =
- new TH2F("hESDNClsFired", "Mean number of TPC clusters from triggered events; Offline; HLT",
- 200, 0, 200, 200, 0, 200);
- histESDNClsFired->Sumw2();
- Add2ESDsList(histESDNClsFired, kNClsFired, !expert, image);
-
- TH1F * histPHLT
- = new TH1F("hPHLT", "P distribution for all events from HLT; P [GeV/c]",
- 100, -0.5, 99.5);
- histPHLT->Sumw2();
- Add2ESDsList(histPHLT, kPHLT, !expert, image);
-
- TH1F * histPOffline
- = new TH1F("hPOffline",
- "P distribution for all events from offline; P [GeV/c]",
- 100, -0.5, 99.5);
- histPOffline->Sumw2();
- Add2ESDsList(histPOffline, kPOffline, !expert, image);
-
- TH1F * histPHLTFired
- = new TH1F("hPHLTFired",
- "P distribution for fired events from HLT; P [GeV/c]",
- 100, -0.5, 99.5);
- histPHLTFired->Sumw2();
- Add2ESDsList(histPHLTFired, kPHLTFired, !expert, image);
-
- TH1F * histPOfflineFired
- = new TH1F("hPOfflineFired",
- "P distribution for fired events from offline; P [GeV/c]",
- 100, -0.5, 99.5);
- histPOfflineFired->Sumw2();
- Add2ESDsList(histPOfflineFired, kPOfflineFired, !expert, image);
-
- TH1F * histPRatio
- = new TH1F("hPRatio",
- "Ratio of P distribution for all events; P [GeV/c]",
- 100, -0.5, 99.5);
- histPRatio->Sumw2();
- Add2ESDsList(histPRatio, kPRatio, !expert, image);
-
- TH1F * histPRatioFired
- = new TH1F("hPRatioFired",
- "Ratio of P distribution for fired events; P [GeV/c]",
- 100, -0.5, 99.5);
- histPRatioFired->Sumw2();
- Add2ESDsList(histPRatioFired, kPRatioFired, !expert, image);
-
- TH1F * histPtHLT
- = new TH1F("hPtHLT",
- "P_{T} distribution for all events from HLT; P_{T} [GeV/c]",
- 200, -100.5, 99.5);
- histPtHLT->Sumw2();
- Add2ESDsList(histPtHLT, kPtHLT, !expert, image);
-
- TH1F * histPtOffline
- = new TH1F("hPtOffline",
- "P_{T} distribution for all events from offline; P_{T} [GeV/c]",
- 200, -100.5, 99.5);
- histPtOffline->Sumw2();
- Add2ESDsList(histPtOffline, kPtOffline, !expert, image);
-
- TH1F * histPtHLTFired
- = new TH1F("hPtHLTFired",
- "P_{T} distribution for fired events from HLT; P_{T} [GeV/c]",
- 200, -100.5, 99.5);
- histPtHLTFired->Sumw2();
- Add2ESDsList(histPtHLTFired, kPtHLTFired, !expert, image);
-
- TH1F * histPtOfflineFired
- = new TH1F("hPtOfflineFired",
- "P_{T} distribution for fired events from offline; P_{T} [GeV/c]",
- 200, -100.5, 99.5);
- histPtOfflineFired->Sumw2();
- Add2ESDsList(histPtOfflineFired, kPtOfflineFired, !expert, image);
-
- TH1F * histNClsPerTrkHLT
- = new TH1F("hNClsPerTrkHLT", "Clusters per HLT track; N cluster; Counts",
- 200, 0, 200);
- histNClsPerTrkHLT->Sumw2();
- Add2ESDsList(histNClsPerTrkHLT, kNClsPerTrkHLT, !expert, image);
-
- TH1F * histNClsPerTrkOffline
- = new TH1F("hNClsPerTrkOffline",
- "Clusters per offline track; N cluster; Counts",
- 200, 0, 200);
- histNClsPerTrkOffline->Sumw2();
- Add2ESDsList(histNClsPerTrkOffline, kNClsPerTrkOffline, !expert, image);
-
-TH1F * histNClsPerTrkHLTFired
- = new TH1F("hNClsPerTrkHLTFired",
- "Clusters per HLT track from HLT fired events; N cluster; Counts",
- 200, 0, 200);
- histNClsPerTrkHLTFired->Sumw2();
- Add2ESDsList(histNClsPerTrkHLTFired, kNClsPerTrkHLTFired, !expert, image);
-
- TH1F * histNClsPerTrkOfflineFired
- = new TH1F("hNClsPerTrkOfflineFired",
- "Clusters per offline track from HLT fired events; N cluster; Counts",
- 200, 0, 200);
- histNClsPerTrkOfflineFired->Sumw2();
- Add2ESDsList(histNClsPerTrkOfflineFired, kNClsPerTrkOfflineFired, !expert, image);
-
- TH1F * histPhiHLT =
- new TH1F("hPhiHLT", "Phi distribution of HLT tracks; Phi; Counts",
- 360, 0, 360);
- histPhiHLT->Sumw2();
- Add2ESDsList(histPhiHLT, kPhiHLT, !expert, image);
-
- TH1F * histPhiOffline =
- new TH1F("hPhiOffline",
- "Phi distribution of offline tracks; Phi; Counts",
- 360, 0, 360);
- histPhiOffline->Sumw2();
- Add2ESDsList(histPhiOffline, kPhiOffline, !expert, image);
-
- TH1F * histPhiHLTFired =
- new TH1F("hPhiHLTFired", "Phi distribution of HLT tracks from HLT fired event ; Phi; Counts",
- 360, 0, 360);
- histPhiHLTFired->Sumw2();
- Add2ESDsList(histPhiHLTFired, kPhiHLTFired, !expert, image);
-
- TH1F * histPhiOfflineFired =
- new TH1F("hPhiOfflineFired",
- "Phi distribution of offline tracks from HLT fired events; Phi; Counts",
- 360, 0, 360);
- histPhiOfflineFired->Sumw2();
- Add2ESDsList(histPhiOfflineFired, kPhiOfflineFired, !expert, image);
-
- TH1F * histEtaHLT =
- new TH1F("hEtaHLT", "Eta distribution of HLT tracks; Eta; Counts",
- 200, -1, 1);
- histEtaHLT->Sumw2();
- Add2ESDsList(histEtaHLT, kEtaHLT, !expert, image);
-
- TH1F * histEtaOffline =
- new TH1F("hEtaOffline", "Eta distribution of offline tracks; Eta; Counts",
- 200, -1, 1);
- histEtaHLT->Sumw2();
- Add2ESDsList(histEtaOffline, kEtaOffline, !expert, image);
-
- TH1F * histEtaHLTFired =
- new TH1F("hEtaHLTFired",
- "Eta distribution of HLT tracks from HLT fired events; Eta; Counts",
- 200, -1, 1);
- histEtaHLTFired->Sumw2();
- Add2ESDsList(histEtaHLTFired, kEtaHLTFired, !expert, image);
-
- TH1F * histEtaOfflineFired =
- new TH1F("hEtaOfflineFired",
- "Eta distribution of offline tracks from HLT fired events; Eta; Counts",
- 200, -1, 1);
- histEtaHLTFired->Sumw2();
- Add2ESDsList(histEtaOfflineFired, kEtaOfflineFired, !expert, image);