Project
Loading...
Searching...
No Matches
test_GroupSlicer.cxx File Reference
#include "Framework/ASoA.h"
#include "Framework/AnalysisDataModel.h"
#include "Framework/TableBuilder.h"
#include "Framework/GroupSlicer.h"
#include "Framework/ArrowTableSlicingCache.h"
#include <arrow/util/config.h>
#include <iostream>
#include <catch_amalgamated.hpp>

Go to the source code of this file.

Namespaces

namespace  o2
 a couple of static helper functions to create timestamp values for CCDB queries or override obsolete objects
 
namespace  o2::aod
 
namespace  o2::aod::test
 
namespace  o2::aod::unsorted
 
namespace  o2::aod::parts
 
namespace  o2::aod::things
 

Typedefs

using o2::aod::Event = Events::iterator
 

Functions

 o2::aod::test::DECLARE_SOA_COLUMN (ID, id, int)
 
 o2::aod::test::DECLARE_SOA_COLUMN (Foo, foo, float)
 
 o2::aod::test::DECLARE_SOA_COLUMN (Bar, bar, float)
 
 o2::aod::test::DECLARE_SOA_COLUMN (EventProperty, eventProperty, float)
 
 o2::aod::DECLARE_SOA_TABLE (Events, "AOD", "EVTS", o2::soa::Index<>, test::ID, test::EventProperty, test::Foo, test::Bar)
 
 o2::aod::test::DECLARE_SOA_INDEX_COLUMN (Event, event)
 
 o2::aod::test::DECLARE_SOA_COLUMN (X, x, float)
 
 o2::aod::test::DECLARE_SOA_COLUMN (Y, y, float)
 
 o2::aod::test::DECLARE_SOA_COLUMN (Z, z, float)
 
 o2::aod::unsorted::DECLARE_SOA_INDEX_COLUMN (Event, event)
 
 o2::aod::DECLARE_SOA_TABLE (TrksX, "AOD", "TRKSX", test::EventId, test::X)
 
 o2::aod::DECLARE_SOA_TABLE (TrksY, "AOD", "TRKSY", test::EventId, test::Y)
 
 o2::aod::DECLARE_SOA_TABLE (TrksZ, "AOD", "TRKSZ", test::EventId, test::Z)
 
 o2::aod::DECLARE_SOA_TABLE (TrksU, "AOD", "TRKSU", test::X, test::Y, test::Z)
 
 o2::aod::DECLARE_SOA_TABLE (TrksXU, "AOD", "TRKSXU", unsorted::EventId, test::X)
 
 o2::aod::DECLARE_SOA_TABLE (TrksYU, "AOD", "TRKSYU", unsorted::EventId, test::Y)
 
 o2::aod::DECLARE_SOA_TABLE (TrksZU, "AOD", "TRKSZU", unsorted::EventId, test::Z)
 
 o2::aod::test::DECLARE_SOA_COLUMN (Arr, arr, float[3])
 
 o2::aod::test::DECLARE_SOA_COLUMN (Boo, boo, bool)
 
 o2::aod::test::DECLARE_SOA_COLUMN (Lst, lst, std::vector< double >)
 
 o2::aod::DECLARE_SOA_TABLE (EventExtra, "AOD", "EVTSXTRA", test::Arr, test::Boo, test::Lst)
 
 TEST_CASE ("RelatedByIndex")
 
 TEST_CASE ("GroupSlicerOneAssociated")
 
 TEST_CASE ("GroupSlicerSeveralAssociated")
 
 TEST_CASE ("GroupSlicerMismatchedGroups")
 
 TEST_CASE ("GroupSlicerMismatchedUnassignedGroups")
 
 TEST_CASE ("GroupSlicerMismatchedFilteredGroups")
 
 TEST_CASE ("GroupSlicerMismatchedUnsortedFilteredGroups")
 
 o2::aod::parts::DECLARE_SOA_INDEX_COLUMN (Event, event)
 
 o2::aod::parts::DECLARE_SOA_COLUMN (Property, property, int)
 
 o2::aod::parts::DECLARE_SOA_SELF_SLICE_INDEX_COLUMN (Relatives, relatives)
 
 o2::aod::DECLARE_SOA_TABLE (Parts, "AOD", "PRTS", soa::Index<>, parts::EventId, parts::Property, parts::RelativesIdSlice)
 
 o2::aod::things::DECLARE_SOA_INDEX_COLUMN (Event, event)
 
 o2::aod::things::DECLARE_SOA_INDEX_COLUMN (Part, part)
 
 o2::aod::DECLARE_SOA_TABLE (Things, "AOD", "THNGS", soa::Index<>, things::EventId, things::PartId)
 
 TEST_CASE ("GroupSlicerMismatchedUnsortedFilteredGroupsWithSelfIndex")
 
 TEST_CASE ("EmptySliceables")
 
 TEST_CASE ("ArrowDirectSlicing")
 
 TEST_CASE ("TestSlicingException")
 

Function Documentation

◆ TEST_CASE() [1/11]

TEST_CASE ( "ArrowDirectSlicing"  )

Definition at line 629 of file test_GroupSlicer.cxx.

◆ TEST_CASE() [2/11]

TEST_CASE ( "EmptySliceables"  )

Definition at line 595 of file test_GroupSlicer.cxx.

◆ TEST_CASE() [3/11]

TEST_CASE ( "GroupSlicerMismatchedFilteredGroups"  )

Definition at line 339 of file test_GroupSlicer.cxx.

◆ TEST_CASE() [4/11]

TEST_CASE ( "GroupSlicerMismatchedGroups"  )

Definition at line 233 of file test_GroupSlicer.cxx.

◆ TEST_CASE() [5/11]

TEST_CASE ( "GroupSlicerMismatchedUnassignedGroups"  )

Definition at line 281 of file test_GroupSlicer.cxx.

◆ TEST_CASE() [6/11]

TEST_CASE ( "GroupSlicerMismatchedUnsortedFilteredGroups"  )

Definition at line 390 of file test_GroupSlicer.cxx.

◆ TEST_CASE() [7/11]

TEST_CASE ( "GroupSlicerMismatchedUnsortedFilteredGroupsWithSelfIndex"  )

Definition at line 509 of file test_GroupSlicer.cxx.

◆ TEST_CASE() [8/11]

TEST_CASE ( "GroupSlicerOneAssociated"  )

Definition at line 97 of file test_GroupSlicer.cxx.

◆ TEST_CASE() [9/11]

TEST_CASE ( "GroupSlicerSeveralAssociated"  )

Definition at line 138 of file test_GroupSlicer.cxx.

◆ TEST_CASE() [10/11]

TEST_CASE ( "RelatedByIndex"  )

Definition at line 90 of file test_GroupSlicer.cxx.

◆ TEST_CASE() [11/11]

TEST_CASE ( "TestSlicingException"  )

Definition at line 728 of file test_GroupSlicer.cxx.