Belle II Software development
TRGUtilities Class Reference

A class to provide TRG utility functions. More...

#include <Utilities.h>

Static Public Member Functions

static std::string itostring (int i)
 converts int to string. (Use boost::lexical_cast)
 
static std::string dtostring (double d, unsigned int precision)
 converts double to string.
 
static std::string carstring (const std::string &s)
 CERNLIB car.
 
static std::string cdrstring (const std::string &s)
 CERNLIB cdr.
 
static std::string dateString (void)
 returns date string.
 
static std::string dateStringF (void)
 returns date string for filename.
 
static void bitDisplay (unsigned)
 Dumps bit contents to cout.
 
static void bitDisplay (unsigned val, unsigned firstDigit, unsigned lastDigit)
 Dumps bit contents to cout.
 
static std::string streamDisplay (unsigned)
 Dumps bit stream in string.
 
static std::string streamDisplay (unsigned, unsigned firstDigit, unsigned lastDigit)
 Dumps bit stream in string.
 

Detailed Description

A class to provide TRG utility functions.

Definition at line 25 of file Utilities.h.


The documentation for this class was generated from the following files: