#include "Algorithms/Vektor.h"
#include "Algorithms/Quaternion.h"
#include <string>
#include <cstring>
#include <sstream>
#include <type_traits>
#include <functional>
Go to the source code of this file.
|
std::string | Util::getGitRevision () |
|
double | Util::erfinv (double x) |
|
double | Util::getGamma (Vector_t p) |
|
double | Util::getEnergy (Vector_t p, double mass) |
|
double | Util::getP (double E, double mass) |
|
std::string | Util::getTimeString (double time, unsigned int precision=3) |
|
std::string | Util::getLengthString (double spos, unsigned int precision=3) |
|
std::string | Util::getLengthString (Vector_t spos, unsigned int precision=3) |
|
std::string | Util::getEnergyString (double energyInMeV, unsigned int precision=3) |
|
std::string | Util::getChargeString (double charge, unsigned int precision=3) |
|
Vector_t | Util::getTaitBryantAngles (Quaternion rotation, const std::string &elementName) |
|
std::string | Util::toUpper (const std::string &str) |
|
template<typename T > |
std::string | Util::toStringWithThousandSep (T value, char sep= '\'') |
|
unsigned int | Util::rewindLinesSDDS (const std::string &fileName, double maxSPos, bool checkForTime) |
| rewind the SDDS file such that the spos of the last step is less or equal to maxSPos More...
|
|
std::string | Util::base64_encode (const std::string &string_to_encode) |
|
std::string | Util::base64_decode (std::string const &encoded_string) |
|
#define __FILENAME__ (strrchr(__FILE__, '/') ? strrchr(__FILE__, '/') + 1 : __FILE__) |