Project
Loading...
Searching...
No Matches
test_ASoA.cxx File Reference
#include <cstdio>
#include "Framework/ASoA.h"
#include "Framework/Expressions.h"
#include "Framework/AnalysisHelpers.h"
#include "CommonConstants/MathConstants.h"
#include "gandiva/tree_expr_builder.h"
#include "arrow/status.h"
#include "gandiva/filter.h"
#include <catch_amalgamated.hpp>
#include <arrow/util/key_value_metadata.h>

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::table
 

Functions

 o2::aod::test::DECLARE_SOA_COLUMN (X, x, int)
 
 o2::aod::test::DECLARE_SOA_COLUMN (Y, y, int)
 
 o2::aod::test::DECLARE_SOA_COLUMN (Z, z, int)
 
 o2::aod::test::DECLARE_SOA_DYNAMIC_COLUMN (Sum, sum, [](int x, int y) { return x+y;})
 
 o2::aod::test::DECLARE_SOA_EXPRESSION_COLUMN (ESum, esum, int, test::x+test::y)
 
 o2::aod::DECLARE_SOA_TABLE (Points, "TEST", "POINTS", test::X, test::Y)
 
 o2::aod::DECLARE_SOA_TABLE (Points3Ds, "TEST", "PTS3D", o2::soa::Index<>, test::X, test::Y, test::Z)
 
 o2::aod::DECLARE_SOA_TABLE_VERSIONED (Points3DMk1s, "TEST", "PTS3D", 1, o2::soa::Index<>, o2::soa::Marker< 1 >, test::X, test::Y, test::Z)
 
 o2::aod::DECLARE_SOA_TABLE_VERSIONED (Points3DMk2s, "TEST", "PTS3D", 2, o2::soa::Index<>, o2::soa::Marker< 2 >, test::X, test::Y, test::Z)
 
 o2::aod::DECLARE_SOA_TABLE_VERSIONED (Points3DMk3s, "TEST", "PTS3D", 3, o2::soa::Index<>, o2::soa::Marker< 3 >, test::X, test::Y, test::Z)
 
 o2::aod::test::DECLARE_SOA_COLUMN_FULL (SomeBool, someBool, bool, "someBool")
 
 o2::aod::test::DECLARE_SOA_COLUMN_FULL (Color, color, int32_t, "color")
 
 o2::aod::DECLARE_SOA_TABLE (Infos, "TEST", "INFOS", test::Color, test::SomeBool)
 
 o2::aod::test::DECLARE_SOA_COLUMN (N, n, int)
 
 o2::aod::test::DECLARE_SOA_INDEX_COLUMN (Info, info)
 
 o2::aod::test::DECLARE_SOA_INDEX_COLUMN_FULL (PointA, pointA, int, Points, "_A")
 
 o2::aod::test::DECLARE_SOA_INDEX_COLUMN_FULL (PointB, pointB, int, Points, "_B")
 
 o2::aod::test::DECLARE_SOA_COLUMN_FULL (Thickness, thickness, int, "thickness")
 
 o2::aod::DECLARE_SOA_TABLE (Segments, "TEST", "SEGMENTS", test::N, test::PointAId, test::PointBId, test::InfoId)
 
 o2::aod::DECLARE_SOA_TABLE (SegmentsExtras, "TEST", "SEGMENTSPLUS", test::Thickness)
 
 o2::aod::test::DECLARE_SOA_COLUMN (L1, l1, std::vector< float >)
 
 o2::aod::test::DECLARE_SOA_COLUMN (L2, l2, std::vector< int >)
 
 o2::aod::DECLARE_SOA_TABLE (Lists, "TEST", "LISTS", o2::soa::Index<>, test::L1, test::L2)
 
 TEST_CASE ("TestMarkers")
 
 TEST_CASE ("TestTableIteration")
 
 TEST_CASE ("TestDynamicColumns")
 
 TEST_CASE ("TestColumnIterators")
 
 TEST_CASE ("TestJoinedTables")
 
 TEST_CASE ("TestConcatTables")
 
 TEST_CASE ("TestDereference")
 
 TEST_CASE ("TestSchemaCreation")
 
 TEST_CASE ("TestFilteredOperators")
 
 TEST_CASE ("TestNestedFiltering")
 
 TEST_CASE ("TestEmptyTables")
 
 o2::aod::DECLARE_SOA_TABLE (Origints, "TEST", "ORIG", o2::soa::Index<>, test::X, test::SomeBool)
 
 o2::aod::test::DECLARE_SOA_INDEX_COLUMN (Origint, origint)
 
 o2::aod::test::DECLARE_SOA_INDEX_COLUMN_FULL (AltOrigint, altOrigint, int, Origints, "_alt")
 
 o2::aod::test::DECLARE_SOA_ARRAY_INDEX_COLUMN (Origint, origints)
 
 o2::aod::DECLARE_SOA_TABLE (References, "TEST", "REFS", o2::soa::Index<>, test::OrigintId)
 
 o2::aod::DECLARE_SOA_TABLE (OtherReferences, "TEST", "OREFS", o2::soa::Index<>, test::AltOrigintId)
 
 o2::aod::DECLARE_SOA_TABLE (ManyReferences, "TEST", "MREFS", o2::soa::Index<>, test::OrigintIds)
 
 TEST_CASE ("TestIndexToFiltered")
 
 o2::aod::test::DECLARE_SOA_INDEX_COLUMN_FULL (SinglePoint, singlePoint, int32_t, Points3Ds, "")
 
 o2::aod::test::DECLARE_SOA_ARRAY_INDEX_COLUMN (Points3D, pointGroup)
 
 o2::aod::test::DECLARE_SOA_SLICE_INDEX_COLUMN (Points3D, pointSlice)
 
 o2::aod::test::DECLARE_SOA_SELF_INDEX_COLUMN (OtherPoint, otherPoint)
 
 o2::aod::test::DECLARE_SOA_SELF_SLICE_INDEX_COLUMN (PointSeq, pointSeq)
 
 o2::aod::test::DECLARE_SOA_SELF_ARRAY_INDEX_COLUMN (PointSet, pointSet)
 
 o2::aod::DECLARE_SOA_TABLE (PointsRef, "TEST", "PTSREF", test::Points3DIdSlice, test::Points3DIds)
 
 o2::aod::DECLARE_SOA_TABLE (PointsRefF, "TEST", "PTSREFF", test::SinglePointId, test::Points3DIdSlice, test::Points3DIds)
 
 o2::aod::DECLARE_SOA_TABLE (PointsSelfIndex, "TEST", "PTSSLF", o2::soa::Index<>, test::X, test::Y, test::Z, test::OtherPointId, test::PointSeqIdSlice, test::PointSetIds)
 
 TEST_CASE ("TestAdvancedIndices")
 
 o2::aod::DECLARE_SOA_TABLE (PointsSelfRef, "TEST", "PTSSR", test::OtherPointId, test::PointSeqIdSlice, test::PointSetIds)
 
 TEST_CASE ("TestSelfIndexRecursion")
 
 TEST_CASE ("TestListColumns")
 
 TEST_CASE ("TestSliceByCached")
 
 TEST_CASE ("TestSliceByCachedMismatched")
 
 TEST_CASE ("TestIndexUnboundExceptions")
 
 o2::aod::test::DECLARE_SOA_COLUMN (SmallIntArray, smallIntArray, int8_t[32])
 
 o2::aod::test::DECLARE_SOA_BITMAP_COLUMN (BoolArray, boolArray, 32)
 
 o2::aod::DECLARE_SOA_TABLE (BILists, "TEST", "BILISTS", o2::soa::Index<>, test::SmallIntArray, test::BoolArray)
 
 TEST_CASE ("TestArrayColumns")
 
 o2::aod::table::DECLARE_SOA_COLUMN (One, one, int)
 
 o2::aod::table::DECLARE_SOA_COLUMN (Two, two, float)
 
 o2::aod::table::DECLARE_SOA_COLUMN (Three, three, double)
 
 o2::aod::table::DECLARE_SOA_COLUMN (Four, four, int[2])
 
 o2::aod::table::DECLARE_SOA_DYNAMIC_COLUMN (Five, five, [](const int in[2]) -> float { return(float) in[0]/(float) in[1];})
 
 o2::aod::DECLARE_SOA_TABLE (MixTest, "AOD", "MIXTST", table::One, table::Two, table::Three, table::Four, table::Five< table::Four >)
 
 TEST_CASE ("TestCombinedGetter")
 

Function Documentation

◆ TEST_CASE() [1/20]

TEST_CASE ( "TestAdvancedIndices"  )

Definition at line 796 of file test_ASoA.cxx.

◆ TEST_CASE() [2/20]

TEST_CASE ( "TestArrayColumns"  )

Definition at line 1282 of file test_ASoA.cxx.

◆ TEST_CASE() [3/20]

TEST_CASE ( "TestColumnIterators"  )

Definition at line 199 of file test_ASoA.cxx.

◆ TEST_CASE() [4/20]

TEST_CASE ( "TestCombinedGetter"  )

Definition at line 1328 of file test_ASoA.cxx.

◆ TEST_CASE() [5/20]

TEST_CASE ( "TestConcatTables"  )

Definition at line 308 of file test_ASoA.cxx.

◆ TEST_CASE() [6/20]

TEST_CASE ( "TestDereference"  )

Definition at line 481 of file test_ASoA.cxx.

◆ TEST_CASE() [7/20]

TEST_CASE ( "TestDynamicColumns"  )

Definition at line 170 of file test_ASoA.cxx.

◆ TEST_CASE() [8/20]

TEST_CASE ( "TestEmptyTables"  )

Definition at line 692 of file test_ASoA.cxx.

◆ TEST_CASE() [9/20]

TEST_CASE ( "TestFilteredOperators"  )

Definition at line 562 of file test_ASoA.cxx.

◆ TEST_CASE() [10/20]

TEST_CASE ( "TestIndexToFiltered"  )

Definition at line 727 of file test_ASoA.cxx.

◆ TEST_CASE() [11/20]

TEST_CASE ( "TestIndexUnboundExceptions"  )

Definition at line 1239 of file test_ASoA.cxx.

◆ TEST_CASE() [12/20]

TEST_CASE ( "TestJoinedTables"  )

Definition at line 233 of file test_ASoA.cxx.

◆ TEST_CASE() [13/20]

TEST_CASE ( "TestListColumns"  )

Definition at line 1116 of file test_ASoA.cxx.

◆ TEST_CASE() [14/20]

TEST_CASE ( "TestMarkers"  )

Definition at line 74 of file test_ASoA.cxx.

◆ TEST_CASE() [15/20]

TEST_CASE ( "TestNestedFiltering"  )

Definition at line 636 of file test_ASoA.cxx.

◆ TEST_CASE() [16/20]

TEST_CASE ( "TestSchemaCreation"  )

Definition at line 554 of file test_ASoA.cxx.

◆ TEST_CASE() [17/20]

TEST_CASE ( "TestSelfIndexRecursion"  )

Definition at line 952 of file test_ASoA.cxx.

◆ TEST_CASE() [18/20]

TEST_CASE ( "TestSliceByCached"  )

Definition at line 1153 of file test_ASoA.cxx.

◆ TEST_CASE() [19/20]

TEST_CASE ( "TestSliceByCachedMismatched"  )

Definition at line 1188 of file test_ASoA.cxx.

◆ TEST_CASE() [20/20]

TEST_CASE ( "TestTableIteration"  )

Definition at line 92 of file test_ASoA.cxx.