1#ifndef __JROOT_PRIMITIVE_TYPES__
2#define __JROOT_PRIMITIVE_TYPES__
9namespace JPP {
using namespace JROOT; }
26 {
"unsigned char",
"b"},
28 {
"unsigned short",
"s"},
29 {
"unsigned int",
"i"},
38 {
"unsigned long",
"g"},
40 std::string type_code;
41 for (
const auto& type2code : type_codes) {
42 if (type2code.first == type_name) {
43 type_code = type2code.second;
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary classes and methods for ROOT I/O.
static std::string getTypeCode(const std::string &type_name)
Return the type code (used to create primitive leaves in basic Root tree branches) corresponding to t...