FACT++  1.0
int FitsLoader::SetOFStreamPrecisionPlease ( const Event evt)
private

Set the ofstream precision.

Set the precision of the ofstream. So that an appropriate number of significant digits are outputted.

Parameters
evtthe event transporting the precision

Definition at line 146 of file fitsloader.cc.

References fStreamPrecision, EventImp::GetInt(), MessageImp::Message(), and str.

Referenced by FitsLoader().

147 {
148  fStreamPrecision = evt.GetInt();
149  ostringstream str;
150  str << "ofstream precision is now " << fStreamPrecision;
151  Message(str);
152  return 0;
153 }
char str[80]
Definition: test_client.c:7
int32_t GetInt() const
Definition: EventImp.h:93
int fStreamPrecision
Precision of the ofstream. Used to output a given number of significant digits for floats or doubles...
Definition: fitsloader.cc:78
int Message(const std::string &str)
Definition: MessageImp.h:46

+ Here is the call graph for this function:

+ Here is the caller graph for this function: