f METHOD_NAME(self, name):
  """C++ code for accessing the product inside the full framework"""
  alias = self._tree.GetAlias(name)
  if alias != '': name = alias
  tmpBranch = self._tree.GetBranch(name)
  typeString = ROOT.branchToClass(tmpBranch).GetName()
  if "edm::Wrapper" in typeString:
      typeString = typeString.replace("<edm::Wrapper","")
      typeString = typeString.rstrip(">")
  nameParts = name.split("_")
  if nameParts[2] == "":
      METHOD_NAME = 'edm::Handle<%s > dummy;\nevent.getByLabel("%s", dummy);'\
                %(typeString, nameParts[1])
  else:
      METHOD_NAME = 'edm::Handle<%s > dummy;\nevent.getByLabel("%s", "%s", dummy);'\
                %(typeString, nameParts[1], nameParts[2])
  return METHOD_NAME