Skip to content

Commit bfe34e8

Browse files
committed
added var
1 parent 6fa2094 commit bfe34e8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

DPG/Tasks/AOTTrack/unitTestForReconstruction.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ struct UnitTestForReconstruction {
6767
{
6868
// Event index
6969
int eventIndex = 0;
70+
static constexpr int indexAllEvts = 0;
7071

7172
// Loop over reconstructed events
7273
for (const auto& collision : collisions) {
@@ -86,7 +87,7 @@ struct UnitTestForReconstruction {
8687

8788
// Loop over reconstructed tracks
8889
for (auto const& track : tracks) {
89-
registryData.fill(HIST("ptChargedTracks"), 0, track.pt());
90+
registryData.fill(HIST("ptChargedTracks"), indexAllEvts, track.pt());
9091
registryData.fill(HIST("ptChargedTracks"), eventIndex, track.pt());
9192
}
9293
}

0 commit comments

Comments
 (0)