pdscalibdata/include/GlobalMethods.h File Reference

#include <string>
#include <fstream>
#include <iomanip>
#include <sstream>
#include <iostream>
#include <stdexcept>
#include <typeinfo>
#include <stdint.h>
#include "MsgLogger/MsgLogger.h"

Go to the source code of this file.

Namespaces

namespace  pdscalibdata

Classes

class  pdscalibdata::GlobalMethods

Enumerations

enum  pdscalibdata::DATA_TYPE {
  pdscalibdata::FLOAT, pdscalibdata::DOUBLE, pdscalibdata::SHORT, pdscalibdata::UNSIGNED,
  pdscalibdata::INT, pdscalibdata::INT16, pdscalibdata::INT32, pdscalibdata::UINT,
  pdscalibdata::UINT8, pdscalibdata::UINT16, pdscalibdata::UINT32, pdscalibdata::NONIMPL
}

Functions

std::string pdscalibdata::stringFromUint (unsigned number, unsigned width=6, char fillchar='0')
void pdscalibdata::printSizeOfTypes ()
float pdscalibdata::findCommonMode (const double *pars, const int16_t *sdata, const float *peddata, const uint16_t *pixStatus, unsigned ssize, int stride=1)
std::string pdscalibdata::strTimeStamp (const std::string &format=std::string("%Y-%m-%d %H:%M:%S"))
std::string pdscalibdata::strEnvVar (const std::string &str=std::string("LOGNAME"))
template<typename T>
std::string pdscalibdata::strOfDataTypeAndSize ()
DATA_TYPE pdscalibdata::enumDataTypeForString (std::string str_type)
std::string pdscalibdata::strDataTypeForEnum (DATA_TYPE enum_type)
template<typename T>
DATA_TYPE pdscalibdata::enumDataType ()
template<typename T>
std::string pdscalibdata::strDataType ()
template<typename T>
void pdscalibdata::load_pars_from_file (const std::string &fname, const std::string &comment, const size_t size, T *pars, const unsigned check_bits=255)
 Load parameters from file.

Variables

static const int pdscalibdata::UnknownCM = -10000


Generated on 19 Dec 2016 for PSANAmodules by  doxygen 1.4.7