Definition at line 20 of file merging_transformer.cpp.
◆ is2ff_merger()
is2ff_merger::is2ff_merger |
( |
std::string const & | name, |
|
|
ISvcLocator * | pSvcLocator ) |
|
inline |
Definition at line 21 of file merging_transformer.cpp.
22 :
is2ff_merger_base( name, pSvcLocator, {
"InputInts", {
"firstInt",
"secondInt" } },
23 { KeyValue{ "O1", "firstFloat" }, KeyValue{ "O2", "secondFloat" } } ) {}
◆ operator()()
out_t is2ff_merger::operator() |
( |
ints const & | is | ) |
const |
|
inlineoverride |
Definition at line 25 of file merging_transformer.cpp.
25 {
26 float f1 = 1, f2 = 1;
27
28 for ( auto i : is ) {
29 info() << "i: " << i << " ";
30 f1 *= i;
31 f2 *= 1.f / i;
32 }
34 return { f1, f2 };
35 }
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
The documentation for this struct was generated from the following file: