Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CCDB/src/BasicCCDBManager.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
//
#include "CCDB/BasicCCDBManager.h"
#include <boost/lexical_cast.hpp>
#include "FairLogger.h"
#include <fairlogger/Logger.h>
#include <string>

namespace o2
Expand Down
2 changes: 1 addition & 1 deletion CCDB/src/CcdbApi.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <TMemFile.h>
#include <TH1F.h>
#include <TTree.h>
#include <FairLogger.h>
#include <fairlogger/Logger.h>
#include <TError.h>
#include <TClass.h>
#include <CCDB/CCDBTimeStampUtils.h>
Expand Down
2 changes: 1 addition & 1 deletion Common/Field/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ o2_add_library(Field
src/MagFieldParam.cxx
src/MagneticField.cxx
src/MagneticWrapperChebyshev.cxx
PUBLIC_LINK_LIBRARIES O2::MathUtils)
PUBLIC_LINK_LIBRARIES O2::MathUtils FairRoot::Base)

o2_target_root_dictionary(Field
HEADERS include/Field/MagneticWrapperChebyshev.h
Expand Down
2 changes: 1 addition & 1 deletion Common/MathUtils/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ o2_add_library(
src/Chebyshev3DCalc.cxx
PUBLIC_LINK_LIBRARIES
ROOT::Hist
FairRoot::Base
FairLogger::FairLogger
O2::CommonConstants
O2::GPUCommon
ROOT::GenVector
Expand Down
2 changes: 1 addition & 1 deletion Common/MathUtils/src/Chebyshev3D.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
#include <TSystem.h> // for TSystem, gSystem
#include <cstdio> // for printf, fprintf, FILE, fclose, fflush, etc
#include "MathUtils/Chebyshev3DCalc.h" // for Chebyshev3DCalc, etc
#include "FairLogger.h" // for FairLogger
#include "TMathBase.h" // for Max, Abs
#include "TNamed.h" // for TNamed
#include "TObjArray.h" // for TObjArray
#include <fairlogger/Logger.h> // for FairLogger

using namespace o2::math_utils;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
#ifndef ALICEO2_CONF_CONFIGURATIONMACRO_H_
#define ALICEO2_CONF_CONFIGURATIONMACRO_H_

#include "FairLogger.h"
#include "TROOT.h"
#include "TSystem.h"
#include "TGlobal.h"
#include "TFunction.h"
#include <fairlogger/Logger.h>
#include <string>

namespace o2
Expand Down
2 changes: 1 addition & 1 deletion Common/Utils/src/ConfigurableParam.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include <cassert>
#include <iostream>
#include <string>
#include <FairLogger.h>
#include <fairlogger/Logger.h>
#include <typeinfo>
#include "TDataMember.h"
#include "TDataType.h"
Expand Down
2 changes: 1 addition & 1 deletion Common/Utils/src/ConfigurableParamHelper.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include <TList.h>
#include <iostream>
#include <sstream>
#include "FairLogger.h"
#include <fairlogger/Logger.h>
#include <boost/property_tree/ptree.hpp>
#include <functional>
#ifdef NDEBUG
Expand Down
2 changes: 0 additions & 2 deletions Common/Utils/test/testTreeStream.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include "CommonUtils/TreeStreamRedirector.h"
#include "CommonUtils/RootChain.h"
#include "ReconstructionDataFormats/Track.h"
#include <FairLogger.h>
#include <string>

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

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

LOG(info) << "Testing TreeStream creation";
std::string outFName("testTreeStream.root");
Expand Down
2 changes: 1 addition & 1 deletion DataFormats/Detectors/Common/src/AlignParam.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/// \file AlignParam.cxx
/// \brief Implementation of the base alignment parameters class

#include <FairLogger.h>
#include <fairlogger/Logger.h>
#include <TGeoManager.h>
#include <TGeoMatrix.h>
#include <TGeoOverlap.h>
Expand Down
2 changes: 1 addition & 1 deletion DataFormats/Detectors/Common/src/DetID.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include "CommonUtils/StringUtils.h"
#include <cassert>
#include <string>
#include "FairLogger.h"
#include <fairlogger/Logger.h>

using namespace o2::detectors;

Expand Down
2 changes: 1 addition & 1 deletion DataFormats/Detectors/TOF/src/Cluster.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/// \brief Implementation of the TOF cluster

#include "DataFormatsTOF/Cluster.h"
#include "FairLogger.h"
#include <fairlogger/Logger.h>

#include <TString.h>

Expand Down
2 changes: 1 addition & 1 deletion DataFormats/Reconstruction/src/PID.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

#include "ReconstructionDataFormats/PID.h"
#include <cassert>
#include "FairLogger.h"
#include <fairlogger/Logger.h>

using namespace o2::track;

Expand Down
2 changes: 1 addition & 1 deletion DataFormats/common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ o2_add_library(CommonDataFormat
src/AbstractRefAccessor.cxx
src/TFIDInfo.cxx
PUBLIC_LINK_LIBRARIES O2::CommonConstants O2::GPUCommon
ROOT::Core FairRoot::Base O2::MathUtils Microsoft.GSL::GSL)
ROOT::Core O2::MathUtils Microsoft.GSL::GSL)

o2_target_root_dictionary(CommonDataFormat
HEADERS include/CommonDataFormat/TimeStamp.h
Expand Down
2 changes: 1 addition & 1 deletion DataFormats/common/test/testRangeRef.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#define BOOST_TEST_DYN_LINK
#include <boost/test/unit_test.hpp>
#include "CommonDataFormat/RangeReference.h"
#include <FairLogger.h>
#include <fairlogger/Logger.h>

namespace o2
{
Expand Down
2 changes: 1 addition & 1 deletion DataFormats/simulation/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ o2_add_library(SimulationDataFormat
PUBLIC_LINK_LIBRARIES Microsoft.GSL::GSL
O2::DetectorsCommonDataFormats
O2::GPUCommon O2::DetectorsBase
O2::SimConfig)
O2::SimConfig ROOT::TreePlayer)

o2_target_root_dictionary(
SimulationDataFormat
Expand Down
2 changes: 0 additions & 2 deletions Detectors/MUON/MCH/Clustering/src/ClusterFinderGEM.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
#include <TMath.h>
#include <TRandom.h>

#include <FairLogger.h>

// GG
#include "PadOriginal.h"
#include "ClusterOriginal.h"
Expand Down
7 changes: 2 additions & 5 deletions Detectors/MUON/MCH/Clustering/src/ClusterFinderOriginal.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,15 @@
#include <TMath.h>
#include <TRandom.h>

#include <FairLogger.h>
#include <fairlogger/Logger.h>

#include "MCHBase/MathiesonOriginal.h"
#include "MCHBase/ResponseParam.h"
#include "MCHClustering/ClusterizerParam.h"
#include "PadOriginal.h"
#include "ClusterOriginal.h"

namespace o2
{
namespace mch
namespace o2::mch
{

//_________________________________________________________________________________________________
Expand Down Expand Up @@ -2093,5 +2091,4 @@ void ClusterFinderOriginal::setClusterResolution(Cluster& cluster) const
}
}

} // namespace mch
} // namespace o2
7 changes: 2 additions & 5 deletions Detectors/MUON/MCH/PreClustering/src/PreClusterFinder.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,11 @@
#include <vector>

#include <fairmq/Tools.h>
#include <FairLogger.h>
#include <fairlogger/Logger.h>

#include "PreClusterFinderMapping.h"

namespace o2
{
namespace mch
namespace o2::mch
{

struct PreClusterFinder::DetectionElement {
Expand Down Expand Up @@ -543,5 +541,4 @@ void PreClusterFinder::createMapping()
LOG(info) << "create mapping in: " << std::chrono::duration<double, std::milli>(tEnd - tStart).count() << " ms";
}

} // namespace mch
} // namespace o2
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,13 @@

#include <TMath.h>

#include <FairLogger.h>
#include <fairlogger/Logger.h>

#include "MCHMappingInterface/Segmentation.h"

#include "MCHPreClustering/PreClusterFinderParam.h"

namespace o2
{
namespace mch
namespace o2::mch
{

using namespace std;
Expand Down Expand Up @@ -157,5 +155,4 @@ bool Mapping::areOverlappingExcludeCorners(float area1[2][2], float area2[2][2])
return false;
}

} // namespace mch
} // namespace o2
6 changes: 1 addition & 5 deletions EventVisualisation/DataConverter/src/VisualisationCalo.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,9 @@
///

