Skip to content

Commit

Permalink
Fix a few more names
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Dec 3, 2023
1 parent 0e7e02a commit 74dd6d6
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions include/podio/ROOTRNTupleReader.h
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
6 changes: 3 additions & 3 deletions include/podio/ROOTRNTupleWriter.h
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -88,4 +88,4 @@ class ROOTRNTupleWriter : public IROOTFrameWriter {

} // namespace podio

#endif // PODIO_ROOTNTUPLEWRITER_H
#endif // PODIO_ROOTRNTUPLEWRITER_H
4 changes: 2 additions & 2 deletions python/podio/root_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__()
Expand Down Expand Up @@ -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)
4 changes: 2 additions & 2 deletions src/root_selection.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<class name="podio::ROOTFrameReader"/>
<class name="podio::ROOTLegacyReader"/>
<class name="podio::ROOTFrameWriter"/>
<class name="podio::ROOTNTupleReader"/>
<class name="podio::ROOTNTupleWriter"/>
<class name="podio::ROOTRNTupleReader"/>
<class name="podio::ROOTRNTupleWriter"/>
</selection>
</lcgdict>
4 changes: 2 additions & 2 deletions tests/root_io/read_python_frame_rntuple.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "read_python_frame.h"

#include "podio/ROOTNTupleReader.h"
#include "podio/ROOTRNTupleReader.h"

int main() {
return read_frame<podio::ROOTNTupleReader>("example_frame_with_py_rntuple.root");
return read_frame<podio::ROOTRNTupleReader>("example_frame_with_py_rntuple.root");
}

0 comments on commit 74dd6d6

Please sign in to comment.