Skip to content

Commit da7e87a

Browse files
authored
Remove dependency on FairRoot::Base from Common/MathUtils (#9964)
Avoid loading Proof as a core dependency, plus other related dependencies cleanups.
1 parent 80ea2bb commit da7e87a

31 files changed

Lines changed: 48 additions & 68 deletions

CCDB/src/BasicCCDBManager.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
//
1515
#include "CCDB/BasicCCDBManager.h"
1616
#include <boost/lexical_cast.hpp>
17-
#include "FairLogger.h"
17+
#include <fairlogger/Logger.h>
1818
#include <string>
1919

2020
namespace o2

CCDB/src/CcdbApi.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
#include <TMemFile.h>
3131
#include <TH1F.h>
3232
#include <TTree.h>
33-
#include <FairLogger.h>
33+
#include <fairlogger/Logger.h>
3434
#include <TError.h>
3535
#include <TClass.h>
3636
#include <CCDB/CCDBTimeStampUtils.h>

Common/Field/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ o2_add_library(Field
1616
src/MagFieldParam.cxx
1717
src/MagneticField.cxx
1818
src/MagneticWrapperChebyshev.cxx
19-
PUBLIC_LINK_LIBRARIES O2::MathUtils)
19+
PUBLIC_LINK_LIBRARIES O2::MathUtils FairRoot::Base)
2020

2121
o2_target_root_dictionary(Field
2222
HEADERS include/Field/MagneticWrapperChebyshev.h

Common/MathUtils/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ o2_add_library(
1717
src/Chebyshev3DCalc.cxx
1818
PUBLIC_LINK_LIBRARIES
1919
ROOT::Hist
20-
FairRoot::Base
20+
FairLogger::FairLogger
2121
O2::CommonConstants
2222
O2::GPUCommon
2323
ROOT::GenVector

Common/MathUtils/src/Chebyshev3D.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
#include <TSystem.h> // for TSystem, gSystem
2424
#include <cstdio> // for printf, fprintf, FILE, fclose, fflush, etc
2525
#include "MathUtils/Chebyshev3DCalc.h" // for Chebyshev3DCalc, etc
26-
#include "FairLogger.h" // for FairLogger
2726
#include "TMathBase.h" // for Max, Abs
2827
#include "TNamed.h" // for TNamed
2928
#include "TObjArray.h" // for TObjArray
29+
#include <fairlogger/Logger.h> // for FairLogger
3030

3131
using namespace o2::math_utils;
3232

Common/Utils/include/CommonUtils/ConfigurationMacroHelper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
#ifndef ALICEO2_CONF_CONFIGURATIONMACRO_H_
1515
#define ALICEO2_CONF_CONFIGURATIONMACRO_H_
1616

17-
#include "FairLogger.h"
1817
#include "TROOT.h"
1918
#include "TSystem.h"
2019
#include "TGlobal.h"
2120
#include "TFunction.h"
21+
#include <fairlogger/Logger.h>
2222
#include <string>
2323

2424
namespace o2

Common/Utils/src/ConfigurableParam.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
#include <cassert>
3030
#include <iostream>
3131
#include <string>
32-
#include <FairLogger.h>
32+
#include <fairlogger/Logger.h>
3333
#include <typeinfo>
3434
#include "TDataMember.h"
3535
#include "TDataType.h"

Common/Utils/src/ConfigurableParamHelper.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#include <TList.h>
2323
#include <iostream>
2424
#include <sstream>
25-
#include "FairLogger.h"
25+
#include <fairlogger/Logger.h>
2626
#include <boost/property_tree/ptree.hpp>
2727
#include <functional>
2828
#ifdef NDEBUG

Common/Utils/test/testTreeStream.cxx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
#include "CommonUtils/TreeStreamRedirector.h"
2323
#include "CommonUtils/RootChain.h"
2424
#include "ReconstructionDataFormats/Track.h"
25-
#include <FairLogger.h>
2625
#include <string>
2726

2827
using namespace o2::utils;
@@ -34,7 +33,6 @@ BOOST_AUTO_TEST_CASE(TreeStream_test)
3433
// Example test function to show functionality of TreeStreamRedirector
3534

3635
// create the redirector associated with file (testredirector.root)
37-
FairLogger* logger = FairLogger::GetLogger();
3836

3937
LOG(info) << "Testing TreeStream creation";
4038
std::string outFName("testTreeStream.root");

DataFormats/Detectors/Common/src/AlignParam.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
/// \file AlignParam.cxx
1313
/// \brief Implementation of the base alignment parameters class
1414

15-
#include <FairLogger.h>
15+
#include <fairlogger/Logger.h>
1616
#include <TGeoManager.h>
1717
#include <TGeoMatrix.h>
1818
#include <TGeoOverlap.h>

0 commit comments

Comments
 (0)