| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

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.

00019     {
00020         // Catch root-level data objects
00021         if(tespath.rfind("/") == 0)
00022             return tespath.substr(1);
00023         // Initialize with string just after "/Event/"
00024         std::string bn = tespath.substr(std::string("/Event/").size());
00025         for (std::string::size_type ind = 0; ind < bn.size(); ++ind) {
00026             if (bn[ind] == '/') bn[ind] = '_';
00027         }
00028         return bn;
00029     }

| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:18:22 2011 for RootIOSvc by doxygen 1.4.7