7RootAddress::RootAddress(
unsigned char svc,
const CLID& clid,
const std::string path,
const std::string treename,
const std::string branchname,
int entry)
8 : GenericAddress(svc, clid, path,
"", 0, 0)
11 m_branchname = branchname;
12 int s=branchname.size();
14 if (branchname.size()) {
16 while (where!=std::string::npos) {
18 where=branchname.find(
":",pos);
23 m_treename = treename;
28 std::cout <<
"RootAddress: path "<<m_path<<
", treename "<<m_treename <<
" branchname "<<m_branchname<<
" entry "<<m_entrynr<<std::endl;
36 where=m_branchname.find(
":",pos);
39 if (where==std::string::npos) where=m_branchname.size();
41 return m_branchname.substr(pos,where-pos);
std::string getBranchname(int i) const