The Gaudi Framework  v36r6 (b1ee9983)
Gaudi::Examples::LdExpTransformer Struct Referencefinal
Inheritance diagram for Gaudi::Examples::LdExpTransformer:
Collaboration diagram for Gaudi::Examples::LdExpTransformer:

Public Member Functions

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

Detailed Description

Definition at line 339 of file MakeAndConsume.cpp.

Constructor & Destructor Documentation

◆ LdExpTransformer()

Gaudi::Examples::LdExpTransformer::LdExpTransformer ( const std::string name,
ISvcLocator svcLoc 
)
inline

Definition at line 342 of file MakeAndConsume.cpp.

343  : ScalarTransformer( name, svcLoc,
344  { KeyValue{ "InputFractions", { "/Event/MyVectorOfFractions" } },
345  KeyValue{ "InputIntegers", { "/Event/MyVectorOfIntegers" } } },
346  { KeyValue{ "OutputDoubles", { "/Event/MyNewVectorOfDoubles" } } } ) {}

Member Function Documentation

◆ operator()()

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

Definition at line 350 of file MakeAndConsume.cpp.

350  {
351  double d = std::ldexp( frac, i );
352  info() << "Converting " << i << ", " << frac << " -> " << d << endmsg;
353  return d;
354  }

The documentation for this struct was generated from the following file:
TimingHistograms.name
name
Definition: TimingHistograms.py:25
endmsg
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:203
std::ldexp
T ldexp(T... args)