Skip to content

Commit 3a0a030

Browse files
authored
Fix build error
1 parent 177afdc commit 3a0a030

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

PWGCF/EbyEFluctuations/Tasks/meanPtFlucId.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ struct MeanPtFlucId {
118118
Configurable<std::vector<double>> etaBins{"etaBins", {-0.8, -0.7, -0.6, -0.5, -0.4, -0.3, -0.2, -0.1, 0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8}, "#eta bins"};
119119

120120
Service<o2::framework::O2DatabasePDG> pdg{};
121-
Service<o2::ccdb::BasicCCDBManager> ccdb;
121+
Service<o2::ccdb::BasicCCDBManager> ccdb{};
122122

123123
HistogramRegistry hist{"hist", {}, OutputObjHandlingPolicy::AnalysisObject};
124124

@@ -252,7 +252,7 @@ struct MeanPtFlucId {
252252
if (cfgApplyEfficiencyCorrection) {
253253
ccdb->setURL(cfgEfficiencyCCDBUrl.value);
254254
ccdb->setCaching(true);
255-
TList* efficiencyList = ccdb->getForTimeStamp<TList>(cfgEfficiencyCCDBPath.value, cfgEfficiencyTimestamp.value);
255+
auto* efficiencyList = ccdb->getForTimeStamp<TList>(cfgEfficiencyCCDBPath.value, cfgEfficiencyTimestamp.value);
256256
if (!efficiencyList) {
257257
LOGF(fatal, "Cannot load ccdb_object containing the efficiency maps");
258258
}
@@ -1460,7 +1460,7 @@ struct MeanPtFlucId {
14601460
PROCESS_SWITCH(MeanPtFlucId, processMCRecoSimRun3, "process MC Reconstructed & Truth Run-3", true);
14611461
};
14621462

1463-
WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
1463+
WorkflowSpec defineDataProcessing(ConfigContext const& context)
14641464
{
1465-
return WorkflowSpec{adaptAnalysisTask<MeanPtFlucId>(cfgc)};
1465+
return WorkflowSpec{adaptAnalysisTask<MeanPtFlucId>(context)};
14661466
}

0 commit comments

Comments
 (0)