Skip to content

Commit fae14b8

Browse files
authored
Add Origin table (#7913)
1 parent 40e390e commit fae14b8

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

Framework/Core/include/Framework/AnalysisDataModel.h

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,12 +735,22 @@ namespace soa
735735
{
736736
extern template struct Join<aod::TransientCascades, aod::StoredCascades>;
737737
}
738+
738739
namespace aod
739740
{
740-
741741
using Cascades = soa::Join<TransientCascades, StoredCascades>;
742742
using Cascade = Cascades::iterator;
743743

744+
namespace origin
745+
{
746+
DECLARE_SOA_COLUMN(DataframeID, dataframeID, uint64_t); //! Data frame ID (what is usually found in directory name in the AO2D.root, i.e. DF_XXX)
747+
} // namespace origin
748+
749+
DECLARE_SOA_TABLE(Origins, "AOD", "ORIGIN", //! Table which contains the IDs of all dataframes merged into this dataframe
750+
o2::soa::Index<>, origin::DataframeID);
751+
752+
using Origin = Origins::iterator;
753+
744754
// ---- Run 2 tables ----
745755
namespace run2
746756
{

0 commit comments

Comments
 (0)