- TH2I * h0 = new TH2I("hHighPHOSxyMod1","High Gain Rows x Columns for PHOS module 1", 64, 0, 64, 56, 0, 56) ;
- Add2RawsList(h0,kHGmod1) ;
- TH2I * h1 = new TH2I("hHighPHOSxyMod2","High Gain Rows x Columns for PHOS module 2", 64, 0, 64, 56, 0, 56) ;
- Add2RawsList(h1,kHGmod2) ;
- TH2I * h2 = new TH2I("hHighPHOSxyMod3","High Gain Rows x Columns for PHOS module 3", 64, 0, 64, 56, 0, 56) ;
- Add2RawsList(h2,kHGmod3) ;
- TH2I * h3 = new TH2I("hHighPHOSxyMod4","High Gain Rows x Columns for PHOS module 4", 64, 0, 64, 56, 0, 56) ;
- Add2RawsList(h3,kHGmod4) ;
- TH2I * h4 = new TH2I("hHighPHOSxyMod5","High Gain Rows x Columns for PHOS module 5", 64, 0, 64, 56, 0, 56) ;
- Add2RawsList(h4,kHGmod5) ;
- TH2I * h5 = new TH2I("hLowPHOSxyMod1","Low Gain Rows x Columns for PHOS module 1", 64, 0, 64, 56, 0, 56) ;
- Add2RawsList(h5,kLGmod1) ;
- TH2I * h6 = new TH2I("hLowPHOSxyMod2","Low Gain Rows x Columns for PHOS module 2", 64, 0, 64, 56, 0, 56) ;
- Add2RawsList(h6,kLGmod2) ;
- TH2I * h7 = new TH2I("hLowPHOSxyMod3","Low Gain Rows x Columns for PHOS module 3", 64, 0, 64, 56, 0, 56) ;
- Add2RawsList(h7,kLGmod3) ;
- TH2I * h8 = new TH2I("hLowPHOSxyMod4","Low Gain Rows x Columns for PHOS module 4", 64, 0, 64, 56, 0, 56) ;
- Add2RawsList(h8,kLGmod4) ;
- TH2I * h9 = new TH2I("hLowPHOSxyMod5","Low Gain Rows x Columns for PHOS module 5", 64, 0, 64, 56, 0, 56) ;
- Add2RawsList(h9,kLGmod5) ;
-
-
- TH1I * h10 = new TH1I("hLowPhosModules", "Low Gain Hits in EMCA PHOS modules", 6, 0, 6) ;
- h10->Sumw2() ;
- Add2RawsList(h10, kNmodLG) ;
- TH1I * h11 = new TH1I("hHighPhosModules", "High Gain Hits in EMCA PHOS modules", 6, 0, 6) ;
- h11->Sumw2() ;
- Add2RawsList(h11, kNmodHG) ;
-
- TH1F * h12 = new TH1F("hLowPhosRawtime", "Low Gain Time of raw hits in PHOS", 500, -5.e-6, 20.e-6) ;
- h12->Sumw2() ;
- Add2RawsList(h12, kLGtime) ;
- TH1F * h13 = new TH1F("hHighPhosRawtime", "High Gain Time of raw hits in PHOS", 500, -5.e-6, 20.e-6) ;
- h13->Sumw2() ;
- Add2RawsList(h13, kHGtime) ;
-
- TH1F * h14 = new TH1F("hLowPhosRawEnergy", "Low Gain Energy of raw hits in PHOS", 500, 0., 1000.) ;
- h14->Sumw2() ;
- Add2RawsList(h14, kSpecLG) ;
- TH1F * h15 = new TH1F("hHighPhosRawEnergy", "High Gain Energy of raw hits in PHOS",500,0., 1000.) ;
- h15->Sumw2() ;
- Add2RawsList(h15, kSpecHG) ;
-
- TH1F * h16 = new TH1F("hLowNtot", "Low Gain Total Number of raw hits in PHOS", 500, 0., 500.) ;
- h16->Sumw2() ;
- Add2RawsList(h16, kNtotLG) ;
- TH1F * h17 = new TH1F("hHighNtot", "High Gain Total Number of raw hits in PHOS",500,0., 5000.) ;
- h17->Sumw2() ;
- Add2RawsList(h17, kNtotHG) ;
-
- TH1F * h18 = new TH1F("hLowEtot", "Low Gain Total Energy of raw hits in PHOS", 500, 0., 5000.) ;
- h18->Sumw2() ;
- Add2RawsList(h18, kEtotLG) ;
- TH1F * h19 = new TH1F("hHighEtot", "High Gain Total Energy of raw hits in PHOS",500,0., 100000.) ;
- h19->Sumw2() ;
- Add2RawsList(h19, kEtotHG) ;
-
+ const Bool_t expert = kTRUE ;
+ const Bool_t saveCorr = kTRUE ;
+ const Bool_t image = kTRUE ;
+
+ TH2I * h0 = new TH2I("hHighPHOSxyMod0","High Gain in PHOS module 0", 64, 0, 64, 56, 0, 56) ;
+ h0->SetXTitle("x, cells"); h0->SetYTitle("z, cells");
+ Add2RawsList(h0,kHGmod0, expert, !image, !saveCorr) ;
+ TH2I * h1 = new TH2I("hHighPHOSxyMod1","High Gain in PHOS module 1", 64, 0, 64, 56, 0, 56) ;
+ h1->SetXTitle("x, cells"); h1->SetYTitle("z, cells");
+ Add2RawsList(h1,kHGmod1, expert, !image, !saveCorr) ;
+ TH2I * h2 = new TH2I("hHighPHOSxyMod2","High Gain in PHOS module 2", 64, 0, 64, 56, 0, 56) ;
+ h2->SetXTitle("x, cells"); h2->SetYTitle("z, cells");
+ Add2RawsList(h2,kHGmod2, expert, !image, !saveCorr) ;
+ TH2I * h3 = new TH2I("hHighPHOSxyMod3","High Gain in PHOS module 3", 64, 0, 64, 56, 0, 56) ;
+ h3->SetXTitle("x, cells"); h3->SetYTitle("z, cells");
+ Add2RawsList(h3,kHGmod3, expert, !image, !saveCorr) ;
+ TH2I * h4 = new TH2I("hHighPHOSxyMod4","High Gain in PHOS module 4", 64, 0, 64, 56, 0, 56) ;
+ h4->SetXTitle("x, cells"); h4->SetYTitle("z, cells");
+ Add2RawsList(h4,kHGmod4, expert, !image, !saveCorr) ;
+
+ TH2I * h5 = new TH2I("hLowPHOSxyMod0","Low Gain in PHOS module 0", 64, 0, 64, 56, 0, 56) ;
+ h5->SetXTitle("x, cells"); h5->SetYTitle("z, cells");
+ Add2RawsList(h5,kLGmod0, expert, !image, !saveCorr) ;
+ TH2I * h6 = new TH2I("hLowPHOSxyMod1","Low Gain in PHOS module 1", 64, 0, 64, 56, 0, 56) ;
+ h6->SetXTitle("x, cells"); h6->SetYTitle("z, cells");
+ Add2RawsList(h6,kLGmod1, expert, !image, !saveCorr) ;
+ TH2I * h7 = new TH2I("hLowPHOSxyMod2","Low Gain in PHOS module 2", 64, 0, 64, 56, 0, 56) ;
+ h7->SetXTitle("x, cells"); h7->SetYTitle("z, cells");
+ Add2RawsList(h7,kLGmod2, expert, !image, !saveCorr) ;
+ TH2I * h8 = new TH2I("hLowPHOSxyMod3","Low Gain in PHOS module 3", 64, 0, 64, 56, 0, 56) ;
+ h8->SetXTitle("x, cells"); h8->SetYTitle("z, cells");
+ Add2RawsList(h8,kLGmod3, expert, !image, !saveCorr) ;
+ TH2I * h9 = new TH2I("hLowPHOSxyMod4","Low Gain in PHOS module 4", 64, 0, 64, 56, 0, 56) ;
+ h9->SetXTitle("x, cells"); h9->SetYTitle("z, cells");
+ Add2RawsList(h9,kLGmod4, expert, !image, !saveCorr) ;
+
+ TH1I * h10 = new TH1I("hLowPhosModules", "Low Gain Hits in EMCA PHOS modules", 5, 0, 5) ;
+ h10->SetXTitle("Module number");
+ Add2RawsList(h10, kNmodLG, !expert, image, !saveCorr) ;
+ TH1I * h11 = new TH1I("hHighPhosModules", "High Gain Hits in EMCA PHOS modules",5, 0, 5) ;
+ h11->SetXTitle("Module number");
+ Add2RawsList(h11, kNmodHG, !expert, image, !saveCorr) ;
+
+ TH1I * h11_RCU = new TH1I("hHighPhosRCU", "PHOS RCU occupancy with HG channels",12, 0, 12) ;
+ h11_RCU->SetXTitle("RCU number");
+ Add2RawsList(h11_RCU, kNRCUHG, expert, image, !saveCorr) ;
+ TH1F * h11_RCUnorm = new TH1F("hHighPhosRCUnorm", "PHOS RCU normalized occupancy with HG channels",12, 0, 12) ;
+ h11_RCUnorm->SetXTitle("RCU number");
+ h11_RCUnorm->SetYTitle("N hits per event");
+ h11_RCUnorm->Sumw2();
+ h11_RCUnorm->SetMarkerStyle(20);
+ Add2RawsList(h11_RCUnorm, kNRCUHGnorm, !expert, image, !saveCorr) ;
+
+ TH1F * h12 = new TH1F("hLowPhosRawtime" , "Low Gain Time of raw hits in PHOS" , 500, -50., 200.) ;
+ h12->SetXTitle("Time [samples]");
+ h12->Sumw2() ;
+ Add2RawsList(h12, kLGtime, expert, !image, !saveCorr) ;
+ TH1F * h13 = new TH1F("hHighPhosRawtime", "High Gain Time of raw hits in PHOS", 500, -50., 200.) ;
+ h13->SetXTitle("Time [samples]");
+ h13->Sumw2() ;
+ Add2RawsList(h13, kHGtime, expert, !image, !saveCorr) ;
+
+ TH1F * h14 = new TH1F("hLowPhosRawEnergy" , "Low Gain Energy of raw hits in PHOS" , 512, 0., 1024.) ;
+ h14->SetXTitle("Energy [ADC counts]");
+ h14->Sumw2() ;
+ Add2RawsList(h14, kSpecLG, !expert, image, !saveCorr) ;
+ TH1F * h15 = new TH1F("hHighPhosRawEnergy", "High Gain Energy of raw hits in PHOS", 512, 0., 1024.) ;
+ h15->SetXTitle("Energy [ADC counts]");
+ h15->Sumw2() ;
+ Add2RawsList(h15, kSpecHG, !expert, image, !saveCorr) ;
+
+ TH1F * h16 = new TH1F("hLowNtot" , "Low Gain Total Number of raw hits in PHOS" , 500, 0., 5000.) ;
+ h16->SetXTitle("Number of hits");
+ h16->Sumw2() ;
+ Add2RawsList(h16, kNtotLG, !expert, image, saveCorr) ;
+ TH1F * h17 = new TH1F("hHighNtot", "High Gain Total Number of raw hits in PHOS", 500, 0., 5000.) ;
+ h17->SetXTitle("Number of hits");
+ h17->Sumw2() ;
+ Add2RawsList(h17, kNtotHG, !expert, image, saveCorr) ;
+
+ TH1F * h17_1_0 = new TH1F("hHighNtot_1_0", "High Gain Total Number of raw hits in module 1 RCU0", 500, 0., 1000.) ;
+ h17_1_0->SetXTitle("Number of hits");
+ h17_1_0->Sumw2() ;
+ Add2RawsList(h17_1_0, kNtotHG_1_0, expert, image, saveCorr) ;
+
+ TH1F * h17_1_1 = new TH1F("hHighNtot_1_1", "High Gain Total Number of raw hits in module 1 RCU1", 500, 0., 1000.) ;
+ h17_1_1->SetXTitle("Number of hits");
+ h17_1_1->Sumw2() ;
+ Add2RawsList(h17_1_1, kNtotHG_1_1, expert, image, saveCorr) ;
+
+ TH1F * h17_1_2 = new TH1F("hHighNtot_1_2", "High Gain Total Number of raw hits in module 1 RCU2", 500, 0., 1000.) ;
+ h17_1_2->SetXTitle("Number of hits");
+ h17_1_2->Sumw2() ;
+ Add2RawsList(h17_1_2, kNtotHG_1_2, expert, image, saveCorr) ;
+
+ TH1F * h17_1_3 = new TH1F("hHighNtot_1_3", "High Gain Total Number of raw hits in module 1 RCU3", 500, 0., 1000.) ;
+ h17_1_3->SetXTitle("Number of hits");
+ h17_1_3->Sumw2() ;
+ Add2RawsList(h17_1_3, kNtotHG_1_3, expert, image, saveCorr) ;
+
+ TH1F * h17_2_0 = new TH1F("hHighNtot_2_0", "High Gain Total Number of raw hits in module 2 RCU0", 500, 0., 1000.) ;
+ h17_2_0->SetXTitle("Number of hits");
+ h17_2_0->Sumw2() ;
+ Add2RawsList(h17_2_0, kNtotHG_2_0, expert, image, saveCorr) ;
+
+ TH1F * h17_2_1 = new TH1F("hHighNtot_2_1", "High Gain Total Number of raw hits in module 2 RCU1", 500, 0., 1000.) ;
+ h17_2_1->SetXTitle("Number of hits");
+ h17_2_1->Sumw2() ;
+ Add2RawsList(h17_2_1, kNtotHG_2_1, expert, image, saveCorr) ;
+
+ TH1F * h17_2_2 = new TH1F("hHighNtot_2_2", "High Gain Total Number of raw hits in module 2 RCU2", 500, 0., 1000.) ;
+ h17_2_2->SetXTitle("Number of hits");
+ h17_2_2->Sumw2() ;
+ Add2RawsList(h17_2_2, kNtotHG_2_2, expert, image, saveCorr) ;
+
+ TH1F * h17_2_3 = new TH1F("hHighNtot_2_3", "High Gain Total Number of raw hits in module 2 RCU3", 500, 0., 1000.) ;
+ h17_2_3->SetXTitle("Number of hits");
+ h17_2_3->Sumw2() ;
+ Add2RawsList(h17_2_3, kNtotHG_2_3, expert, image, saveCorr) ;
+
+ TH1F * h17_3_0 = new TH1F("hHighNtot_3_0", "High Gain Total Number of raw hits in module 3 RCU0", 500, 0., 1000.) ;
+ h17_3_0->SetXTitle("Number of hits");
+ h17_3_0->Sumw2() ;
+ Add2RawsList(h17_3_0, kNtotHG_3_0, expert, image, saveCorr) ;
+
+ TH1F * h17_3_1 = new TH1F("hHighNtot_3_1", "High Gain Total Number of raw hits in module 3 RCU1", 500, 0., 1000.) ;
+ h17_3_1->SetXTitle("Number of hits");
+ h17_3_1->Sumw2() ;
+ Add2RawsList(h17_3_1, kNtotHG_3_1, expert, image, saveCorr) ;
+
+ TH1F * h17_3_2 = new TH1F("hHighNtot_3_2", "High Gain Total Number of raw hits in module 3 RCU2", 500, 0., 1000.) ;
+ h17_3_2->SetXTitle("Number of hits");
+ h17_3_2->Sumw2() ;
+ Add2RawsList(h17_3_2, kNtotHG_3_2, expert, image, saveCorr) ;
+
+ TH1F * h17_3_3 = new TH1F("hHighNtot_3_3", "High Gain Total Number of raw hits in module 3 RCU3", 500, 0., 1000.) ;
+ h17_3_3->SetXTitle("Number of hits");
+ h17_3_3->Sumw2() ;
+ Add2RawsList(h17_3_3, kNtotHG_3_3, expert, image, saveCorr) ;
+
+ TH1F * h18 = new TH1F("hLowEtot" , "Low Gain Total Energy of raw hits in PHOS" , 500, 0., 100000.) ;
+ h18->SetXTitle("Energy [ADC counts]");
+ h18->Sumw2() ;
+ Add2RawsList(h18, kEtotLG, !expert, image, saveCorr) ;
+ TH1F * h19 = new TH1F("hHighEtot", "High Gain Total Energy of raw hits in PHOS", 500, 0., 100000.) ;
+ h19->SetXTitle("Energy [ADC counts]");
+ h19->Sumw2() ;
+ Add2RawsList(h19, kEtotHG, !expert, image, saveCorr) ;
+
+ TH2F * h20 = new TH2F("hQualHGxyMod0","High Gain signal quality in module 0", 64, 0, 64, 56, 0, 56) ;
+ h20->SetXTitle("x, cells"); h20->SetYTitle("z, cells");
+ Add2RawsList(h20,kHGqualMod0, expert, !image, !saveCorr) ;
+ TH2F * h21 = new TH2F("hQualHGxyMod1","High Gain signal quality in module 1", 64, 0, 64, 56, 0, 56) ;
+ h21->SetXTitle("x, cells"); h21->SetYTitle("z, cells");
+ Add2RawsList(h21,kHGqualMod1, expert, !image, !saveCorr) ;
+ TH2F * h22 = new TH2F("hQualHGxyMod2","High Gain signal quality in module 2", 64, 0, 64, 56, 0, 56) ;
+ h22->SetXTitle("x, cells"); h22->SetYTitle("z, cells");
+ Add2RawsList(h22,kHGqualMod2, expert, !image, !saveCorr) ;
+ TH2F * h23 = new TH2F("hQualHGxyMod3","High Gain signal quality in module 3", 64, 0, 64, 56, 0, 56) ;
+ h23->SetXTitle("x, cells"); h23->SetYTitle("z, cells");
+ Add2RawsList(h23,kHGqualMod3, expert, !image, !saveCorr) ;
+ TH2F * h24 = new TH2F("hQualHGxyMod4","High Gain signal quality in module 4", 64, 0, 64, 56, 0, 56) ;
+ h24->SetXTitle("x, cells"); h24->SetYTitle("z, cells");
+ Add2RawsList(h24,kHGqualMod4, expert, !image, !saveCorr) ;
+
+ TH2F * h25 = new TH2F("hQualLGxyMod0","Low Gain signal quality in module 0", 64, 0, 64, 56, 0, 56) ;
+ h25->SetXTitle("x, cells"); h25->SetYTitle("z, cells");
+ Add2RawsList(h25,kLGqualMod0, expert, !image, !saveCorr) ;
+ TH2F * h26 = new TH2F("hQualLGxyMod1","Low Gain signal quality in module 1", 64, 0, 64, 56, 0, 56) ;
+ h26->SetXTitle("x, cells"); h26->SetYTitle("z, cells");
+ Add2RawsList(h26,kLGqualMod1, expert, !image, !saveCorr) ;
+ TH2F * h27 = new TH2F("hQualLGxyMod2","Low Gain signal quality in module 2", 64, 0, 64, 56, 0, 56) ;
+ h27->SetXTitle("x, cells"); h27->SetYTitle("z, cells");
+ Add2RawsList(h27,kLGqualMod2, expert, !image, !saveCorr) ;
+ TH2F * h28 = new TH2F("hQualLGxyMod3","Low Gain signal quality in module 3", 64, 0, 64, 56, 0, 56) ;
+ h28->SetXTitle("x, cells"); h28->SetYTitle("z, cells");
+ Add2RawsList(h28,kLGqualMod3, expert, !image, !saveCorr) ;
+ TH2F * h29 = new TH2F("hQualLGxyMod4","Low Gain signal quality in module 4", 64, 0, 64, 56, 0, 56) ;
+ h29->SetXTitle("x, cells"); h29->SetYTitle("z, cells");
+ Add2RawsList(h29,kLGqualMod4, expert, !image, !saveCorr) ;
+
+ TH1F * h30 = new TH1F("hLGpedRMS" ,"Low Gain pedestal RMS" ,200,0.,20.) ;
+ h30->SetXTitle("RMS [ADC counts]");
+ h30->Sumw2() ;
+ Add2RawsList(h30,kLGpedRMS, expert, !image, !saveCorr) ;
+ TH1F * h31 = new TH1F("hHGpedRMS" ,"High Gain pedestal RMS",200,0.,20.) ;
+ h31->SetXTitle("RMS [ADC counts]");
+ h31->Sumw2() ;
+ Add2RawsList(h31,kHGpedRMS, expert, !image, !saveCorr) ;
+
+ TH2F * h32 = new TH2F("hpedRMSHGxyMod0","High Gain pedestal RMS in module 0", 64, 0, 64, 56, 0, 56) ;
+ h32->SetXTitle("x, cells"); h32->SetYTitle("z, cells");
+ Add2RawsList(h32,kHGpedRMSMod0, expert, !image, !saveCorr) ;
+ TH2F * h33 = new TH2F("hpedRMSHGxyMod1","High Gain pedestal RMS in module 1", 64, 0, 64, 56, 0, 56) ;
+ h33->SetXTitle("x, cells"); h33->SetYTitle("z, cells");
+ Add2RawsList(h33,kHGpedRMSMod1, expert, !image, !saveCorr) ;
+ TH2F * h34 = new TH2F("hpedRMSHGxyMod2","High Gain pedestal RMS in module 2", 64, 0, 64, 56, 0, 56) ;
+ h34->SetXTitle("x, cells"); h34->SetYTitle("z, cells");
+ Add2RawsList(h34,kHGpedRMSMod2, expert, !image, !saveCorr) ;
+ TH2F * h35 = new TH2F("hpedRMSHGxyMod3","High Gain pedestal RMS in module 3", 64, 0, 64, 56, 0, 56) ;
+ h35->SetXTitle("x, cells"); h35->SetYTitle("z, cells");
+ Add2RawsList(h35,kHGpedRMSMod3, expert, !image, !saveCorr) ;
+ TH2F * h36 = new TH2F("hpedRMSHGxyMod4","High Gain pedestal RMS in module 4", 64, 0, 64, 56, 0, 56) ;
+ h36->SetXTitle("x, cells"); h36->SetYTitle("z, cells");
+ Add2RawsList(h36,kHGpedRMSMod4, expert, !image, !saveCorr) ;
+
+ TH2F * h37 = new TH2F("hpedRMSLGxyMod0","Low Gain pedestal RMS in module 0", 64, 0, 64, 56, 0, 56) ;
+ h37->SetXTitle("x, cells"); h37->SetYTitle("z, cells");
+ Add2RawsList(h37,kLGpedRMSMod0, expert, !image, !saveCorr) ;
+ TH2F * h38 = new TH2F("hpedRMSLGxyMod1","Low Gain pedestal RMS in module 1", 64, 0, 64, 56, 0, 56) ;
+ h38->SetXTitle("x, cells"); h38->SetYTitle("z, cells");
+ Add2RawsList(h38,kLGpedRMSMod1, expert, !image, !saveCorr) ;
+ TH2F * h39 = new TH2F("hpedRMSLGxyMod2","Low Gain pedestal RMS in module 2", 64, 0, 64, 56, 0, 56) ;
+ h39->SetXTitle("x, cells"); h39->SetYTitle("z, cells");
+ Add2RawsList(h39,kLGpedRMSMod2, expert, !image, !saveCorr) ;
+ TH2F * h40 = new TH2F("hpedRMSLGxyMod3","Low Gain pedestal RMS in module 3", 64, 0, 64, 56, 0, 56) ;
+ h40->SetXTitle("x, cells"); h40->SetYTitle("z, cells");
+ Add2RawsList(h40,kLGpedRMSMod3, expert, !image, !saveCorr) ;
+ TH2F * h41 = new TH2F("hpedRMSLGxyMod4","Low Gain pedestal RMS in module 4", 64, 0, 64, 56, 0, 56) ;
+ h41->SetXTitle("x, cells"); h41->SetYTitle("z, cells");
+ Add2RawsList(h41,kLGpedRMSMod4, expert, !image, !saveCorr) ;
+ //
+ ClonePerTrigClass(AliQAv1::kRAWS); // this should be the last line