Пример #1
0
    def make_psana_cfg_file_for_data_scan (self) :
        self.path_in  = apputils.AppDataPath('CorAna/scripts/psana-data-scan.cfg').path()
        self.path_out = fnm.path_data_scan_psana_cfg()
        self.d_subs   = {'SKIP'                              : 'IS_NOT_USED',
                         'EVENTS'                            : 'FOR_ALL_EVENTS',
                         'FNAME_TIMESTAMP_LIST'              : fnm.path_data_scan_tstamp_list(),
                         'FNAME_INTENSITY_MONITORS_DATA'     : fnm.path_data_scan_monitors_data(),
                         'FNAME_INTENSITY_MONITORS_COMMENTS' : fnm.path_data_scan_monitors_commments()
                         }

        self.print_substitution_dict()
        self.make_cfg_file()
Пример #2
0
    def make_psana_cfg_file_for_data_scan (self) :
        self.path_in  = apputils.AppDataPath('CorAna/scripts/psana-data-scan.cfg').path()
        self.path_out = fnm.path_data_scan_psana_cfg()
        self.d_subs   = {'FNAME_XTC'                         : fnm.path_data_xtc_cond(),
                         'SKIP'                              : 'IS_NOT_USED',
                         'EVENTS'                            : 'FOR_ALL_EVENTS',
                         'FNAME_TIMESTAMP_LIST'              : fnm.path_data_scan_tstamp_list(),
                         'FNAME_INTENSITY_MONITORS_DATA'     : fnm.path_data_scan_monitors_data(),
                         'FNAME_INTENSITY_MONITORS_COMMENTS' : fnm.path_data_scan_monitors_commments()
                         }

        self.print_substitution_dict()
        self.make_cfg_file()