Skip to content

Commit b06918c

Browse files
authored
avoid repeated CCDB calls
1 parent 1549cd9 commit b06918c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Common/Tasks/integrationTestCCDB.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,12 @@ struct integrationTestCCDB {
103103
lut = 0x0;
104104
const AxisSpec axis{1, 0.0f, 1.0f, ""};
105105
histos.add<TH1>("hDFs", "hDFs", HistType::kTH1F, {axis});
106+
107+
mRunNumber = 0;
106108
}
107109

108110
void process(aod::BCsWithTimestamps const& bcs)
109111
{
110-
mRunNumber = 0;
111-
112112
auto bc = bcs.begin(); // first element
113113
histos.fill(HIST("hDFs"), 0.5f);
114114

0 commit comments

Comments
 (0)