1 #ifndef SPLITTING_TRANSFORMER_H 2 #define SPLITTING_TRANSFORMER_H 14 template <
typename Container>
16 template <
typename Container>
21 template <
typename Signature,
typename Traits_,
bool isLegacy>
25 template <
typename Out,
typename... In,
typename Traits_>
32 using KeyValue =
typename base_class::KeyValue;
39 this, outputs.first, outputs.
second,
40 [=](
Gaudi::Details::PropertyBase& ) {
43 if constexpr ( details::is_optional_v<Out> ) {
46 std::for_each( this->m_outputs.begin(), this->m_outputs.end(),
47 [](
auto& h ) { h.setOptional(
true ); } );
55 static_assert(
N == 1,
"single input argument requires single input signature" );
66 auto out = details::filter_evtcontext_t<In...>::apply( *
this, this->m_inputs );
67 if ( out.size() != m_outputs.size() ) {
87 using OutputHandle = details::OutputHandle_t<Traits_, details::remove_optional_t<T>>;
93 template <
typename Out,
typename... In,
typename Traits_>
107 this, outputs.first, outputs.
second,
108 [=](
Gaudi::Details::PropertyBase& ) {
111 if constexpr ( details::is_optional_v<Out> ) {
114 std::for_each( this->m_outputs.begin(), this->m_outputs.end(),
115 [](
auto& h ) { h.setOptional(
true ); } );
123 static_assert(
N == 1,
"single input argument requires single input signature" );
134 auto out = details::filter_evtcontext_t<In...>::apply( *
this,
ctx, this->m_inputs );
135 if ( out.size() != m_outputs.size() ) {
154 template <
typename T>
155 using OutputHandle = details::OutputHandle_t<Traits_, details::remove_optional_t<T>>;
163 template <
typename Signature,
typename Traits_ = Traits::useDefaults>
Out1 * put(const DataObjectHandle< Out1 > &out_handle, Out2 &&out)
Define general base for Gaudi exception.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Implementation of property with value of concrete type.
Gaudi::tagged_bool< class ImmediatelyInvokeHandler_tag > ImmediatelyInvokeHandler
virtual const std::string & message() const
error message to be printed
constexpr static const auto SUCCESS
This class represents an entry point to all the event specific data.
This class is used for returning status codes from appropriate routines.
details::template vector_of_const_< Container > vector_of_
virtual const StatusCode & code() const
StatusCode for Exception.
struct GAUDI_API array
Parametrisation class for redirection array - like implementation.
constexpr static const auto FAILURE
Handles make_vector_of_handles(IDataHandleHolder *owner, const std::vector< std::string > &init)
Header file for std:chrono::duration-based Counters.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.