@@ -32,44 +32,44 @@ template <TableRef R>
3232constexpr auto tableRef2InputSpec ()
3333{
3434 return framework::InputSpec{
35- o2::aod::Hash<R. label_hash >::str ,
36- o2::aod::Hash<R. origin_hash >::origin ,
37- o2::aod::description (o2::aod::Hash<R. desc_hash >::str ),
35+ o2::aod::label<R>() ,
36+ o2::aod::origin<R>() ,
37+ o2::aod::description (o2::aod::signature<R>() ),
3838 R.version };
3939}
4040
4141template <TableRef R>
4242constexpr auto tableRef2OutputSpec ()
4343{
4444 return framework::OutputSpec{
45- framework::OutputLabel{o2::aod::Hash<R. label_hash >::str },
46- o2::aod::Hash<R. origin_hash >::origin ,
47- o2::aod::description (o2::aod::Hash<R. desc_hash >::str ),
45+ framework::OutputLabel{o2::aod::label<R>() },
46+ o2::aod::origin<R>() ,
47+ o2::aod::description (o2::aod::signature<R>() ),
4848 R.version };
4949}
5050
5151template <TableRef R>
5252constexpr auto tableRef2Output ()
5353{
5454 return framework::Output{
55- o2::aod::Hash<R. origin_hash >::origin ,
56- o2::aod::description (o2::aod::Hash<R. desc_hash >::str ),
55+ o2::aod::origin<R>() ,
56+ o2::aod::description (o2::aod::signature<R>() ),
5757 R.version };
5858}
5959
6060template <TableRef R>
6161constexpr auto tableRef2OutputRef ()
6262{
6363 return framework::OutputRef{
64- o2::aod::Hash<R. label_hash >::str ,
64+ o2::aod::label<R>() ,
6565 R.version };
6666}
6767
6868template <TableRef R>
6969constexpr auto tableRef2ConfigParamSpec ()
7070{
7171 return o2::framework::ConfigParamSpec{
72- std::string{" input:" } + o2::aod::Hash<R. label_hash >::str ,
72+ std::string{" input:" } + o2::aod::label<R>() ,
7373 framework::VariantType::String,
7474 aod::sourceSpec<R>(),
7575 {" \"\" " }};
@@ -163,12 +163,12 @@ struct OutputForTable {
163163
164164 static OutputSpec const spec ()
165165 {
166- return OutputSpec{OutputLabel{o2:: aod::Hash <T::ref. label_hash >::str }, o2::aod::Hash <T::ref. origin_hash >::origin , o2::aod::description (o2::aod::Hash <T::ref. desc_hash >::str ), T::ref.version };
166+ return OutputSpec{OutputLabel{aod::label <T::ref>() }, o2::aod::origin <T::ref>() , o2::aod::description (o2::aod::signature <T::ref>() ), T::ref.version };
167167 }
168168
169169 static OutputRef ref ()
170170 {
171- return OutputRef{o2:: aod::Hash <T::ref. label_hash >::str , T::ref.version };
171+ return OutputRef{aod::label <T::ref>() , T::ref.version };
172172 }
173173};
174174
@@ -440,7 +440,7 @@ struct Builds : decltype(transformBase<T>()) {
440440 template <typename Key, typename ... Cs>
441441 auto build (framework::pack<Cs...>, std::vector<std::shared_ptr<arrow::Table>>&& tables)
442442 {
443- this ->table = std::make_shared<T>(IP::template indexBuilder<Key, metadata::sources.size (), metadata::sources>(o2::aod::Hash <T::ref. label_hash >::str , std::forward<std::vector<std::shared_ptr<arrow::Table>>>(tables), framework::pack<Cs...>{}));
443+ this ->table = std::make_shared<T>(IP::template indexBuilder<Key, metadata::sources.size (), metadata::sources>(o2::aod::label <T::ref>() , std::forward<std::vector<std::shared_ptr<arrow::Table>>>(tables), framework::pack<Cs...>{}));
444444 return (this ->table != nullptr );
445445 }
446446};
0 commit comments