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

Public Member Functions

 FrExpTransformer (const std::string &name, ISvcLocator *svcLoc)
std::tuple< double, int > operator() (const double &d) const

Detailed Description

Definition at line 354 of file MakeAndConsume.cpp.

Constructor & Destructor Documentation

◆ FrExpTransformer()

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

Definition at line 358 of file MakeAndConsume.cpp.

359 : MultiScalarTransformer( name, svcLoc, { "InputDoubles", "/Event/MyVectorOfDoubles" },
360 { { "OutputFractions", "/Event/MyVectorOfFractions" },
361 { "OutputIntegers", "/Event/MyVectorOfIntegers" } } ) {}

Member Function Documentation

◆ operator()()

std::tuple< double, int > Gaudi::TestSuite::FrExpTransformer::operator() ( const double & d) const
inline

Definition at line 365 of file MakeAndConsume.cpp.

365 {
366 int i;
367 double frac = std::frexp( d, &i );
368 info() << "Converting " << d << " -> " << frac << ", " << i << endmsg;
369 return { frac, i };
370 }
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: