The Gaudi Framework  master (594c33fa)
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 169 of file MakeAndConsume.cpp.

Constructor & Destructor Documentation

◆ IntFloatToFloatData()

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

Definition at line 171 of file MakeAndConsume.cpp.

172  : Transformer( name, svcLoc,
173  { KeyValue( "InputLocation", "/Event/MyInt" ), KeyValue{ "OtherInput", "/Event/MyOtherFloat" } },
174  KeyValue( "OutputLocation", "/Event/OtherFloat" ) ) {}

Member Function Documentation

◆ operator()()

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

Definition at line 176 of file MakeAndConsume.cpp.

176  {
177  info() << "Converting: " << in1 << " from " << inputLocation<int>() << " and " << in2 << " from "
178  << inputLocation<float>() << " and storing it into " << outputLocation() << endmsg;
179  return in1 + in2;
180  }

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:203
ConditionsStallTest.name
name
Definition: ConditionsStallTest.py:77
Gaudi ::Functional::Transformer
details::Transformer< Signature, Traits_, details::isLegacy< Traits_ > > Transformer
Definition: Transformer.h:237