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

Public Member Functions

 LdExpTransformer (const std::string &name, ISvcLocator *svcLoc)
double operator() (double frac, int i) const

Detailed Description

Definition at line 398 of file MakeAndConsume.cpp.

Constructor & Destructor Documentation

◆ LdExpTransformer()

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

Definition at line 401 of file MakeAndConsume.cpp.

402 : ScalarTransformer(
403 name, svcLoc,
404 { { "InputFractions", "/Event/MyVectorOfFractions" }, { "InputIntegers", "/Event/MyVectorOfIntegers" } },
405 { "OutputDoubles", "/Event/MyNewVectorOfDoubles" } ) {}

Member Function Documentation

◆ operator()()

double Gaudi::TestSuite::LdExpTransformer::operator() ( double frac,
int i ) const
inline

Definition at line 409 of file MakeAndConsume.cpp.

409 {
410 double d = std::ldexp( frac, i );
411 info() << "Converting " << i << ", " << frac << " -> " << d << endmsg;
412 return d;
413 }
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: