/search.css" rel="stylesheet" type="text/css"/> /search.js">
Functions | |
std::string | branchname (const std::string tespath) |
std::string RootIO::branchname | ( | const std::string | tespath | ) |
Definition at line 18 of file RootIOAddress.cc.
{ // Catch root-level data objects if(tespath.rfind("/") == 0) return tespath.substr(1); // Initialize with string just after "/Event/" std::string bn = tespath.substr(std::string("/Event/").size()); for (std::string::size_type ind = 0; ind < bn.size(); ++ind) { if (bn[ind] == '/') bn[ind] = '_'; } return bn; }