Skip to content

Commit 63c7b16

Browse files
committed
fix bad rebase
1 parent ffbc222 commit 63c7b16

1 file changed

Lines changed: 2 additions & 43 deletions

File tree

  • Framework/Core/include/Framework

Framework/Core/include/Framework/ASoA.h

Lines changed: 2 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -3335,7 +3335,6 @@ consteval auto getIndexTargets()
33353335
//
33363336
// The columns of this table have to be CCDB_COLUMNS so that for each timestamp, we get a row
33373337
// which points to the specified CCDB objectes described by those columns.
3338-
<<<<<<< HEAD
33393338
#define DECLARE_SOA_TIMESTAMPED_TABLE_FULL(_Name_, _Label_, _TimestampSource_, _TimestampColumn_, _UniformitySource_, _UniformityColumn_, _Version_, _Desc_, ...) \
33403339
O2HASH(_Desc_ "/" #_Version_); \
33413340
template <typename O> \
@@ -3350,10 +3349,10 @@ consteval auto getIndexTargets()
33503349
template <typename O = o2::aod::Hash<"AOD" \
33513350
""_h>> \
33523351
using extension_table_t = _Name_##TimestampFrom<O>; \
3353-
static constexpr const auto ccdb_urls = []<typename... Cs>(framework::pack<Cs...>) { \
3352+
static constexpr const auto ccdb_urls = []<typename... Cs>(framework::pack<Cs...>) consteval { \
33543353
return std::array<std::string_view, sizeof...(Cs)>{Cs::query...}; \
33553354
}(framework::pack<__VA_ARGS__>{}); \
3356-
static constexpr const auto ccdb_bindings = []<typename... Cs>(framework::pack<Cs...>) { \
3355+
static constexpr const auto ccdb_bindings = []<typename... Cs>(framework::pack<Cs...>) consteval { \
33573356
return std::array<std::string_view, sizeof...(Cs)>{Cs::mLabel...}; \
33583357
}(framework::pack<__VA_ARGS__>{}); \
33593358
/* The uniformity column may live in a table other than the timestamp source (the run */ \
@@ -3384,46 +3383,6 @@ consteval auto getIndexTargets()
33843383
using _Name_##From = o2::soa::Join<_TimestampSource_, _Name_##TimestampFrom<O>>; \
33853384
using _Name_ = _Name_##From<o2::aod::Hash< \
33863385
"AOD" \
3387-
=======
3388-
#define DECLARE_SOA_TIMESTAMPED_TABLE_FULL(_Name_, _Label_, _TimestampSource_, _TimestampColumn_, _Version_, _Desc_, ...) \
3389-
O2HASH(_Desc_ "/" #_Version_); \
3390-
template <typename O> \
3391-
using _Name_##TimestampFrom = soa::Table<o2::aod::Hash<_Label_ ""_h>, o2::aod::Hash<_Desc_ "/" #_Version_ ""_h>, O>; \
3392-
using _Name_##Timestamp = _Name_##TimestampFrom<o2::aod::Hash< \
3393-
"AOD" \
3394-
""_h>>; \
3395-
struct _Name_##TimestampMetadata : TableMetadata<o2::aod::Hash<_Desc_ "/" #_Version_ ""_h>, __VA_ARGS__> { \
3396-
template <typename O = o2::aod::Hash<"AOD" \
3397-
""_h>> \
3398-
using base_table_t = _TimestampSource_##From<O>; \
3399-
template <typename O = o2::aod::Hash<"AOD" \
3400-
""_h>> \
3401-
using extension_table_t = _Name_##TimestampFrom<O>; \
3402-
static constexpr const auto ccdb_urls = []<typename... Cs>(framework::pack<Cs...>) consteval { \
3403-
return std::array<std::string_view, sizeof...(Cs)>{Cs::query...}; \
3404-
}(framework::pack<__VA_ARGS__>{}); \
3405-
static constexpr const auto ccdb_bindings = []<typename... Cs>(framework::pack<Cs...>) consteval { \
3406-
return std::array<std::string_view, sizeof...(Cs)>{Cs::mLabel...}; \
3407-
}(framework::pack<__VA_ARGS__>{}); \
3408-
static constexpr auto N = _TimestampSource_::originals.size(); \
3409-
template <o2::aod::is_origin_hash O = o2::aod::Hash<"AOD"_h>> \
3410-
static consteval auto generateSources() \
3411-
{ \
3412-
return _TimestampSource_##From<O>::originals; \
3413-
} \
3414-
static constexpr auto timestamp_column_label = _TimestampColumn_::mLabel; \
3415-
/*static constexpr auto timestampColumn = _TimestampColumn_;*/ \
3416-
}; \
3417-
template <> \
3418-
struct MetadataTrait<o2::aod::Hash<_Desc_ "/" #_Version_ ""_h>> { \
3419-
static constexpr void isMetadataTrait() {}; \
3420-
using metadata = _Name_##TimestampMetadata; \
3421-
}; \
3422-
template <typename O> \
3423-
using _Name_##From = o2::soa::Join<_TimestampSource_, _Name_##TimestampFrom<O>>; \
3424-
using _Name_ = _Name_##From<o2::aod::Hash< \
3425-
"AOD" \
3426-
>>>>>>> e3a4b50a1b (DPL Analysis: explicitly mark lambdas as constexpr/consteval)
34273386
""_h>>;
34283387

34293388
/* Uniformity defaults to the timestamp column of the timestamp source: each distinct

0 commit comments

Comments
 (0)