From 74dd6d60831448df67cab4895599d25e8273f631 Mon Sep 17 00:00:00 2001 From: jmcarcell Date: Sun, 3 Dec 2023 16:12:28 +0100 Subject: [PATCH] Fix a few more names --- include/podio/ROOTRNTupleReader.h | 4 ++-- include/podio/ROOTRNTupleWriter.h | 6 +++--- python/podio/root_io.py | 4 ++-- src/root_selection.xml | 4 ++-- tests/root_io/read_python_frame_rntuple.cpp | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/include/podio/ROOTRNTupleReader.h b/include/podio/ROOTRNTupleReader.h index 250175997..5aaeb861d 100644 --- a/include/podio/ROOTRNTupleReader.h +++ b/include/podio/ROOTRNTupleReader.h @@ -1,5 +1,5 @@ -#ifndef PODIO_ROOTNTUPLEREADER_H -#define PODIO_ROOTNTUPLEREADER_H +#ifndef PODIO_ROOTRNTUPLEREADER_H +#define PODIO_ROOTRNTUPLEREADER_H #include "podio/CollectionBranches.h" #include "podio/ICollectionProvider.h" diff --git a/include/podio/ROOTRNTupleWriter.h b/include/podio/ROOTRNTupleWriter.h index 846a88645..2006bdd6a 100644 --- a/include/podio/ROOTRNTupleWriter.h +++ b/include/podio/ROOTRNTupleWriter.h @@ -1,5 +1,5 @@ -#ifndef PODIO_ROOTNTUPLEWRITER_H -#define PODIO_ROOTNTUPLEWRITER_H +#ifndef PODIO_ROOTRNTUPLEWRITER_H +#define PODIO_ROOTRNTUPLEWRITER_H #include "podio/CollectionBase.h" #include "podio/Frame.h" @@ -88,4 +88,4 @@ class ROOTRNTupleWriter : public IROOTFrameWriter { } // namespace podio -#endif // PODIO_ROOTNTUPLEWRITER_H +#endif // PODIO_ROOTRNTUPLEWRITER_H diff --git a/python/podio/root_io.py b/python/podio/root_io.py index 6ebfbdac7..5cba8cee7 100644 --- a/python/podio/root_io.py +++ b/python/podio/root_io.py @@ -39,7 +39,7 @@ def __init__(self, filenames): if isinstance(filenames, str): filenames = (filenames,) - self._reader = podio.ROOTNTupleReader() + self._reader = podio.ROOTRNTupleReader() self._reader.openFiles(filenames) super().__init__() @@ -87,4 +87,4 @@ def __init__(self, filename): Args: filename (str): The name of the output file """ - self._writer = podio.ROOTNTupleWriter(filename) + self._writer = podio.ROOTRNTupleWriter(filename) diff --git a/src/root_selection.xml b/src/root_selection.xml index afda66935..e5f368aed 100644 --- a/src/root_selection.xml +++ b/src/root_selection.xml @@ -3,7 +3,7 @@ - - + + diff --git a/tests/root_io/read_python_frame_rntuple.cpp b/tests/root_io/read_python_frame_rntuple.cpp index 52d7576d8..15c587628 100644 --- a/tests/root_io/read_python_frame_rntuple.cpp +++ b/tests/root_io/read_python_frame_rntuple.cpp @@ -1,7 +1,7 @@ #include "read_python_frame.h" -#include "podio/ROOTNTupleReader.h" +#include "podio/ROOTRNTupleReader.h" int main() { - return read_frame("example_frame_with_py_rntuple.root"); + return read_frame("example_frame_with_py_rntuple.root"); }