#include "EventVisualisationDataConverter/VisualisationCalo.h"
#include "FairLogger.h"

using namespace std;
namespace o2
{
namespace event_visualisation
namespace o2::event_visualisation
{

VisualisationCalo::VisualisationCalo() = default;
Expand All @@ -47,5 +44,4 @@ VisualisationCalo::VisualisationCalo(const VisualisationCalo& src)
this->mPID = src.mPID;
}

} // namespace event_visualisation
} // namespace o2
6 changes: 1 addition & 5 deletions EventVisualisation/DataConverter/src/VisualisationEvent.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,11 @@
#include <string>
#include <limits>
#include <algorithm>
#include "FairLogger.h"

using namespace std;
using namespace rapidjson;

namespace o2
{
namespace event_visualisation
namespace o2::event_visualisation
{

VisualisationEvent::GIDVisualisation VisualisationEvent::mVis = [] {
Expand Down Expand Up @@ -153,5 +150,4 @@ void VisualisationEvent::afterLoading()
}
}

} // namespace event_visualisation
} // namespace o2
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/// \author julian.myrcha@cern.ch

#include "EventVisualisationDataConverter/VisualisationEventJSONSerializer.h"
#include "FairLogger.h"
#include <fairlogger/Logger.h>
#include <iostream>
#include <iomanip>
#include <limits>
Expand All @@ -27,11 +27,8 @@

