Skip to content

Commit

Permalink
Change ROOTFrame{Writer,Reader} to ROOT{Writer,Reader} when possible (#…
Browse files Browse the repository at this point in the history
…47)

Co-authored-by: jmcarcell <[email protected]>
  • Loading branch information
jmcarcell and jmcarcell authored Feb 7, 2024
1 parent 6786ed7 commit e6d7080
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion tests/compare_contents.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,16 @@
#include "ObjectMapping.h"
#include "ComparisonUtils.h"

#include "podio/podioVersion.h"
#if PODIO_BUILD_VERSION >= PODIO_VERSION(0, 99, 0)
#include "podio/ROOTReader.h"
#else
#include "podio/ROOTFrameReader.h"
namespace podio {
using ROOTReader = podio::ROOTFrameReader;
}
#endif

#include "podio/Frame.h"

#include <IOIMPL/LCFactory.h>
Expand All @@ -22,7 +31,7 @@ int main(int argc, char* argv[])
auto lcreader = IOIMPL::LCFactory::getInstance()->createLCReader();
lcreader->open(argv[1]);

auto edmreader = podio::ROOTFrameReader();
auto edmreader = podio::ROOTReader();
edmreader.openFile(argv[2]);

// loop going over every name of the lcio collection and checking if a
Expand Down

0 comments on commit e6d7080

Please sign in to comment.