Skip to content

Commit

Permalink
Rename FairRoot::FairTools to FairRoot::Tools
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianTackeGSI committed Nov 14, 2022
1 parent dc9001b commit bc8282b
Show file tree
Hide file tree
Showing 33 changed files with 60 additions and 57 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ file an issue, so that we can see how to handle this.
| --- | --- |
| TrkBase | `FairRoot::TrackBase` |
| FairDataMatch | `FairRoot::DataMatch` |
| FairTools | `FairRoot::Tools` |
All those not listed here have the library name prefixed
with `FairRoot::` as the target name.
Expand Down
4 changes: 2 additions & 2 deletions alignment/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
################################################################################
# Copyright (C) 2014-2019 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
# Copyright (C) 2014-2022 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
# #
# This software is distributed under the terms of the #
# GNU Lesser General Public Licence (LGPL) version 3, #
Expand All @@ -26,7 +26,7 @@ target_include_directories(${target} PUBLIC
)

target_link_libraries(${target} PUBLIC
FairRoot::FairTools
FairRoot::Tools

ROOT::Geom
)
Expand Down
2 changes: 1 addition & 1 deletion base/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ target_include_directories(${target} PUBLIC

target_link_libraries(${target} PUBLIC
FairRoot::Alignment
FairRoot::FairTools
FairRoot::Tools
FairRoot::ParBase
FairRoot::GeoBase
$<$<TARGET_EXISTS:Boost::serialization>:Boost::serialization>
Expand Down
4 changes: 2 additions & 2 deletions base/sim/fastsim/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
################################################################################
# Copyright (C) 2014-2019 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
# Copyright (C) 2014-2022 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
# #
# This software is distributed under the terms of the #
# GNU Lesser General Public Licence (LGPL) version 3, #
Expand Down Expand Up @@ -36,7 +36,7 @@ else()
endif()

target_link_libraries(${target} PUBLIC
FairRoot::FairTools
FairRoot::Tools
FairRoot::Base # FairDetector,
FairRoot::GeoBase

Expand Down
2 changes: 1 addition & 1 deletion basemq/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ target_include_directories(${target} PUBLIC
target_link_libraries(${target} PUBLIC
FairRoot::Base # FairTask, FairRunAna, FairRootFileSink, FairFileSource
FairRoot::ParBase # FairParRootFileIo, FairRuntimeDb
FairRoot::FairTools
FairRoot::Tools
$<$<BOOL:${BUILD_MBS}>:FairRoot::MbsAPI>
FairRoot::FairMQ

Expand Down
4 changes: 2 additions & 2 deletions eventdisplay/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
################################################################################
# Copyright (C) 2014-2019 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
# Copyright (C) 2014-2022 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
# #
# This software is distributed under the terms of the #
# GNU Lesser General Public Licence (LGPL) version 3, #
Expand Down Expand Up @@ -58,7 +58,7 @@ target_include_directories(${target} PUBLIC
)

target_link_libraries(${target} PUBLIC
FairRoot::FairTools
FairRoot::Tools
FairRoot::Base # FairRootManager, FairRunAna, FairTSBufferFunctional, FairTimeStamp, FairEventManager

ROOT::Core
Expand Down
2 changes: 1 addition & 1 deletion examples/MQ/Lmd/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ target_include_directories(${target} PUBLIC
target_link_libraries(${target} PUBLIC
FairRoot::Base # FairRunIdGenerator
FairRoot::BaseMQ # Serialization policies
FairRoot::FairTools # FairLogger
FairRoot::Tools # FairLogger
FairRoot::ExMbs
FairRoot::FairMQ

Expand Down
2 changes: 1 addition & 1 deletion examples/MQ/histogramServer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ target_include_directories(${target} PUBLIC
target_link_libraries(${target} PUBLIC
FairRoot::Base # FairRunIdGenerator
FairRoot::BaseMQ # Serialization policies
FairRoot::FairTools # FairLogger
FairRoot::Tools # FairLogger
FairRoot::ParBase
FairRoot::FairMQ

Expand Down
2 changes: 1 addition & 1 deletion examples/MQ/parameters/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ target_include_directories(${target} PUBLIC
target_link_libraries(${target} PUBLIC
FairRoot::Base # FairRunIdGenerator
FairRoot::BaseMQ # Serialization policies
FairRoot::FairTools # FairLogger
FairRoot::Tools # FairLogger
FairRoot::ParBase
FairRoot::FairMQ

Expand Down
4 changes: 2 additions & 2 deletions examples/MQ/pixelAlternative/src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
################################################################################
# Copyright (C) 2014-2019 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
# Copyright (C) 2014-2022 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
# #
# This software is distributed under the terms of the #
# GNU Lesser General Public Licence (LGPL) version 3, #
Expand Down Expand Up @@ -41,7 +41,7 @@ target_include_directories(${target} PUBLIC

target_link_libraries(${target} PUBLIC
FairRoot::Base # FairRunIdGenerator
FairRoot::FairTools # FairLogger
FairRoot::Tools # FairLogger
FairRoot::ParBase
FairRoot::BaseMQ # Serialization policies
FairRoot::ExPixel
Expand Down
2 changes: 1 addition & 1 deletion examples/MQ/pixelDetector/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ target_include_directories(${target} PUBLIC
target_link_libraries(${target} PUBLIC
FairRoot::Base # FairRunIdGenerator
FairRoot::BaseMQ # Serialization policies
FairRoot::FairTools # FairLogger
FairRoot::Tools # FairLogger
FairRoot::Gen # FairBoxGenerator
FairRoot::GeoBase
FairRoot::ParBase # FairParGenericSet
Expand Down
2 changes: 1 addition & 1 deletion examples/MQ/pixelSimSplit/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ target_include_directories(${target} PUBLIC
target_link_libraries(${target} PUBLIC
FairRoot::Base # FairRunIdGenerator
FairRoot::BaseMQ # Serialization policies
FairRoot::FairTools # FairLogger
FairRoot::Tools # FairLogger
FairRoot::ParBase
FairRoot::ExMCStack
FairRoot::ExPixel
Expand Down
2 changes: 1 addition & 1 deletion examples/MQ/serialization/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ target_include_directories(${target} PUBLIC
target_link_libraries(${target} PUBLIC
FairRoot::Base # FairRunIdGenerator
FairRoot::BaseMQ # Serialization policies
FairRoot::FairTools # FairLogger
FairRoot::Tools # FairLogger
FairRoot::ParBase
FairRoot::FairMQ

Expand Down
4 changes: 2 additions & 2 deletions examples/advanced/MbsTutorial/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
################################################################################
# Copyright (C) 2014-2019 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
# Copyright (C) 2014-2022 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
# #
# This software is distributed under the terms of the #
# GNU Lesser General Public Licence (LGPL) version 3, #
Expand Down Expand Up @@ -32,7 +32,7 @@ target_include_directories(${target} PUBLIC

target_link_libraries(${target} PUBLIC
FairRoot::Online
FairRoot::FairTools # FairLogger
FairRoot::Tools # FairLogger

ROOT::Core
)
Expand Down
4 changes: 2 additions & 2 deletions examples/advanced/Tutorial3/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
################################################################################
# Copyright (C) 2014-2019 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
# Copyright (C) 2014-2022 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
# #
# This software is distributed under the terms of the #
# GNU Lesser General Public Licence (LGPL) version 3, #
Expand Down Expand Up @@ -118,7 +118,7 @@ target_include_directories(${target} PUBLIC
target_link_libraries(${target} PUBLIC
FairRoot::Base # FairRunIdGenerator
FairRoot::BaseMQ # Serialization policies
FairRoot::FairTools # FairLogger
FairRoot::Tools # FairLogger
FairRoot::GeoBase # FairGeoSet
FairRoot::ExMCStack
FairRoot::ParBase # FairRuntimeDb, FairContFact, FairParamList
Expand Down
2 changes: 1 addition & 1 deletion examples/advanced/propagator/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ target_include_directories(${target} PUBLIC
target_link_libraries(${target} PUBLIC
FairRoot::Base # FairRunIdGenerator
FairRoot::BaseMQ # Serialization policies
FairRoot::FairTools # FairLogger
FairRoot::Tools # FairLogger
FairRoot::GeoBase # FairGeoSet
FairRoot::ExMCStack
FairRoot::ParBase # FairRuntimeDb, FairContFact, FairParamList
Expand Down
4 changes: 2 additions & 2 deletions examples/common/gconfig/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
################################################################################
# Copyright (C) 2014-2019 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
# Copyright (C) 2014-2022 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
# #
# This software is distributed under the terms of the #
# GNU Lesser General Public Licence (LGPL) version 3, #
Expand Down Expand Up @@ -29,7 +29,7 @@ target_include_directories(${target} PUBLIC

target_link_libraries(${target} PUBLIC
FairRoot::Base # FairRunIdGenerator
FairRoot::FairTools # FairLogger
FairRoot::Tools # FairLogger
FairRoot::MCConfigurator # FairYamlVMCConfig
FairRoot::ExMCStack # FairStack

Expand Down
4 changes: 2 additions & 2 deletions examples/common/mcstack/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
################################################################################
# Copyright (C) 2014-2019 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
# Copyright (C) 2014-2022 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
# #
# This software is distributed under the terms of the #
# GNU Lesser General Public Licence (LGPL) version 3, #
Expand Down Expand Up @@ -33,7 +33,7 @@ target_include_directories(${target} PUBLIC

target_link_libraries(${target} PUBLIC
FairRoot::Base # FairRunIdGenerator
FairRoot::FairTools # FairLogger
FairRoot::Tools # FairLogger

ROOT::Core
ROOT::Physics # TLorentzVector, TVector3
Expand Down
4 changes: 2 additions & 2 deletions examples/simulation/Tutorial1/src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
################################################################################
# Copyright (C) 2014-2019 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
# Copyright (C) 2014-2022 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
# #
# This software is distributed under the terms of the #
# GNU Lesser General Public Licence (LGPL) version 3, #
Expand Down Expand Up @@ -35,7 +35,7 @@ target_include_directories(${target} PUBLIC

target_link_libraries(${target} PUBLIC
FairRoot::Base # FairRunIdGenerator
FairRoot::FairTools # FairLogger
FairRoot::Tools # FairLogger
FairRoot::FairFastSim
FairRoot::ParBase
FairRoot::ExPassive
Expand Down
4 changes: 2 additions & 2 deletions examples/simulation/Tutorial2/src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
################################################################################
# Copyright (C) 2014-2019 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
# Copyright (C) 2014-2022 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
# #
# This software is distributed under the terms of the #
# GNU Lesser General Public Licence (LGPL) version 3, #
Expand Down Expand Up @@ -35,7 +35,7 @@ target_include_directories(${target} PUBLIC

target_link_libraries(${target} PUBLIC
FairRoot::Base # FairRunIdGenerator
FairRoot::FairTools # FairLogger
FairRoot::Tools # FairLogger
FairRoot::GeoBase # FairContFact
FairRoot::ExMCStack
FairRoot::ParBase # FairContFact
Expand Down
4 changes: 2 additions & 2 deletions examples/simulation/Tutorial4/src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
################################################################################
# Copyright (C) 2014-2019 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
# Copyright (C) 2014-2022 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
# #
# This software is distributed under the terms of the #
# GNU Lesser General Public Licence (LGPL) version 3, #
Expand Down Expand Up @@ -54,7 +54,7 @@ target_include_directories(${target} PUBLIC

target_link_libraries(${target} PUBLIC
FairRoot::Base # FairRunIdGenerator
FairRoot::FairTools # FairLogger
FairRoot::Tools # FairLogger
FairRoot::ExMCStack
FairRoot::GeoBase
FairRoot::ParBase
Expand Down
4 changes: 2 additions & 2 deletions examples/simulation/rutherford/src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
################################################################################
# Copyright (C) 2014-2019 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
# Copyright (C) 2014-2022 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
# #
# This software is distributed under the terms of the #
# GNU Lesser General Public Licence (LGPL) version 3, #
Expand Down Expand Up @@ -32,7 +32,7 @@ target_include_directories(${target} PUBLIC

target_link_libraries(${target} PUBLIC
FairRoot::Base # FairRunIdGenerator
FairRoot::FairTools # FairLogger
FairRoot::Tools # FairLogger
FairRoot::ExMCStack
FairRoot::GeoBase
FairRoot::ParBase
Expand Down
8 changes: 5 additions & 3 deletions fairtools/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
################################################################################
# Copyright (C) 2014-2019 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
# Copyright (C) 2014-2022 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
# #
# This software is distributed under the terms of the #
# GNU Lesser General Public Licence (LGPL) version 3, #
Expand All @@ -12,7 +12,7 @@ if(Geant3_FOUND AND Geant4VMC_FOUND AND yaml-cpp_FOUND)
add_subdirectory(MCConfigurator)
endif()

set(target FairTools)
set(target Tools)

set(sources
FairLogger.cxx
Expand All @@ -24,6 +24,8 @@ fair_change_extensions_if_exists(.cxx .h FILES "${sources}" OUTVAR headers)

add_library(${target} SHARED ${sources} ${headers})
fairroot_library_settings(${target})
# Keep old filesystem name
set_target_properties(${target} PROPERTIES OUTPUT_NAME FairTools)

target_include_directories(${target} PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
Expand All @@ -46,7 +48,7 @@ target_link_libraries(${target} PUBLIC

fairroot_target_root_dictionary(${target}
HEADERS ${headers}
LINKDEF FairToolsLinkDef.h
LINKDEF LinkDef.h
EXTRA_INCLUDE_DIRS ${CMAKE_INSTALL_FULL_INCLUDEDIR}
)

Expand Down
10 changes: 5 additions & 5 deletions fairtools/FairToolsLinkDef.h → fairtools/LinkDef.h
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
/********************************************************************************
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* Copyright (C) 2014-2022 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* *
* This software is distributed under the terms of the *
* GNU Lesser General Public Licence (LGPL) version 3, *
* This software is distributed under the terms of the *
* GNU Lesser General Public Licence (LGPL) version 3, *
* copied verbatim in the file "LICENSE" *
********************************************************************************/
// $Id: LoggerLinkDef.h,v 1.4 2006/09/15 12:43:35 turany Exp $

#ifdef __CINT__

#pragma link off all globals;
#pragma link off all classes;
#pragma link off all functions;
// clang-format off

#pragma link C++ class FairLogger+;
#pragma link C++ class FairMonitor+;
#pragma link C++ class FairSystemInfo;

// clang-format on
#endif
4 changes: 2 additions & 2 deletions fairtools/MCConfigurator/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
################################################################################
# Copyright (C) 2014-2019 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
# Copyright (C) 2014-2022 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
# #
# This software is distributed under the terms of the #
# GNU Lesser General Public Licence (LGPL) version 3, #
Expand All @@ -26,7 +26,7 @@ target_include_directories(${target} PUBLIC
)

target_link_libraries(${target} PUBLIC
FairRoot::FairTools
FairRoot::Tools
FairRoot::Base # FairGenericVMCConfig
FairRoot::FairFastSim # FairFastSimRunConfiguration

Expand Down
6 changes: 3 additions & 3 deletions fairtools/README.dox
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
\defgroup fairtools FairTools
\defgroup fairtools Tools

# FairTools
# Tools

## FairLogger

Expand All @@ -18,6 +18,6 @@ We recommend using fair::Logger directly. Upgrade notes:
- Replace `Debug4(...)` style functions with `LOG(debug4) << content;` calls.
- Replace `FairLogger::IsLogNeeded(<severity>)` with `fair::Logger::Logging(<severity>)`.

The CMake target name for this library is `FairRoot::FairTools`.
The CMake target name for this library is `FairRoot::Tools`.

*/
4 changes: 2 additions & 2 deletions generators/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
################################################################################
# Copyright (C) 2014-2019 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
# Copyright (C) 2014-2022 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
# #
# This software is distributed under the terms of the #
# GNU Lesser General Public Licence (LGPL) version 3, #
Expand Down Expand Up @@ -35,7 +35,7 @@ target_include_directories(${target} PUBLIC

target_link_libraries(${target} PUBLIC
FairRoot::Base # FairPrimaryGenerator, FairGenerator, FairIon, FairParticle, FairRunSim
FairRoot::FairTools
FairRoot::Tools

ROOT::Core
ROOT::EG
Expand Down
Loading

0 comments on commit bc8282b

Please sign in to comment.