using namespace rapidjson;

namespace o2
namespace o2::event_visualisation
{
namespace event_visualisation
{
constexpr int JSON_FILE_VERSION = 1;

void VisualisationEventJSONSerializer::toFile(const VisualisationEvent& event, std::string fileName)
{
Expand Down Expand Up @@ -333,5 +330,4 @@ rapidjson::Value VisualisationEventJSONSerializer::jsonTree(const VisualisationT
return tree;
}

} // namespace event_visualisation
} // namespace o2
} // namespace o2::event_visualisation
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/// \author julian.myrcha@cern.ch

#include "EventVisualisationDataConverter/VisualisationEventROOTSerializer.h"
#include "FairLogger.h"
#include <fairlogger/Logger.h>
#include <iostream>

#include <TFile.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,11 @@
#include "EventVisualisationDataConverter/VisualisationEventSerializer.h"
#include "EventVisualisationDataConverter/VisualisationEventJSONSerializer.h"
#include "EventVisualisationDataConverter/VisualisationEventROOTSerializer.h"
#include "FairLogger.h"
#include <iostream>
#include <iomanip>
#include <sstream>

namespace o2
{
namespace event_visualisation
namespace o2::event_visualisation
{
std::map<std::string, VisualisationEventSerializer*> VisualisationEventSerializer::instances = {
{".json", new o2::event_visualisation::VisualisationEventJSONSerializer()},
Expand All @@ -36,5 +34,4 @@ std::string VisualisationEventSerializer::fileNameIndexed(const std::string file
return buffer.str();
}

} // namespace event_visualisation
} // namespace o2
} // namespace o2::event_visualisation
6 changes: 1 addition & 5 deletions EventVisualisation/DataConverter/src/VisualisationTrack.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,10 @@
///

#include "EventVisualisationDataConverter/VisualisationTrack.h"
#include "FairLogger.h"

using namespace std;

namespace o2
{
namespace event_visualisation
namespace o2::event_visualisation
{

VisualisationTrack::VisualisationTrack() = default;
Expand Down Expand Up @@ -86,5 +83,4 @@ VisualisationCluster& VisualisationTrack::addCluster(float pos[])
return mClusters.back();
}

} // namespace event_visualisation
} // namespace o2
2 changes: 1 addition & 1 deletion Framework/AnalysisSupport/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ o2_add_library(FrameworkAnalysisSupport
src/DataInputDirector.cxx
src/AODJAlienReaderHelpers.cxx
PRIVATE_INCLUDE_DIRECTORIES ${CMAKE_CURRENT_LIST_DIR}/src
PUBLIC_LINK_LIBRARIES O2::Framework ${EXTRA_TARGETS})
PUBLIC_LINK_LIBRARIES O2::Framework ${EXTRA_TARGETS} ROOT::TreePlayer)

o2_add_test(DataInputDirector NAME test_Framework_test_DataInputDirector
SOURCES test/test_DataInputDirector.cxx
Expand Down
Loading