makeBeamBeamFileConfig = ConfigInfo['makeBeamBeamFileConfig'] print "Running makeBeamBeamFile with config info:" for key in makeBeamBeamFileConfig: print key, makeBeamBeamFileConfig[key] print "" makeBeamBeamFileConfig['AnalysisDir'] = AnalysisDir makeBeamBeamFileConfig['Fill'] = Fill makeBeamBeamFileConfig['Luminometer'] = Luminometer OutputDir = AnalysisDir +'/'+makeBeamBeamFileConfig['OutputSubDir'] table = {} csvtable = [] table, csvtable = doMakeBeamBeamFile(makeBeamBeamFileConfig) csvfile = open(OutputDir+'/BeamBeam_' + Luminometer + '_' + str(Fill)+'.csv', 'wb') writer = csv.writer(csvfile) writer.writerows(csvtable) csvfile.close() with open(OutputDir+'/BeamBeam_'+ Luminometer + '_' +str(Fill)+'.pkl', 'wb') as f: pickle.dump(table, f) if makeGhostsFile == True: makeGhostsFileConfig = ConfigInfo['makeGhostsFileConfig'] print "Running makeGhostsFile with config info:"
makeBeamBeamFileConfig = ConfigInfo['makeBeamBeamFileConfig'] print "Running makeBeamBeamFile with config info:" for key in makeBeamBeamFileCOnfig: print key, makeBeamBeamFileConfig[key] print "" makeBeamBeamFileConfig['AnalysisDir'] = AnalysisDir makeBemBeamFielConfig['Fill'] = Fill makeBeamBeamFileConfig['Luminometer'] = Luminometer OutputDir = AnalysisDir +'/'+ConfigInfo["OutputSubDir"] table = {} csvtable = [] table, csvtable = doMakeBeamBeamFile(ConfigInfo) csvfile = open(OutputDir+'/BeamBeam_' + Luminometer + '_' + str(Fill)+'.csv', 'wb') writer = csv.writer(csvfile) writer.writerows(csvtable) csvfile.close() with open(OutputDir+'/BeamBeam_'+ Luminometer + '_' +str(Fill)+'.pkl', 'wb') as f: pickle.dump(table, f) if makeGhostsFile == True: makeGhostsFileConfig = ConfigInfo['makeGhostsFileConfig']
makeBeamBeamFileConfig = ConfigInfo['makeBeamBeamFileConfig'] print "Running makeBeamBeamFile with config info:" for key in makeBeamBeamFileConfig: print key, makeBeamBeamFileConfig[key] print "" makeBeamBeamFileConfig['AnalysisDir'] = AnalysisDir makeBeamBeamFileConfig['Fill'] = Fill makeBeamBeamFileConfig['Luminometer'] = Luminometer OutputDir = AnalysisDir + '/' + makeBeamBeamFileConfig['OutputSubDir'] table = {} csvtable = [] table, csvtable = doMakeBeamBeamFile(makeBeamBeamFileConfig) csvfile = open( OutputDir + '/BeamBeam_' + Luminometer + '_' + str(Fill) + '.csv', 'wb') writer = csv.writer(csvfile) writer.writerows(csvtable) csvfile.close() with open( OutputDir + '/BeamBeam_' + Luminometer + '_' + str(Fill) + '.pkl', 'wb') as f: pickle.dump(table, f) if makeGhostsFile == True:
makeBeamBeamFileConfig = ConfigInfo['makeBeamBeamFileConfig'] print "Running makeBeamBeamFile with config info:" for key in makeBeamBeamFileCOnfig: print key, makeBeamBeamFileConfig[key] print "" makeBeamBeamFileConfig['AnalysisDir'] = AnalysisDir makeBemBeamFielConfig['Fill'] = Fill makeBeamBeamFileConfig['Luminometer'] = Luminometer OutputDir = AnalysisDir + '/' + ConfigInfo["OutputSubDir"] table = {} csvtable = [] table, csvtable = doMakeBeamBeamFile(ConfigInfo) csvfile = open( OutputDir + '/BeamBeam_' + Luminometer + '_' + str(Fill) + '.csv', 'wb') writer = csv.writer(csvfile) writer.writerows(csvtable) csvfile.close() with open( OutputDir + '/BeamBeam_' + Luminometer + '_' + str(Fill) + '.pkl', 'wb') as f: pickle.dump(table, f) if makeGhostsFile == True: