Skip to content

Commit 55d8357

Browse files
authored
DPL Analysis: Staged declaration macro (AliceO2Group#13624)
1 parent 293cffb commit 55d8357

File tree

1 file changed

+7
-0
lines changed
  • Framework/Core/include/Framework

1 file changed

+7
-0
lines changed

Framework/Core/include/Framework/ASoA.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2763,6 +2763,13 @@ DECLARE_SOA_ITERATOR_METADATA();
27632763
#define DECLARE_SOA_TABLE_VERSIONED(_Name_, _Origin_, _Description_, _Version_, ...) \
27642764
DECLARE_SOA_TABLE_FULL_VERSIONED(_Name_, #_Name_, _Origin_, _Description_, _Version_, __VA_ARGS__);
27652765

2766+
#define DECLARE_SOA_TABLE_STAGED_VERSIONED(_BaseName_, _Description_, _Version_, ...) \
2767+
DECLARE_SOA_TABLE_FULL_VERSIONED(_BaseName_, #_BaseName_, "AOD", _Description_, _Version_, __VA_ARGS__); \
2768+
DECLARE_SOA_TABLE_FULL_VERSIONED(Stored##_BaseName_, "Stored" #_BaseName_, "AOD1", _Description_, _Version_, __VA_ARGS__, soa::Marker<1>);
2769+
2770+
#define DECLARE_SOA_TABLE_STAGED(_BaseName_, _Description_, ...) \
2771+
DECLARE_SOA_TABLE_STAGED_VERSIONED(_BaseName_, _Description_, 0, __VA_ARGS__);
2772+
27662773
#define DECLARE_SOA_EXTENDED_TABLE_FULL(_Name_, _Table_, _Origin_, _Description_, ...) \
27672774
template <o2::framework::OriginEnc ORIGIN = o2::framework::OriginEnc{_Origin_}> \
27682775
struct _Name_##ExtensionFrom : o2::soa::Table<ORIGIN, __VA_ARGS__> { \

0 commit comments

Comments
 (0)