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

Set the eventheader for ana executable #27

Merged
merged 1 commit into from
Jan 29, 2025
Merged

Conversation

YanzhaoW
Copy link
Owner

Fix the exception occured when NeulandSimCalToCal is enabled.


Checklist:

@YanzhaoW YanzhaoW merged commit 7a88b06 into edwin_dev Jan 29, 2025
4 of 6 checks passed
Copy link

Cpp-Linter Report ⚠️

Some files did not pass the configured checks!

clang-tidy (v18.1.3) reports: 1 concern(s)
  • neuland/digitizing/R3BNeulandSimCalToCal.cxx:15:28: warning: [misc-include-cleaner]

    no header providing "R3B::runtime_error" is directly included

        2 | 
        3 | #include <FairMCEventHeader.h>
        4 | #include <R3BEventHeader.h>
        5 | #include <R3BNeulandBasePar.h>
        6 | 
        7 | namespace R3B::Neuland
        8 | {
        9 |     namespace
       10 |     {
       11 |         void convert_event_header(FairMCEventHeader* mc_header, R3BEventHeader* header)
       12 |         {
       13 |             if (mc_header == nullptr)
       14 |             {
       15 |                 throw R3B::runtime_error("MCEventHeader is nullptr!");
          |                            ^

Have any feedback or feature suggestions? Share it here.

@YanzhaoW YanzhaoW deleted the edwin_fix_container branch January 29, 2025 16:08
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.

1 participant