Skip to content

Commit 8cc1e0e

Browse files
author
Mattia Faggin
committed
Remove unused ccdbApi.
1 parent 95fc514 commit 8cc1e0e

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Common/Tools/TrackTuner.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ struct TrackTuner : o2::framework::ConfigurableGroup {
105105
bool isConfigFromConfigurables = false;
106106
int nPhiBins = 1;
107107

108-
o2::ccdb::CcdbApi ccdbApi;
109108
std::map<std::string, std::string> metadata;
110109

111110
std::vector<std::unique_ptr<TGraphErrors>> grDcaXYResVsPtPionMC;
@@ -466,11 +465,6 @@ struct TrackTuner : o2::framework::ConfigurableGroup {
466465
if (isInputFileFromCCDB) {
467466
/// use input correction file from CCDB
468467

469-
// properly init the ccdb
470-
std::string tmpDir = ".";
471-
ccdbApi.init("http://alice-ccdb.cern.ch");
472-
LOG(info) << "[TrackTuner] CCDB Api OK!";
473-
474468
// get the TList from the DCA correction file present in CCDB
475469
ccdb_object_dca = o2::ccdb::BasicCCDBManager::instance().get<TList>(pathInputFile);
476470
LOG(info) << " [TrackTuner] ccdb_object_dca " << ccdb_object_dca;

0 commit comments

Comments
 (0)