Particle Identification and Tracking
Namespaces | Constant Groups | Functions | Variables
enum_utils.cpp File Reference
#include <string>
#include <sstream>
#include <stdexcept>
#include "enum_utils.h"
+ Include dependency graph for enum_utils.cpp:

Namespaces

 utilities
 Namespace for utilities and helper functions.
 

Constant Groups

 utilities
 Namespace for utilities and helper functions.
 

Functions

std::string utilities::DT2str_s (D_TYPE in)
 Helper functions to convert D_TYPEs in to short name strings. More...
 
D_TYPE utilities::str2DT_s (std::string in)
 Helper functions to convert short name strings in to D_TYPEs. More...
 
V_TYPE utilities::v_type (D_TYPE in)
 Helper function to map between D_TYPE and V_TYPE. More...
 
std::string utilities::format_dset_name (D_TYPE type, int comp_num)
 Helper function to format dset names with computation numbers attached. More...
 
std::string utilities::format_name (const std::string &name,int comp_num)
 Helper function to format computation numbers on to strings. More...
 
V_TYPE utilities::str2VT_s (const std::string &type_str)
 Helper function to make string in to V_TYPE. More...
 
V_TYPE utilities::str2VT_s (const char *const in)
 Helper function to make string in to V_TYPE. More...
 
std::string utilities::VT2str_s (V_TYPE)
 Helper function to make v_types to strings. More...
 

Variables

const int utilities::format_padding_ = 7