-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove internal usage of deprecated reader / writer
- Loading branch information
Showing
17 changed files
with
49 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
#include "read_and_write_frame.h" | ||
|
||
#include "podio/ROOTFrameReader.h" | ||
#include "podio/ROOTFrameWriter.h" | ||
#include "podio/ROOTReader.h" | ||
#include "podio/ROOTWriter.h" | ||
|
||
int main() { | ||
return rewrite_frames<podio::ROOTFrameReader, podio::ROOTFrameWriter>("example_frame.root", "rewritten_frame.root") + | ||
read_rewritten_frames<podio::ROOTFrameReader>("rewritten_frame.root"); | ||
return rewrite_frames<podio::ROOTReader, podio::ROOTWriter>("example_frame.root", "rewritten_frame.root") + | ||
read_rewritten_frames<podio::ROOTReader>("rewritten_frame.root"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#include "read_python_frame.h" | ||
|
||
#include "podio/ROOTFrameReader.h" | ||
#include "podio/ROOTReader.h" | ||
|
||
int main() { | ||
return read_frame<podio::ROOTFrameReader>("example_frame_with_py.root"); | ||
return read_frame<podio::ROOTReader>("example_frame_with_py.root"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#include "write_frame.h" | ||
|
||
#include "podio/ROOTFrameWriter.h" | ||
#include "podio/ROOTWriter.h" | ||
|
||
int main(int, char**) { | ||
write_frames<podio::ROOTFrameWriter>("example_frame.root"); | ||
write_frames<podio::ROOTWriter>("example_frame.root"); | ||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#include "read_new_data.h" | ||
|
||
#include "podio/ROOTFrameReader.h" | ||
#include "podio/ROOTReader.h" | ||
|
||
int main() { | ||
return read_new_data<podio::ROOTFrameReader>("example_data_old_schema.root"); | ||
return read_new_data<podio::ROOTReader>("example_data_old_schema.root"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#include "schema_evolution/write_old_data.h" | ||
|
||
#include "podio/ROOTFrameWriter.h" | ||
#include "podio/ROOTWriter.h" | ||
|
||
int main() { | ||
return writeData<podio::ROOTFrameWriter>("example_data_old_schema.root"); | ||
return writeData<podio::ROOTWriter>("example_data_old_schema.root"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
#include "read_and_write_frame.h" | ||
|
||
#include "podio/SIOFrameReader.h" | ||
#include "podio/SIOFrameWriter.h" | ||
#include "podio/SIOReader.h" | ||
#include "podio/SIOWriter.h" | ||
|
||
int main() { | ||
return rewrite_frames<podio::SIOFrameReader, podio::SIOFrameWriter>("example_frame.sio", "rewritten_frame.sio") + | ||
read_rewritten_frames<podio::SIOFrameReader>("rewritten_frame.sio"); | ||
return rewrite_frames<podio::SIOReader, podio::SIOWriter>("example_frame.sio", "rewritten_frame.sio") + | ||
read_rewritten_frames<podio::SIOReader>("rewritten_frame.sio"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#include "read_python_frame.h" | ||
|
||
#include "podio/SIOFrameReader.h" | ||
#include "podio/SIOReader.h" | ||
|
||
int main() { | ||
return read_frame<podio::SIOFrameReader>("example_frame_with_py.sio"); | ||
return read_frame<podio::SIOReader>("example_frame_with_py.sio"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#include "write_frame.h" | ||
|
||
#include "podio/SIOFrameWriter.h" | ||
#include "podio/SIOWriter.h" | ||
|
||
int main(int, char**) { | ||
write_frames<podio::SIOFrameWriter>("example_frame.sio"); | ||
write_frames<podio::SIOWriter>("example_frame.sio"); | ||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters