File tree Expand file tree Collapse file tree 5 files changed +4
-7
lines changed
Expand file tree Collapse file tree 5 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 11#include " DataFormats/Portable/interface/PortableHostCollectionReadRules.h"
22#include " DataFormats/TrackSoA/interface/TracksHost.h"
33
4- using namespace reco ;
5- SET_PORTABLEHOSTMULTICOLLECTION_READ_RULES (TracksHost);
4+ SET_PORTABLEHOSTMULTICOLLECTION_READ_RULES (reco::TracksHost);
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ namespace edmtest {
3232 auto const & tracks = iEvent.get (getToken_);
3333 auto tracksView = tracks.view ();
3434
35+ std::cout << " tracksView.metadata().size() = " << tracksView.metadata ().size () << std::endl;
3536 for (int i = 0 ; i < tracksView.metadata ().size (); ++i) {
3637 if (tracksView[i].eta () != float (i)) {
3738 throw cms::Exception (" TestReadHostTrackSoA Failure" ) << " TestReadHostTrackSoA::analyze, entry. i = " << i;
Original file line number Diff line number Diff line change 1717
1818process .path = cms .Path (process .trackSoA )
1919process .endPath = cms .EndPath (process .out )
20-
21- 'testTrackSoAWriter.root'
22-
Original file line number Diff line number Diff line change 11#include " DataFormats/Portable/interface/PortableHostCollectionReadRules.h"
22#include " DataFormats/TrackingRecHitSoA/interface/TrackingRecHitsHost.h"
33
4- using namespace reco ;
5- SET_PORTABLEHOSTMULTICOLLECTION_READ_RULES (HitPortableCollectionHost);
4+ SET_PORTABLEHOSTMULTICOLLECTION_READ_RULES (reco::HitPortableCollectionHost);
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ namespace edmtest {
3636 auto const & hits = iEvent.get (getToken_);
3737 auto hitsView = hits.view ();
3838
39+ std::cout << " hitsView.metadata().size() = " << hitsView.metadata ().size () << std::endl;
3940 for (int i = 0 ; i < hitsView.metadata ().size (); ++i) {
4041 if (hitsView[i].xGlobal () != float (i)) {
4142 throw cms::Exception (" TestWriteHostHitSoA Failure" ) << " TestReadHostHitSoA::analyze, entry. i = " << i;
You can’t perform that action at this time.
0 commit comments