Warning fixed
[u/mrichter/AliRoot.git] / ZDC / AliZDCQADataMakerRec.cxx
CommitLineData
075a0e70 1/**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
fdc38bb2 15
16///////////////////////////////////////////////////////////////////////
17// //
18// Produces the data needed to calculate the ZDC quality assurance. //
19// QA objects are 1 & 2 Dimensional histograms. //
20// author: C. Oppedisano //
21// //
22///////////////////////////////////////////////////////////////////////
23
075a0e70 24// --- ROOT system ---
25#include <TClonesArray.h>
26#include <TFile.h>
27#include <TH1F.h>
28#include <TH2F.h>
29#include <TProfile.h>
30#include <Riostream.h>
31// --- Standard library ---
32
33// --- AliRoot header files ---
34#include "AliLog.h"
35#include "AliQAChecker.h"
78328afd 36#include "AliRawReader.h"
075a0e70 37#include "AliZDCQADataMakerRec.h"
38#include "AliZDCRawStream.h"
39#include "AliESDZDC.h"
40#include "AliESDEvent.h"
41
42ClassImp(AliZDCQADataMakerRec)
43
44//____________________________________________________________________________
45 AliZDCQADataMakerRec::AliZDCQADataMakerRec() :
46 AliQADataMakerRec(AliQA::GetDetName(AliQA::kZDC), "ZDC Quality Assurance Data Maker")
47{
48 // ctor
49}
50
51//____________________________________________________________________________
52AliZDCQADataMakerRec::AliZDCQADataMakerRec(const AliZDCQADataMakerRec& qadm) :
53 AliQADataMakerRec()
54{
55 //copy ctor
56 SetName((const char*)qadm.GetName());
57 SetTitle((const char*)qadm.GetTitle());
58}
59
60//__________________________________________________________________
61AliZDCQADataMakerRec& AliZDCQADataMakerRec::operator = (const AliZDCQADataMakerRec& qadm )
62{
63 // Equal operator.
64 this->~AliZDCQADataMakerRec();
65 new(this) AliZDCQADataMakerRec(qadm);
66 return *this;
67}
68
69//____________________________________________________________________________
70
71void AliZDCQADataMakerRec::InitRaws()
72{
73 // create Digits histograms in Digits subdir
74 //
fdc38bb2 75 // ------------------- HIGH GAIN CHAIN ---------------------------
075a0e70 76 TH1F * hRawZNCTot = new TH1F("hRawZNCTot", "Raw signal in ZNC", 100, 0., 6000.);
77 TH1F * hRawZNATot = new TH1F("hRawZNATot", "Raw signal in ZNA", 100, 0., 6000.);
78 TH1F * hRawZPCTot = new TH1F("hRawZPCTot", "Raw signal in ZPC", 100, 0., 10000.);
79 TH1F * hRawZPATot = new TH1F("hRawZPATot", "Raw signal in ZPA", 100, 0., 10000.);
80 Add2RawsList(hRawZNCTot, 0);
fdc38bb2 81 Add2RawsList(hRawZNATot, 1);
82 Add2RawsList(hRawZPCTot, 2);
075a0e70 83 Add2RawsList(hRawZPATot, 3);
84 //
3d26d59b 85 TH1F * hRawSumQZNC = new TH1F("hRawSumQZNC", "Raw summed 4 ZNC quadrants",100, 0., 4000.);
3d26d59b 86 TH1F * hRawSumQZNA = new TH1F("hRawSumQZNA", "Raw summed 4 ZNA quadrants",100, 0., 4000.);
fdc38bb2 87 TH1F * hRawSumQZPC = new TH1F("hRawSumQZPC", "Raw summed 4 ZPC quadrants",100, 0., 4000.);
3d26d59b 88 TH1F * hRawSumQZPA = new TH1F("hRawSumQZPA", "Raw summed 4 ZPA quadrants",100, 0., 4000.);
55fb565b 89 Add2RawsList(hRawSumQZNC, 4, kTRUE);
90 Add2RawsList(hRawSumQZNA, 5, kTRUE);
91 Add2RawsList(hRawSumQZPC, 6, kTRUE);
92 Add2RawsList(hRawSumQZPA, 7, kTRUE);
075a0e70 93 //
3d26d59b 94 TH1F * hRawPMCZNC = new TH1F("hRawPMCZNC", "Raw common ZNC PMT",100, 0., 4000.);
3d26d59b 95 TH1F * hRawPMCZNA = new TH1F("hRawPMCZNA", "Raw common ZNA PMT",100, 0., 4000.);
fdc38bb2 96 TH1F * hRawPMCZPC = new TH1F("hRawPMCZPC", "Raw common ZPC PMT",100, 0., 4000.);
3d26d59b 97 TH1F * hRawPMCZPA = new TH1F("hRawPMCZPA", "Raw common ZPA PMT",100, 0., 4000.);
55fb565b 98 Add2RawsList(hRawPMCZNC, 8 , kTRUE);
99 Add2RawsList(hRawPMCZNA, 9 , kTRUE);
100 Add2RawsList(hRawPMCZPC, 10, kTRUE);
101 Add2RawsList(hRawPMCZPA, 11, kTRUE);
075a0e70 102 //
fdc38bb2 103/* // ------------------- LOW GAIN CHAIN ---------------------------
075a0e70 104 TH1F * hRawZNCTotlg = new TH1F("hRawZNCTotlg", "Rawit lg signal in ZNC", 100, 0., 6000.);
105 TH1F * hRawZNATotlg = new TH1F("hRawZNATotlg", "Rawit lg signal in ZNA", 100, 0., 6000.);
106 TH1F * hRawZPCTotlg = new TH1F("hRawZPCTotlg", "Rawit lg signal in ZPC", 100, 0., 10000.);
107 TH1F * hRawZPATotlg = new TH1F("hRawZPATotlg", "Rawit lg signal in ZPA", 100, 0., 10000.);
108 Add2RawsList(hRawZNCTotlg, 12);
fdc38bb2 109 Add2RawsList(hRawZNATotlg, 13);
110 Add2RawsList(hRawZPCTotlg, 14);
075a0e70 111 Add2RawsList(hRawZPATotlg, 15);
112 //
3d26d59b 113 TH1F * hRawSumQZNClg = new TH1F("hRawSumQZNClg", "Raw summed 4 lg ZNC quadrants",100, 0., 4000.);
3d26d59b 114 TH1F * hRawSumQZNAlg = new TH1F("hRawSumQZNAlg", "Raw summed 4 lg ZNA quadrants",100, 0., 4000.);
fdc38bb2 115 TH1F * hRawSumQZPClg = new TH1F("hRawSumQZPClg", "Raw summed 4 lg ZPC quadrants",100, 0., 4000.);
3d26d59b 116 TH1F * hRawSumQZPAlg = new TH1F("hRawSumQZPAlg", "Raw summed 4 lg ZPA quadrants",100, 0., 4000.);
55fb565b 117 Add2RawsList(hRawSumQZNClg, 16, kTRUE);
118 Add2RawsList(hRawSumQZNAlg, 17, kTRUE);
119 Add2RawsList(hRawSumQZPClg, 18, kTRUE);
120 Add2RawsList(hRawSumQZPAlg, 19, kTRUE);
075a0e70 121 //
3d26d59b 122 TH1F * hRawPMCZNClg = new TH1F("hRawPMCZNClg", "Raw common lg ZNC PMT",100, 0., 4000.);
3d26d59b 123 TH1F * hRawPMCZNAlg = new TH1F("hRawPMCZNAlg", "Raw common lg ZNA PMT",100, 0., 4000.);
fdc38bb2 124 TH1F * hRawPMCZPClg = new TH1F("hRawPMCZPClg", "Raw common lg ZPC PMT",100, 0., 4000.);
3d26d59b 125 TH1F * hRawPMCZPAlg = new TH1F("hRawPMCZPAlg", "Raw common lg ZPA PMT",100, 0., 4000.);
55fb565b 126 Add2RawsList(hRawPMCZNClg, 20, kTRUE);
127 Add2RawsList(hRawPMCZNAlg, 21, kTRUE);
128 Add2RawsList(hRawPMCZPClg, 22, kTRUE);
129 Add2RawsList(hRawPMCZPAlg, 23, kTRUE);*/
075a0e70 130}
131
132//____________________________________________________________________________
133void AliZDCQADataMakerRec::InitESDs()
134{
135 //Booking ESDs histograms
136 //
137 TH2F * hZNC = new TH2F("hZNC", "Centroid in ZNC", 100, -5.,5.,100,-5.,5.);
138 TH2F * hZNA = new TH2F("hZNA", "Centroid in ZNA", 100, -5.,5.,100,-5.,5.);
bb83d6d1 139 Add2ESDsList(hZNC, 0);
140 Add2ESDsList(hZNA, 1);
075a0e70 141 //
fdc38bb2 142 // ------------------- HIGH GAIN CHAIN ---------------------------
3d26d59b 143 TH1F * hESDZNCTot = new TH1F("hESDZNCTot", "Energy in ZNC", 100, 0., 6000.);
3d26d59b 144 TH1F * hESDZNATot = new TH1F("hESDZNATot", "Energy in ZNA", 100, 0., 6000.);
fdc38bb2 145 TH1F * hESDZPCTot = new TH1F("hESDZPCTot", "Energy in ZPC", 100, 0., 10000.);
3d26d59b 146 TH1F * hESDZPATot = new TH1F("hESDZPATot", "Energy in ZPA", 100, 0., 10000.);
075a0e70 147 Add2ESDsList(hESDZNCTot, 2);
fdc38bb2 148 Add2ESDsList(hESDZNATot, 3);
149 Add2ESDsList(hESDZPCTot, 4);
075a0e70 150 Add2ESDsList(hESDZPATot, 5);
151 //
3d26d59b 152 TH1F * hESDSumQZNC = new TH1F("hESDSumQZNC", "Sum of 4 ZNC energy",100, 0., 4000.);
3d26d59b 153 TH1F * hESDSumQZNA = new TH1F("hESDSumQZNA", "Sum of 4 ZNA energy",100, 0., 4000.);
fdc38bb2 154 TH1F * hESDSumQZPC = new TH1F("hESDSumQZPC", "Sum of 4 ZPC energy",100, 0., 4000.);
3d26d59b 155 TH1F * hESDSumQZPA = new TH1F("hESDSumQZPA", "Sum of 4 ZPA energy",100, 0., 4000.);
55fb565b 156 Add2ESDsList(hESDSumQZNC, 6, kTRUE);
157 Add2ESDsList(hESDSumQZNA, 7, kTRUE);
158 Add2ESDsList(hESDSumQZPC, 8, kTRUE);
159 Add2ESDsList(hESDSumQZPA, 9, kTRUE);
075a0e70 160 //
3d26d59b 161 TH1F * hESDPMCZNC = new TH1F("hESDPMCZNC", "Energy in common ZNC PMT",100, 0., 4000.);
3d26d59b 162 TH1F * hESDPMCZNA = new TH1F("hESDPMCZNA", "Energy in common ZNA PMT",100, 0., 4000.);
fdc38bb2 163 TH1F * hESDPMCZPC = new TH1F("hESDPMCZPC", "Energy in common ZPC PMT",100, 0., 4000.);
3d26d59b 164 TH1F * hESDPMCZPA = new TH1F("hESDPMCZPA", "Energy in common ZPA PMT",100, 0., 4000.);
55fb565b 165 Add2ESDsList(hESDPMCZNC, 10, kTRUE);
166 Add2ESDsList(hESDPMCZNA, 11, kTRUE);
167 Add2ESDsList(hESDPMCZPC, 12, kTRUE);
168 Add2ESDsList(hESDPMCZPA, 13, kTRUE);
075a0e70 169 //
fdc38bb2 170/* // ------------------- LOW GAIN CHAIN ---------------------------
3d26d59b 171 TH1F * hESDZNCTotlg = new TH1F("hESDZNCTotlg", "ESD lg signal in ZNC", 100, 0., 6000.);
172 TH1F * hESDZNATotlg = new TH1F("hESDZNATotlg", "ESD lg signal in ZNA", 100, 0., 6000.);
173 TH1F * hESDZPCTotlg = new TH1F("hESDZPCTotlg", "ESD lg signal in ZPC", 100, 0., 10000.);
174 TH1F * hESDZPATotlg = new TH1F("hESDZPATotlg", "ESD lg signal in ZPA", 100, 0., 10000.);
075a0e70 175 Add2ESDsList(hESDZNCTotlg, 14);
fdc38bb2 176 Add2ESDsList(hESDZNATotlg, 15);
177 Add2ESDsList(hESDZPCTotlg, 16);
075a0e70 178 Add2ESDsList(hESDZPATotlg, 17);
179 //
3d26d59b 180 TH1F * hESDSumQZNClg = new TH1F("hESDSumQZNClg", "Sum of 4 lg ZNC sectors",100, 0., 4000.);
3d26d59b 181 TH1F * hESDSumQZNAlg = new TH1F("hESDSumQZNAlg", "Sum of 4 lg ZNA sectors",100, 0., 4000.);
fdc38bb2 182 TH1F * hESDSumQZPClg = new TH1F("hESDSumQZPClg", "Sum of 4 lg ZPC sectors",100, 0., 4000.);
3d26d59b 183 TH1F * hESDSumQZPAlg = new TH1F("hESDSumQZPAlg", "Sum of 4 lg ZPA sectors",100, 0., 4000.);
55fb565b 184 Add2ESDsList(hESDSumQZNClg, 18, kTRUE);
185 Add2ESDsList(hESDSumQZNAlg, 19, kTRUE);
186 Add2ESDsList(hESDSumQZPClg, 20, kTRUE);
187 Add2ESDsList(hESDSumQZPAlg, 21, kTRUE);
075a0e70 188 //
3d26d59b 189 TH1F * hESDPMCZNClg = new TH1F("hESDPMCZNClg", "Signal in common ZNC lg PMT",100, 0., 4000.);
3d26d59b 190 TH1F * hESDPMCZNAlg = new TH1F("hESDPMCZNAlg", "Signal in common ZNA lg PMT",100, 0., 4000.);
fdc38bb2 191 TH1F * hESDPMCZPClg = new TH1F("hESDPMCZPClg", "Signal in common ZPC lg PMT",100, 0., 4000.);
3d26d59b 192 TH1F * hESDPMCZPAlg = new TH1F("hESDPMCZPAlg", "Signal in common ZPA lg PMT",100, 0., 4000.);
55fb565b 193 Add2ESDsList(hESDPMCZNClg, 22, kTRUE);
194 Add2ESDsList(hESDPMCZNAlg, 23, kTRUE);
195 Add2ESDsList(hESDPMCZPClg, 24, kTRUE);
196 Add2ESDsList(hESDPMCZPAlg, 25, kTRUE);*/
075a0e70 197}
198
199//____________________________________________________________________________
200
201void AliZDCQADataMakerRec::MakeRaws(AliRawReader *rawReader)
202{
203 // Filling Raws QA histos
204 //
78328afd 205 rawReader->Reset() ;
fdc38bb2 206 Float_t sum_ZNC=0., sum_ZNA=0., sum_ZPC=0., sum_ZPA=0.;
207 Float_t sumQ_ZNC=0., sumQ_ZNA=0., sumQ_ZPC=0., sumQ_ZPA=0.;
208 //Float_t sum_ZNC_lg=0., sum_ZNA_lg=0., sum_ZPC_lg=0., sum_ZPA_lg=0.;
209 //Float_t sumQ_ZNC_lg=0., sumQ_ZNA_lg=0., sumQ_ZPC_lg=0., sumQ_ZPA_lg=0.;
075a0e70 210 //
211 AliZDCRawStream stream(rawReader);
212 while(stream.Next()){
213 if(stream.IsADCDataWord() &&
214 (stream.GetADCModule()==0 || stream.GetADCModule()==1)){
215 if(stream.GetSector(0)==1){
216 if(stream.GetADCGain()==0){
fdc38bb2 217 sum_ZNC += stream.GetADCValue();
218 if(stream.GetSector(1)!=0) sumQ_ZNC += stream.GetADCValue();
075a0e70 219 else GetRawsData(8)->Fill(stream.GetADCValue());
220 }
fdc38bb2 221 /*else{
222 sum_ZNC_lg += stream.GetADCValue();
223 if(stream.GetSector(1)!=0) sumQ_ZNC_lg += stream.GetADCValue();
075a0e70 224 else GetRawsData(20)->Fill(stream.GetADCValue());
fdc38bb2 225 }*/
075a0e70 226 }
227 else if(stream.GetSector(0)==2){
228 if(stream.GetADCGain()==0){
fdc38bb2 229 sum_ZPC += stream.GetADCValue();
230 if(stream.GetSector(1)!=0) sumQ_ZPC += stream.GetADCValue();
231 else GetRawsData(10)->Fill(stream.GetADCValue());
075a0e70 232 }
fdc38bb2 233 /*else{
234 sum_ZPC_lg += stream.GetADCValue();
235 if(stream.GetSector(1)!=0) sumQ_ZPC_lg += stream.GetADCValue();
236 else GetRawsData(22)->Fill(stream.GetADCValue());
237 }*/
075a0e70 238 }
239 else if(stream.GetSector(0)==4){
240 if(stream.GetADCGain()==0){
fdc38bb2 241 sum_ZNA += stream.GetADCValue();
242 if(stream.GetSector(1)!=0) sumQ_ZNA += stream.GetADCValue();
243 else GetRawsData(9)->Fill(stream.GetADCValue());
075a0e70 244 }
fdc38bb2 245 /*else{
246 sum_ZNA_lg += stream.GetADCValue();
247 if(stream.GetSector(1)!=0) sumQ_ZNA_lg += stream.GetADCValue();
248 else GetRawsData(21)->Fill(stream.GetADCValue());
249 }*/
075a0e70 250 }
251 else if(stream.GetSector(0)==5){
252 if(stream.GetADCGain()==0){
fdc38bb2 253 sum_ZPA += stream.GetADCValue();
254 if(stream.GetSector(1)!=0) sumQ_ZPA += stream.GetADCValue();
075a0e70 255 else GetRawsData(11)->Fill(stream.GetADCValue());
256 }
fdc38bb2 257 /*else{
258 sum_ZPA_lg += stream.GetADCValue();
259 if(stream.GetSector(1)!=0) sumQ_ZPA_lg += stream.GetADCValue();
075a0e70 260 else GetRawsData(23)->Fill(stream.GetADCValue());
fdc38bb2 261 }*/
075a0e70 262 }
263 }
264 }
265 //
fdc38bb2 266 GetRawsData(0)->Fill(sum_ZNC);
267 GetRawsData(1)->Fill(sum_ZNA);
268 GetRawsData(2)->Fill(sum_ZPC);
269 GetRawsData(3)->Fill(sum_ZPA);
075a0e70 270 //
fdc38bb2 271 GetRawsData(4)->Fill(sumQ_ZNC);
272 GetRawsData(5)->Fill(sumQ_ZNA);
273 GetRawsData(6)->Fill(sumQ_ZPC);
274 GetRawsData(7)->Fill(sumQ_ZPA);
075a0e70 275 //
fdc38bb2 276 /*GetRawsData(12)->Fill(sum_ZNC_lg);
277 GetRawsData(13)->Fill(sum_ZNA_lg);
278 GetRawsData(14)->Fill(sum_ZPC_lg);
279 GetRawsData(15)->Fill(sum_ZPA_lg);
075a0e70 280 //
fdc38bb2 281 GetRawsData(16)->Fill(sumQ_ZNC_lg);
282 GetRawsData(17)->Fill(sumQ_ZNA_lg);
283 GetRawsData(18)->Fill(sumQ_ZPC_lg);
284 GetRawsData(19)->Fill(sumQ_ZPA_lg);*/
075a0e70 285 //
286 stream.Delete();
287}
288
289//____________________________________________________________________________
290void AliZDCQADataMakerRec::MakeESDs(AliESDEvent * esd)
291{
292 // make QA data from ESDs
293 //
294 AliESDZDC * zdcESD = esd->GetESDZDC();
295 //
fdc38bb2 296 Double32_t * centr_ZNC, * centr_ZNA;
075a0e70 297 Int_t NSpecnC = (Int_t) (esd->GetZDCN1Energy()/2.7);
b8871e5a 298 if(NSpecnC!=0){
fdc38bb2 299 centr_ZNC = zdcESD->GetZNCCentroid(NSpecnC);
300 GetESDsData(0)->Fill(centr_ZNC[0], centr_ZNC[1]);
b8871e5a 301 }
075a0e70 302 Int_t NSpecnA = (Int_t) (esd->GetZDCN2Energy()/2.7);
b8871e5a 303 if(NSpecnA!=0){
fdc38bb2 304 centr_ZNA = zdcESD->GetZNACentroid(NSpecnA);
305 GetESDsData(1)->Fill(centr_ZNA[0], centr_ZNA[1]);
b8871e5a 306 }
075a0e70 307 //
308 GetESDsData(2)->Fill(esd->GetZDCN1Energy());
fdc38bb2 309 GetESDsData(3)->Fill(esd->GetZDCN2Energy());
310 GetESDsData(4)->Fill(esd->GetZDCP1Energy());
075a0e70 311 GetESDsData(5)->Fill(esd->GetZDCP2Energy());
312 //
fdc38bb2 313 Double_t sumQZNC=0., sumQZPC=0., sumQZNA=0., sumQZPA=0.;
314 //Double_t sumQZNC_lg=0., sumQZPC_lg=0., sumQZNA_lg=0., sumQZPA_lg=0.;
075a0e70 315 //
fdc38bb2 316 const Double_t *towZNC, *towZPC, *towZNA, *towZPA;
317 //const Double_t *towZNC_lg, *towZPC_lg, *towZNA_lg, *towZPA_lg;
075a0e70 318 //
fdc38bb2 319 towZNC = zdcESD->GetZN1TowerEnergy();
320 towZPC = zdcESD->GetZP1TowerEnergy();
321 towZNA = zdcESD->GetZN2TowerEnergy();
322 towZPA = zdcESD->GetZP2TowerEnergy();
075a0e70 323 //
fdc38bb2 324 /*towZNC_lg = zdcESD->GetZN1TowerEnergyLR();
325 towZPC_lg = zdcESD->GetZP1TowerEnergyLR();
326 towZNA_lg = zdcESD->GetZN2TowerEnergyLR();
327 towZPA_lg = zdcESD->GetZP2TowerEnergyLR();*/
075a0e70 328 //
329 for(Int_t i=0; i<5; i++){
330 if(i==0){
fdc38bb2 331 GetESDsData(10)->Fill(towZNC[i]);
332 GetESDsData(11)->Fill(towZNA[i]);
333 GetESDsData(12)->Fill(towZPC[i]);
334 GetESDsData(13)->Fill(towZPA[i]);
075a0e70 335 //
fdc38bb2 336 /*GetESDsData(22)->Fill(towZNC_lg[i]);
337 GetESDsData(23)->Fill(towZNA_lg[i]);
338 GetESDsData(24)->Fill(towZPC_lg[i]);
339 GetESDsData(25)->Fill(towZPA_lg[i]);*/
075a0e70 340 }
341 else{
fdc38bb2 342 sumQZNC += towZNC[i];
343 sumQZPC += towZPC[i];
344 sumQZNA += towZNA[i];
345 sumQZPA += towZPA[i];
075a0e70 346 //
fdc38bb2 347 /*sumQZNC_lg += towZNC_lg[i];
348 sumQZPC_lg += towZPC_lg[i];
349 sumQZNA_lg += towZNA_lg[i];
350 sumQZPA_lg += towZPA_lg[i];*/
075a0e70 351 }
352 }
fdc38bb2 353 GetESDsData(6)->Fill(sumQZNC);
354 GetESDsData(7)->Fill(sumQZNA);
355 GetESDsData(8)->Fill(sumQZPC);
356 GetESDsData(9)->Fill(sumQZPA);
075a0e70 357 //
fdc38bb2 358 /*GetESDsData(18)->Fill(sumQZNC_lg);
359 GetESDsData(19)->Fill(sumQZNA_lg);
360 GetESDsData(20)->Fill(sumQZPC_lg);
361 GetESDsData(21)->Fill(sumQZPA_lg);*/
075a0e70 362}
363
364//____________________________________________________________________________
365void AliZDCQADataMakerRec::StartOfDetectorCycle()
366{
367 //Detector specific actions at start of cycle
368
369}
370
371//____________________________________________________________________________
372void AliZDCQADataMakerRec::EndOfDetectorCycle(AliQA::TASKINDEX_t task, TObjArray * list)
373{
374 //Detector specific actions at end of cycle
375 // do the QA checking
376 AliQAChecker::Instance()->Run(AliQA::kZDC, task, list) ;
377}
378