def METHOD_NAME(dg, st,det,overwrite=False):
    """
    run daq_to_raw on the current DataGroup
    """
    dg.load_df("HADES_DF.h5")
    qu = 'detSN=="' + det + '" & runtype == "' + st +'"' 
    keys = dg.fileDB.query(qu)
    keys.reset_index(inplace=True)
    daq_path  = dg.daq_dir
    sub_dir   = keys['daq_subdir'][0]
    daq_files = keys['daq_file']
    for b in daq_files:
       f_daq    = daq_path + '/' + sub_dir + '/' + b
       raw_file = f_daq.replace('tier0','tier1').replace('.fcio','_tier1.lh5').replace('/char_data-I','/pygama/char_data-I')
       daq_to_raw(f_daq, raw_file, config=dg.config['runDB'])