Commit 4643716a authored by mcjo's avatar mcjo
Browse files

add 376934-68, rename 406380-418


git-svn-id: svn+ssh://svn.cern.ch/reps/atlasoff/Generators/MC15JobOptions/trunk@814931 4525493e-7705-40b1-a816-d608a930855b
parent 26614c64
2018-07-27 Evelina Bouhova-Thacker <e.bouhova@cern.ch>
* tagging MC15JobOptions-00-10-63
* add 376934-68, rename 406380-418
* update MadGraphControl_schan_NLO_Pythia8_A14.py
2018-07-26 Josh McFayden <mcfayden@cern.ch>
* tagging MC15JobOptions-00-10-62
* new gridpacks in csv for AGENE-1444
......
......@@ -5,7 +5,7 @@ import subprocess
import os
# General settings
nevents=5000
nevents=5500
runName='schan'
runMode=2 # 0 = single machine, 1 = cluster, 2 = multicore
cluster_queue='8nh' #8nm 1nh 8nh 1nd 2nd 1nw 2nw (m = minute, d = day, w = week)
......@@ -19,7 +19,7 @@ process="p p > t b"
##necessary gridpack settings
gridpack_mode=True
gridpack_dir='madevent/'
gridpack_dir='madevent/'
stringy = 'madgraph.'+str(runArgs.runNumber)+'.MadGraph_'+str(runName)
......@@ -34,7 +34,7 @@ fcard.close()
beamEnergy=-999
if hasattr(runArgs,'ecmEnergy'):
beamEnergy = runArgs.ecmEnergy / 2.
else:
else:
raise RuntimeError("No center of mass energy found.")
......@@ -64,7 +64,7 @@ run_card_extras = {
runArgs.inputGeneratorFile=runName+'._00001.events.tar.gz'
build_run_card(run_card_old=get_default_runcard(proc_dir=process_dir),
run_card_new='run_card.dat',
run_card_new='run_card.dat',
nevts=nevents,
rand_seed=runArgs.randomSeed,
beamEnergy=beamEnergy,
......@@ -91,85 +91,85 @@ for line in fileinput.input(paramNameDestination, inplace=1):
toKeep = False
if toKeep:
print line,
fParamCard = open('param_card.dat','a') #append
fParamCard = open('param_card.dat','a') #append
fParamCard.write('''
#*************************
# Decay widths *
#*************************
#
# PDG Width
DECAY 1 0.000000e+00
#
# PDG Width
DECAY 2 0.000000e+00
#
# PDG Width
DECAY 3 0.000000e+00
#
# PDG Width
DECAY 4 0.000000e+00
#
# PDG Width
DECAY 5 0.000000e+00
#
# PDG Width
DECAY 6 1.320000e+00
# BR NDA ID1 ID2 ...
1.000000e+00 2 5 24 # 1.32
DECAY -6 1.320000e+00
# BR NDA ID1 ID2 ...
1.000000e+00 2 -5 -24 # 1.32
#
# PDG Width
DECAY 11 0.000000e+00
#
# PDG Width
DECAY 12 0.000000e+00
#
# PDG Width
DECAY 13 0.000000e+00
#
# PDG Width
DECAY 14 0.000000e+00
#
# PDG Width
DECAY 15 0.000000e+00
#
# PDG Width
DECAY 16 0.000000e+00
#
# PDG Width
DECAY 21 0.000000e+00
#
# PDG Width
DECAY 22 0.000000e+00
#
# PDG Width
DECAY 23 2.495200e+00
#
# PDG Width
DECAY -24 2.085000e+00
# BR NDA ID1 ID2 ...
3.3370000e-01 2 1 -2
3.337000e-01 2 3 -4
1.082000e-01 2 11 -12
1.082000e-01 2 13 -14
1.082000e-01 2 15 -16
DECAY 24 2.085000e+00
# BR NDA ID1 ID2 ...
3.337000e-01 2 -1 2
3.337000e-01 2 -3 4
1.082000e-01 2 -11 12
1.082000e-01 2 -13 14
1.082000e-01 2 -15 16
#
#
# PDG Width
DECAY 25 6.382339e-03
#
# PDG Width
DECAY 82 0.000000e+00
#*************************
# Decay widths *
#*************************
#
# PDG Width
DECAY 1 0.000000e+00
#
# PDG Width
DECAY 2 0.000000e+00
#
# PDG Width
DECAY 3 0.000000e+00
#
# PDG Width
DECAY 4 0.000000e+00
#
# PDG Width
DECAY 5 0.000000e+00
#
# PDG Width
DECAY 6 1.320000e+00
# BR NDA ID1 ID2 ...
1.000000e+00 2 5 24 # 1.32
DECAY -6 1.320000e+00
# BR NDA ID1 ID2 ...
1.000000e+00 2 -5 -24 # 1.32
#
# PDG Width
DECAY 11 0.000000e+00
#
# PDG Width
DECAY 12 0.000000e+00
#
# PDG Width
DECAY 13 0.000000e+00
#
# PDG Width
DECAY 14 0.000000e+00
#
# PDG Width
DECAY 15 0.000000e+00
#
# PDG Width
DECAY 16 0.000000e+00
#
# PDG Width
DECAY 21 0.000000e+00
#
# PDG Width
DECAY 22 0.000000e+00
#
# PDG Width
DECAY 23 2.495200e+00
#
# PDG Width
DECAY -24 2.085000e+00
# BR NDA ID1 ID2 ...
3.3370000e-01 2 1 -2
3.337000e-01 2 3 -4
1.082000e-01 2 11 -12
1.082000e-01 2 13 -14
1.082000e-01 2 15 -16
DECAY 24 2.085000e+00
# BR NDA ID1 ID2 ...
3.337000e-01 2 -1 2
3.337000e-01 2 -3 4
1.082000e-01 2 -11 12
1.082000e-01 2 -13 14
1.082000e-01 2 -15 16
#
#
# PDG Width
DECAY 25 6.382339e-03
#
# PDG Width
DECAY 82 0.000000e+00
''')
fParamCard.close()
......@@ -178,14 +178,14 @@ madspin_card_loc='madspin_card.dat'
if not hasattr(runArgs, 'inputGenConfFile'):
fMadSpinCard = open('madspin_card.dat','w')
fMadSpinCard.write('import Events/'+runName+'/events.lhe.gz\n')
fMadSpinCard.write('set ms_dir MadSpin\n')
else:
os.unlink(gridpack_dir+'Cards/madspin_card.dat')
fMadSpinCard = open(gridpack_dir+'Cards/madspin_card.dat','w')
fMadSpinCard.write('import '+gridpack_dir+'Events/'+runName+'/events.lhe.gz\n')
fMadSpinCard.write('set ms_dir '+gridpack_dir+'MadSpin\n')
fMadSpinCard.write('set seed '+str(10000000+int(runArgs.randomSeed))+'\n')
fMadSpinCard.write('import Events/'+runName+'/events.lhe.gz\n')
fMadSpinCard.write('set ms_dir MadSpin\n')
else:
os.unlink(gridpack_dir+'Cards/madspin_card.dat')
fMadSpinCard = open(gridpack_dir+'Cards/madspin_card.dat','w')
fMadSpinCard.write('import '+gridpack_dir+'Events/'+runName+'/events.lhe.gz\n')
fMadSpinCard.write('set ms_dir '+gridpack_dir+'MadSpin\n')
fMadSpinCard.write('set seed '+str(10000000+int(runArgs.randomSeed))+'\n')
fMadSpinCard.write('''set Nevents_for_max_weigth 250 # number of events for the estimate of the max. weight (default: 75)
set max_weight_ps_point 1000 # number of PS to estimate the maximum for each event (default: 400)
decay t > w+ b, w+ > e+ ve
......@@ -195,12 +195,12 @@ decay t~ > w- b~, w- > mu- vm~
decay t > w+ b, w+ > ta+ vt
decay t~ > w- b~, w- > ta- vt~
launch''')
fMadSpinCard.close()
fMadSpinCard.close()
print_cards() #prints the cards in the output (terminal)
cluster_size=100
#generate events with MG+MS
#generate events with MG+MS
generate(run_card_loc='run_card.dat',
param_card_loc='param_card.dat',
mode=runMode,
......
include('MC15JobOptions/MadGraphControl_SimplifiedModel_SS_direct.py')
include('MC15JobOptions/MadGraphControl_SimplifiedModel_SS_direct.py')
include('MC15JobOptions/MadGraphControl_SimplifiedModel_SS_direct.py')
include('MC15JobOptions/MadGraphControl_SimplifiedModel_SS_direct.py')
include('MC15JobOptions/MadGraphControl_SimplifiedModel_SS_direct.py')
include('MC15JobOptions/MadGraphControl_SimplifiedModel_SS_direct.py')
include('MC15JobOptions/MadGraphControl_SimplifiedModel_SS_direct.py')
include('MC15JobOptions/MadGraphControl_SimplifiedModel_SS_direct.py')
include('MC15JobOptions/MadGraphControl_SimplifiedModel_SS_direct.py')
include('MC15JobOptions/MadGraphControl_SimplifiedModel_SS_direct.py')
include('MC15JobOptions/MadGraphControl_SimplifiedModel_SS_direct.py')
include('MC15JobOptions/MadGraphControl_SimplifiedModel_SS_direct.py')
include('MC15JobOptions/MadGraphControl_SimplifiedModel_SS_direct.py')
include('MC15JobOptions/MadGraphControl_SimplifiedModel_SS_direct.py')
include('MC15JobOptions/MadGraphControl_SimplifiedModel_SS_direct.py')
include('MC15JobOptions/MadGraphControl_SimplifiedModel_SS_direct.py')
include('MC15JobOptions/MadGraphControl_SimplifiedModel_SS_direct.py')
include('MC15JobOptions/MadGraphControl_SimplifiedModel_SS_direct.py')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment