The Gaudi Framework  master (37c0b60a)
is2ff_merger Struct Reference
Inheritance diagram for is2ff_merger:
Collaboration diagram for is2ff_merger:

Public Member Functions

 is2ff_merger (std::string const &name, ISvcLocator *pSvcLocator)
 
out_t operator() (ints const &is) const override
 

Detailed Description

Definition at line 20 of file merging_transformer.cpp.

Constructor & Destructor Documentation

◆ 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" } } ) {}

Member Function Documentation

◆ 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  }
33  info() << endmsg;
34  return { f1, f2 };
35  }

The documentation for this struct was generated from the following file:
endmsg
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:202
is2ff_merger_base
Gaudi::Functional::MergingMultiTransformer< out_t(ints const &)> is2ff_merger_base
Definition: merging_transformer.cpp:16
ConditionsStallTest.name
name
Definition: ConditionsStallTest.py:77