Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable event builder #1414

Merged
merged 2 commits into from
Jun 30, 2023
Merged

Conversation

karabowi
Copy link
Collaborator

Introduced BUILD_EVENT_BUILDER flag, that allows
disabling build of FairEventBuilder and FairEventBuilderManager classes.
Set it to OFF.

Consequence of discussion in PR #1406.


Checklist:

@ChristianTackeGSI
Copy link
Member

Can you please change the CI script as well, so that we still build this stuff in our CI builds? (we should still build it there, to make sure it does not break, as long, as we still have it)

--- a/FairRoot_build_test.cmake
+++ b/FairRoot_build_test.cmake
@@ -1,5 +1,5 @@
 ################################################################################
-# Copyright (C) 2021-2022 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH  #
+# Copyright (C) 2021-2023 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH  #
 #                                                                              #
 #              This software is distributed under the terms of the             #
 #              GNU Lesser General Public Licence (LGPL) version 3,             #
@@ -50,6 +50,9 @@ endif()
 if ((NOT DEFINED BUILD_PROOF_SUPPORT) OR BUILD_PROOF_SUPPORT)
   list(APPEND options "-DBUILD_PROOF_SUPPORT=ON")
 endif()
+if ((NOT DEFINED BUILD_EVENT_BUILDER) OR BUILD_EVENT_BUILDER)
+  list(APPEND options "-DBUILD_EVENT_BUILDER=ON")
+endif()
 if (USE_CLANG_TIDY)
   list(APPEND options "-DCMAKE_CXX_CLANG_TIDY=clang-tidy")
 endif()

@karabowi karabowi force-pushed the disableEventBuilder branch 2 times, most recently from b2b5f28 to 21b0f69 Compare June 23, 2023 12:58
Copy link
Member

@ChristianTackeGSI ChristianTackeGSI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Loogs good to me.

@karabowi karabowi force-pushed the disableEventBuilder branch from 21b0f69 to 6c7bbda Compare June 29, 2023 13:04
CHANGELOG.md Outdated
@@ -75,6 +75,9 @@ file an issue, so that we can see how to handle this.
* Proof was deprecated by ROOT
* The affected code in FairRoot is disabled by default now
* It can still be enabled with `-DBUILD_PROOF_SUPPORT=ON`.
* Deprecated FairEventBuilder and FairEventBuilderManager
* The funcionality, introduced to enable event reconstruction, is not used.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* The funcionality, introduced to enable event reconstruction, is not used.
* The functionality, introduced to enable event reconstruction, is not used.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

karabowi added 2 commits June 30, 2023 15:26
The classes `FairEventBuilder` and `FairEventBuilderManager`,
originally introduced to enable event reconstruction
in time-based mode seem not to be used by any experiment.

Therefore, implemented `BUILD_EVENT_BUILDER` flag
in preparation to disable them.
It can still be enabled with `BUILD_EVENT_BUILDER=ON`
@karabowi karabowi force-pushed the disableEventBuilder branch from 6c7bbda to 96c3b2d Compare June 30, 2023 13:26
@karabowi karabowi merged commit 231df34 into FairRootGroup:dev Jun 30, 2023
@karabowi karabowi deleted the disableEventBuilder branch June 30, 2023 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants