Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tutorials/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,9 @@ set(analysis-dataframe-df015_LazyDataSource-depends tutorial-analysis-dataframe-
# Download the input root file only once from a python tutorial, the C++ one depends on it
set(hist-hist039_TH2Poly_usa-depends tutorial-hist-hist039_TH2Poly_usa-py)

# Specify which tutorials should be run with ACLiC, e.g. because they contain classes instances of which are written
set(io-ntuple-ntpl014_framework-aclic "+")

#---Loop over all tutorials and define the corresponding test---------
foreach(t ${tutorials})
list(FIND returncode_1 ${t} index)
Expand Down
6 changes: 6 additions & 0 deletions tutorials/io/ntuple/ntpl014_framework.C
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
#include <ROOT/RNTupleWriter.hxx>
#include <ROOT/RNTupleWriteOptions.hxx>

#include <TFile.h>

#include <cassert>
#include <cstddef> // for std::size_t
#include <cstdint> // for std::uint32_t
Expand Down Expand Up @@ -148,6 +150,8 @@ public:
}
}
}
// Version 0 signals to ROOT's typesystem that this instances of this class will never be written
ClassDef(ParallelOutputter,0)
};

// A SerializingOutputter uses a sequential RNTupleWriter to append an RNTuple to a TFile and a std::mutex to
Expand Down Expand Up @@ -215,6 +219,8 @@ public:
}
}
}
// Version 0 signals to ROOT's typesystem that this instances of this class will never be written
ClassDef(SerializingOutputter,0)
};

// === END OF TUTORIAL FRAMEWORK CODE ===
Expand Down
Loading