The Gaudi Framework  v41r0 (bdbe7744)
Loading...
Searching...
No Matches
Gaudi::TestSuite::IntFloatToFloatData Struct Referencefinal
Inheritance diagram for Gaudi::TestSuite::IntFloatToFloatData:
Collaboration diagram for Gaudi::TestSuite::IntFloatToFloatData:

Public Member Functions

 IntFloatToFloatData (const std::string &name, ISvcLocator *svcLoc)
float operator() (const int &in1, const float &in2) const override

Detailed Description

Definition at line 198 of file MakeAndConsume.cpp.

Constructor & Destructor Documentation

◆ IntFloatToFloatData()

Gaudi::TestSuite::IntFloatToFloatData::IntFloatToFloatData ( const std::string & name,
ISvcLocator * svcLoc )
inline

Definition at line 200 of file MakeAndConsume.cpp.

201 : Transformer( name, svcLoc, { { "InputLocation", "/Event/MyInt" }, { "OtherInput", "/Event/MyOtherFloat" } },
202 { "OutputLocation", "/Event/OtherFloat" } ) {}
details::Transformer< Signature, Traits_, details::isLegacy< Traits_ > > Transformer

Member Function Documentation

◆ operator()()

float Gaudi::TestSuite::IntFloatToFloatData::operator() ( const int & in1,
const float & in2 ) const
inlineoverride

Definition at line 204 of file MakeAndConsume.cpp.

204 {
205 info() << "Converting: " << in1 << " from " << inputLocation<int>() << " and " << in2 << " from "
206 << inputLocation<float>() << " and storing it into " << outputLocation() << endmsg;
207 return in1 + in2;
208 }
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition MsgStream.h:198

The documentation for this struct was generated from the following file: