We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0d89de commit 02196e5Copy full SHA for 02196e5
Common/TableProducer/zdcExtraTableProducer.cxx
@@ -322,8 +322,12 @@ struct ZdcExtraTableProducer {
322
centroidZNA[1] = 999.;
323
}
324
if (cfgSaveQaHistos) {
325
- registry.get<TH2>(HIST("ZNCCentroid"))->Fill(centroidZNC[0], centroidZNC[1]);
326
- registry.get<TH2>(HIST("ZNACentroid"))->Fill(centroidZNA[0], centroidZNA[1]);
+ if (isZNChit) {
+ registry.get<TH2>(HIST("ZNCCentroid"))->Fill(centroidZNC[0], centroidZNC[1]);
327
+ }
328
+ if (isZNAhit) {
329
+ registry.get<TH2>(HIST("ZNACentroid"))->Fill(centroidZNA[0], centroidZNA[1]);
330
331
332
333
auto vz = collision.posZ();
0 commit comments