parameters: (self, cfg, comp, outdir)
docstring: cfg must contain:
          - fname: file name 
          - option: TFile options, e.g. recreate
          
          outdir is the output directory for the TFile
  
          comp is a dummy parameter here.  
          It is needed because the looper creates services and analyzers 
          in the same way, providing the configuration (cfg), 
          the component currently processed (comp), 
          and the output directory. 
  
          Other implementations of the TFileService could 
          make use of the component information, eg. the component name.
docstring_summary: cfg must contain:
          - fname: file name 
          - option: TFile options, e.g. recreate
          
          outdir is the output directory for the TFile
docstring_tokens: cfg must contain : - fname : file name - option : TFile options e . g . recreate outdir is the output directory for the TFile
function: def __init__(self, cfg, comp, outdir):
          """
          cfg must contain:
          - fname: file name 
          - option: TFile options, e.g. recreate
          
          outdir is the output directory for the TFile
  
          comp is a dummy parameter here.  
          It is needed because the looper creates services and analyzers 
          in the same way, providing the configuration (cfg), 
          the component currently processed (comp), 
          and the output directory. 
  
          Other implementations of the TFileService could 
          make use of the component information, eg. the component name. 
          """
          fname = '/'.join([outdir, cfg.fname])
          self.file = TFile(fname, cfg.option)
function_tokens: def __init__ ( self , cfg , comp , outdir ) : fname = '/' . join ( [ outdir , cfg . fname ] ) self . file = TFile ( fname , cfg . option )