26const char*
getTableName(
const char* branchName,
const char* treeName)
33 static TString tableName;
34 tableName = branchName;
35 if (tableName.BeginsWith(
"fIndexArray") || tableName.BeginsWith(
"fIndexSlice")) {
36 tableName.Remove(0, 11);
38 tableName.Remove(0, 6);
40 if (tableName.First(
"_") >= 0) {
41 tableName.Remove(tableName.First(
"_"));
43 if (tableName.Length() == 0) {
46 tableName.Remove(tableName.Length() - 1);
48 tableName =
"O2" + tableName;