Skip to content

Commit e40df93

Browse files
committed
Updated task to read ZDC table for light ions
1 parent 37910b5 commit e40df93

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎Common/Tasks/zdcTableReader.cxx‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,9 @@ struct ZDCLIAnalysis {
144144
registry.add("hNpZPAvscentrFT0M", "N_{protons} in ZPA vs FT0M", {HistType::kTH2F, {{{100, 0., 100.}, {12, -0.5, 11.5}}}});
145145
registry.add("hNpZPCvscentrFT0M", "N_{protons} in ZPC vs FT0M", {HistType::kTH2F, {{{100, 0., 100.}, {12, -0.5, 11.5}}}});
146146
//
147+
registry.add("hNpvsNnZNA", "N_{protons} vs N_{neutrons} in ZNA", {HistType::kTH2F, {{{12, -0.5, 11.5}, {12, -0.5, 11.5}}}});
148+
registry.add("hNpvsNnZNC", "N_{protons} vs N_{neutrons} in ZNC", {HistType::kTH2F, {{{12, -0.5, 11.5}, {12, -0.5, 11.5}}}});
149+
//
147150
registry.add("hZNAvstimestamp", "ZNA vs timestamp", {HistType::kTH2F, {{{nBinstStamp, 0., tStampMax}, {nBinsAmpZN, -0.5, MaxZN}}}});
148151
registry.add("hZNCvstimestamp", "ZNC vs timestamp", {HistType::kTH2F, {{{nBinstStamp, 0., tStampMax}, {nBinsAmpZN, -0.5, MaxZN}}}});
149152
registry.add("hZPAvstimestamp", "ZPA vs timestamp", {HistType::kTH2F, {{{nBinstStamp, 0., tStampMax}, {nBinsAmpZP, -0.5, MaxZP}}}});
@@ -455,6 +458,8 @@ struct ZDCLIAnalysis {
455458
registry.get<TH2>(HIST("hNnZNCvscentrFT0M"))->Fill(centrFT0M, znc/2.680);
456459
registry.get<TH2>(HIST("hNpZPAvscentrFT0M"))->Fill(centrFT0M, zpa/2.680);
457460
registry.get<TH2>(HIST("hNpZPCvscentrFT0M"))->Fill(centrFT0M, zpc/2.680);
461+
registry.get<TH2>(HIST("hNpvsNnZNA"))->Fill(zna/2.680, zpa/2.680);
462+
registry.get<TH2>(HIST("hNpvsNnZNC"))->Fill(znc/2.680, zpc/2.680);
458463
}
459464
}
460465
}

0 commit comments

Comments
 (0)