Skip to content

Commit 3ca0fed

Browse files
authored
Change in ZDC reader task
Timestamp min value for histos as configurable param
1 parent 8929ca5 commit 3ca0fed

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Common/Tasks/zdcTableReader.cxx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ struct ZDCLIAnalysis {
3333
// Configurable number of bins
3434
Configurable<bool> useZvtx{"useZvtx", false, "If true uses Z_vertex"};
3535
Configurable<float> zVval{"zVval", 10., "Z_vertex cut value"};
36-
Configurable<float> tStamp{"tStamp", 100000., "maximum value for timestamp"};
36+
Configurable<float> tStampMin{"tStampMin", 100000., "minimum value for timestamp"};
37+
Configurable<float> tStampMax{"tStampMax", 100000., ",maximum value for timestamp"};
3738
//
3839
Configurable<int> nBinsADC{"nBinsADC", 1000, "n bins 4 ZDC ADCs"};
3940
Configurable<int> nBinsAmp{"nBinsAmp", 1025, "n bins 4 ZDC amplitudes"};
@@ -90,10 +91,10 @@ struct ZDCLIAnalysis {
9091
registry.add("hZPCvscentrFT0C", "ZPC vs centrality FT0C", {HistType::kTH2F, {{{100, 0., 100.}, {nBinsAmp, -0.5, MaxZP}}}});
9192
registry.add("hZPCvscentrFT0M", "ZPC vs centrality FT0M", {HistType::kTH2F, {{{100, 0., 100.}, {nBinsAmp, -0.5, MaxZP}}}});
9293
//
93-
registry.add("hZNAvstimestamp", "ZNA vs timestamp", {HistType::kTH2F, {{{100, 0., tStamp}, {nBinsAmp, -0.5, MaxZN}}}});
94-
registry.add("hZNCvstimestamp", "ZNC vs timestamp", {HistType::kTH2F, {{{100, 0., tStamp}, {nBinsAmp, -0.5, MaxZN}}}});
95-
registry.add("hZPAvstimestamp", "ZPA vs timestamp", {HistType::kTH2F, {{{100, 0., tStamp}, {nBinsAmp, -0.5, MaxZP}}}});
96-
registry.add("hZPCvstimestamp", "ZPC vs timestamp", {HistType::kTH2F, {{{100, 0., tStamp}, {nBinsAmp, -0.5, MaxZP}}}});
94+
registry.add("hZNAvstimestamp", "ZNA vs timestamp", {HistType::kTH2F, {{{100, tStampMin, tStampMax}, {nBinsAmp, -0.5, MaxZN}}}});
95+
registry.add("hZNCvstimestamp", "ZNC vs timestamp", {HistType::kTH2F, {{{100, tStampMin, tStampMax}, {nBinsAmp, -0.5, MaxZN}}}});
96+
registry.add("hZPAvstimestamp", "ZPA vs timestamp", {HistType::kTH2F, {{{100, tStampMin, tStampMax}, {nBinsAmp, -0.5, MaxZP}}}});
97+
registry.add("hZPCvstimestamp", "ZPC vs timestamp", {HistType::kTH2F, {{{100, tStampMin, tStampMax}, {nBinsAmp, -0.5, MaxZP}}}});
9798
}
9899

99100
void process(aod::ZDCLightIons const& zdclightions)

0 commit comments

Comments
 (0)