<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def write_root(histogram: HistogramBase, hfile: uproot.write.TFile.TFileUpdate, name: str):
 """Write histogram to an open ROOT file. Parameters histogram : Any histogram hfile : Updateable uproot file object name : The name of the histogram inside the file """

    hfile[name] = histogram