コード例 #1
0
    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:"
コード例 #2
0
ファイル: vdmDriver.py プロジェクト: casarsa/VdMFramework
    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']
コード例 #3
0
ファイル: vdmDriverII.py プロジェクト: oturkot/VdMFramework
    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:
コード例 #4
0
    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: