/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Functions
RootIO Namespace Reference

Functions

std::string branchname (const std::string tespath)

Function Documentation

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;
    }
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:58:18 for RootIOSvc by doxygen 1.7.4