Skip to content

Eudaq compillation fails, reference in setup.sh old, no CI

Dear all

Perhaps I should have opened individual issues but as they are closely related, here we go.

  • Compilation of Ph2_ACF v6-04 with the current cms_tk_master branch fails for OT and IT
    v6-04_eudaq/tools/Eudaq2Producer.cc: In member function virtual void Eudaq2Producer::DoInitialise():
    /mnt/storage/software/Ph2_ACF/v6-04_eudaq/tools/Eudaq2Producer.cc:89:9: error: LinkAlignmentOT was not declared in this scope
    89 |         LinkAlignmentOT cLinkAlignment;
       |         ^~~~~~~~~~~~~~~
    /mnt/storage/software/Ph2_ACF/v6-04_eudaq/tools/Eudaq2Producer.cc:90:9: error: cLinkAlignment was not declared in this scope; did you mean cPSAlignment?
    90 |         cLinkAlignment.Inherit(this);
       |         ^~~~~~~~~~~~~~
       |         cPSAlignment
    v6-04_eudaq/tools/RD53eudaqProducer.cc: In member function virtual void RD53eudaqProducer::DoStartRun():
    v6-04_eudaq/tools/RD53eudaqProducer.cc:40:21: error: int CalibBase::theCurrentRun is protected within this context
       40 |     RD53sysCntrPhys.theCurrentRun = GetRunNumber();
       |                     ^~~~~~~~~~~~~
    In file included from v6-04_eudaq/tools/RD53Physics.h:15,
                  from v6-04_eudaq/tools/RD53eudaqProducer.h:14,
                  from v6-04_eudaq/tools/RD53eudaqProducer.cc:10:
    v6-04_eudaq/tools/RD53CalibBase.h:149:10: note: declared protected here
    149 |     int  theCurrentRun;
    ... etc
  • The EUDAQ reference in the current setup.sh is pointing to a commit from May 2023. This does not compile with "recent" root versions (cmake config issue).
    Is this way of compiling Ph2_ACF with EUDAQ still supported? Otherwise it should be removed.
  • Commit 1ae57d5a removed building eudaq flavours of Ph2_ACF which would have caught the issues above. Is there a reason for that change? Finding out that the current Ph2_ACF version does not compile or work (different beast for testing) while setting up a testbeam is a very inconvenient moment.

Thanks!