Skip to content

Commit 231df34

Browse files
committed
Disable FairEventBuilder
It can still be enabled with `BUILD_EVENT_BUILDER=ON`
1 parent e6e7d75 commit 231df34

5 files changed

Lines changed: 11 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ file an issue, so that we can see how to handle this.
7575
* Proof was deprecated by ROOT
7676
* The affected code in FairRoot is disabled by default now
7777
* It can still be enabled with `-DBUILD_PROOF_SUPPORT=ON`.
78+
* Deprecated FairEventBuilder and FairEventBuilderManager
79+
* The functionality, introduced to enable event reconstruction, is not used.
80+
* It can be enabled with `-DBUILD_EVENT_BUILDER=ON`.
7881
7982
### Other Notable Changes
8083
* Consider calling `fairroot_check_root_cxxstd_compatibility()`

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ ENDIF(NOT UNIX)
115115
option(BUILD_UNITTESTS "Build all unittests and add them as new tests" OFF)
116116
option(ENABLE_GEANT3_TESTING "Enable tests utilizing Geant3" OFF)
117117
option(BUILD_PROOF_SUPPORT "Support ROOT::Proof (deprecated)" OFF)
118-
option(BUILD_EVENT_BUILDER "Build FairEventBuild" ON)
118+
option(BUILD_EVENT_BUILDER "Build FairEventBuild" OFF)
119119

120120
option(BUILD_ONLINE "Build the online library" ON)
121121
option(BUILD_MBS "Build MBS" OFF)

FairRoot_build_test.cmake

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
################################################################################
2-
# Copyright (C) 2021-2022 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
2+
# Copyright (C) 2021-2023 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
33
# #
44
# This software is distributed under the terms of the #
55
# GNU Lesser General Public Licence (LGPL) version 3, #
@@ -50,6 +50,9 @@ endif()
5050
if ((NOT DEFINED BUILD_PROOF_SUPPORT) OR BUILD_PROOF_SUPPORT)
5151
list(APPEND options "-DBUILD_PROOF_SUPPORT=ON")
5252
endif()
53+
if ((NOT DEFINED BUILD_EVENT_BUILDER) OR BUILD_EVENT_BUILDER)
54+
list(APPEND options "-DBUILD_EVENT_BUILDER=ON")
55+
endif()
5356
if (USE_CLANG_TIDY)
5457
list(APPEND options "-DCMAKE_CXX_CLANG_TIDY=clang-tidy")
5558
endif()

fairroot/base/LinkDef.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*************************************************************************************
2-
* Copyright (C) 2014-2022 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
2+
* Copyright (C) 2014-2023 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
33
* *
44
* This software is distributed under the terms of the *
55
* GNU Lesser General Public Licence (LGPL) version 3, *

fairroot/base/steer/FairRunAna.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ class FairRunAna : public FairRun
4242
/**Run for the given single entry*/
4343
void Run(Long64_t entry);
4444
/**Run event reconstruction from event number NStart to event number NStop */
45-
void RunEventReco(Int_t NStart, Int_t NStop);
45+
/** \deprecated Deprecated along with FairEventBuilder. */
46+
[[deprecated("Deprecated along with FairEventBuilder.")]] void RunEventReco(Int_t NStart, Int_t NStop);
4647
/**Run over all TSBuffers until the data is processed*/
4748
void RunTSBuffers();
4849
/** the dummy run does not check the evt header or the parameters!! */

0 commit comments

Comments
 (0)