Skip to content

Commit

Permalink
update to latest rivet
Browse files Browse the repository at this point in the history
  • Loading branch information
ahinzmann committed Jul 10, 2019
1 parent f161b1b commit 2e975eb
Show file tree
Hide file tree
Showing 31 changed files with 32 additions and 30 deletions.
2 changes: 1 addition & 1 deletion FlatQCD-Herwig7-13000GeV_cfg_default.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@

def customise(process):
process.load('GeneratorInterface.RivetInterface.rivetAnalyzer_cfi')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_SMP_16_010','CMS_2016_I1459051')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_I1682495','CMS_2016_I1459051')
process.rivetAnalyzer.CrossSection = cms.double(1.0)
process.rivetAnalyzer.OutputFile = cms.string('H7-QCD-13TeV.yoda')
process.rivetAnalyzer.UseExternalWeight = cms.bool(True)
Expand Down
2 changes: 1 addition & 1 deletion FlatQCD-TuneCP5-Pythia8-13000GeV_cfg_A14-CR1.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@

def customise(process):
process.load('GeneratorInterface.RivetInterface.rivetAnalyzer_cfi')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_SMP_16_010','CMS_2016_I1459051')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_I1682495','CMS_2016_I1459051')
process.rivetAnalyzer.CrossSection = cms.double(1.0)
process.rivetAnalyzer.OutputFile = cms.string('QCD-13TeV.yoda')
process.rivetAnalyzer.UseExternalWeight = cms.bool(True)
Expand Down
2 changes: 1 addition & 1 deletion FlatQCD-TuneCP5-Pythia8-13000GeV_cfg_A14-CR2.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@

def customise(process):
process.load('GeneratorInterface.RivetInterface.rivetAnalyzer_cfi')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_SMP_16_010','CMS_2016_I1459051')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_I1682495','CMS_2016_I1459051')
process.rivetAnalyzer.CrossSection = cms.double(1.0)
process.rivetAnalyzer.OutputFile = cms.string('QCD-13TeV.yoda')
process.rivetAnalyzer.UseExternalWeight = cms.bool(True)
Expand Down
2 changes: 1 addition & 1 deletion FlatQCD-TuneCP5-Pythia8-13000GeV_cfg_A14.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@

def customise(process):
process.load('GeneratorInterface.RivetInterface.rivetAnalyzer_cfi')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_SMP_16_010','CMS_2016_I1459051')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_I1682495','CMS_2016_I1459051')
process.rivetAnalyzer.CrossSection = cms.double(1.0)
process.rivetAnalyzer.OutputFile = cms.string('QCD-13TeV.yoda')
process.rivetAnalyzer.UseExternalWeight = cms.bool(True)
Expand Down
2 changes: 1 addition & 1 deletion FlatQCD-TuneCP5-Pythia8-13000GeV_cfg_CP1.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@

def customise(process):
process.load('GeneratorInterface.RivetInterface.rivetAnalyzer_cfi')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_SMP_16_010','CMS_2016_I1459051')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_I1682495','CMS_2016_I1459051')
process.rivetAnalyzer.CrossSection = cms.double(1.0)
process.rivetAnalyzer.OutputFile = cms.string('QCD-13TeV.yoda')
process.rivetAnalyzer.UseExternalWeight = cms.bool(True)
Expand Down
2 changes: 1 addition & 1 deletion FlatQCD-TuneCP5-Pythia8-13000GeV_cfg_CP5-CR1.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@

def customise(process):
process.load('GeneratorInterface.RivetInterface.rivetAnalyzer_cfi')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_SMP_16_010','CMS_2016_I1459051')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_I1682495','CMS_2016_I1459051')
process.rivetAnalyzer.CrossSection = cms.double(1.0)
process.rivetAnalyzer.OutputFile = cms.string('QCD-13TeV.yoda')
process.rivetAnalyzer.UseExternalWeight = cms.bool(True)
Expand Down
2 changes: 1 addition & 1 deletion FlatQCD-TuneCP5-Pythia8-13000GeV_cfg_CP5-CR2o.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@

def customise(process):
process.load('GeneratorInterface.RivetInterface.rivetAnalyzer_cfi')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_SMP_16_010','CMS_2016_I1459051')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_I1682495','CMS_2016_I1459051')
process.rivetAnalyzer.CrossSection = cms.double(1.0)
process.rivetAnalyzer.OutputFile = cms.string('QCD-13TeV.yoda')
process.rivetAnalyzer.UseExternalWeight = cms.bool(True)
Expand Down
2 changes: 1 addition & 1 deletion FlatQCD-TuneCP5-Pythia8-13000GeV_cfg_CP5.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@

def customise(process):
process.load('GeneratorInterface.RivetInterface.rivetAnalyzer_cfi')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_SMP_16_010','CMS_2016_I1459051')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_I1682495','CMS_2016_I1459051')
process.rivetAnalyzer.CrossSection = cms.double(1.0)
process.rivetAnalyzer.OutputFile = cms.string('QCD-13TeV.yoda')
process.rivetAnalyzer.UseExternalWeight = cms.bool(True)
Expand Down
2 changes: 1 addition & 1 deletion FlatQCD-TuneCP5-Pythia8-13000GeV_cfg_CUETP8M1.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@

def customise(process):
process.load('GeneratorInterface.RivetInterface.rivetAnalyzer_cfi')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_SMP_16_010','CMS_2016_I1459051')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_I1682495','CMS_2016_I1459051')
process.rivetAnalyzer.CrossSection = cms.double(1.0)
process.rivetAnalyzer.OutputFile = cms.string('QCD-13TeV.yoda')
process.rivetAnalyzer.UseExternalWeight = cms.bool(True)
Expand Down
2 changes: 1 addition & 1 deletion FlatQCD-TuneCP5-Pythia8-13000GeV_cfg_FSR.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@

def customise(process):
process.load('GeneratorInterface.RivetInterface.rivetAnalyzer_cfi')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_SMP_16_010','CMS_2016_I1459051')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_I1682495','CMS_2016_I1459051')
process.rivetAnalyzer.CrossSection = cms.double(1.0)
process.rivetAnalyzer.OutputFile = cms.string('QCD-13TeV.yoda')
process.rivetAnalyzer.UseExternalWeight = cms.bool(True)
Expand Down
2 changes: 1 addition & 1 deletion FlatQCD-TuneCP5-Pythia8-13000GeV_cfg_FSRalphaS.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@

def customise(process):
process.load('GeneratorInterface.RivetInterface.rivetAnalyzer_cfi')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_SMP_16_010','CMS_2016_I1459051')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_I1682495','CMS_2016_I1459051')
process.rivetAnalyzer.CrossSection = cms.double(1.0)
process.rivetAnalyzer.OutputFile = cms.string('QCD-13TeV.yoda')
process.rivetAnalyzer.UseExternalWeight = cms.bool(True)
Expand Down
2 changes: 1 addition & 1 deletion FlatQCD-TuneCP5-Pythia8-13000GeV_cfg_FSRpTmin.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@

def customise(process):
process.load('GeneratorInterface.RivetInterface.rivetAnalyzer_cfi')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_SMP_16_010','CMS_2016_I1459051')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_I1682495','CMS_2016_I1459051')
process.rivetAnalyzer.CrossSection = cms.double(1.0)
process.rivetAnalyzer.OutputFile = cms.string('QCD-13TeV.yoda')
process.rivetAnalyzer.UseExternalWeight = cms.bool(True)
Expand Down
2 changes: 1 addition & 1 deletion FlatQCD-TuneCP5-Pythia8-13000GeV_cfg_ISRalphaS.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@

def customise(process):
process.load('GeneratorInterface.RivetInterface.rivetAnalyzer_cfi')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_SMP_16_010','CMS_2016_I1459051')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_I1682495','CMS_2016_I1459051')
process.rivetAnalyzer.CrossSection = cms.double(1.0)
process.rivetAnalyzer.OutputFile = cms.string('QCD-13TeV.yoda')
process.rivetAnalyzer.UseExternalWeight = cms.bool(True)
Expand Down
2 changes: 1 addition & 1 deletion TTbar-TuneCP5-Pythia8-13000GeV_cfg_A14-CR1.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@

def customise(process):
process.load('GeneratorInterface.RivetInterface.rivetAnalyzer_cfi')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2017_PAS_TOP_17_013')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_I1690148')
process.rivetAnalyzer.CrossSection = cms.double(1.0)
process.rivetAnalyzer.OutputFile = cms.string('TTbar-13TeV.yoda')
process.generation_step+=process.rivetAnalyzer
Expand Down
2 changes: 1 addition & 1 deletion TTbar-TuneCP5-Pythia8-13000GeV_cfg_A14-CR2.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@

def customise(process):
process.load('GeneratorInterface.RivetInterface.rivetAnalyzer_cfi')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2017_PAS_TOP_17_013')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_I1690148')
process.rivetAnalyzer.CrossSection = cms.double(1.0)
process.rivetAnalyzer.OutputFile = cms.string('TTbar-13TeV.yoda')
process.generation_step+=process.rivetAnalyzer
Expand Down
2 changes: 1 addition & 1 deletion TTbar-TuneCP5-Pythia8-13000GeV_cfg_A14.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@

def customise(process):
process.load('GeneratorInterface.RivetInterface.rivetAnalyzer_cfi')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2017_PAS_TOP_17_013')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_I1690148')
process.rivetAnalyzer.CrossSection = cms.double(1.0)
process.rivetAnalyzer.OutputFile = cms.string('TTbar-13TeV.yoda')
process.generation_step+=process.rivetAnalyzer
Expand Down
2 changes: 1 addition & 1 deletion TTbar-TuneCP5-Pythia8-13000GeV_cfg_AllCR0.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@

def customise(process):
process.load('GeneratorInterface.RivetInterface.rivetAnalyzer_cfi')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2017_PAS_TOP_17_013')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_I1690148')
process.rivetAnalyzer.CrossSection = cms.double(1.0)
process.rivetAnalyzer.OutputFile = cms.string('TTbar-13TeV.yoda')
process.generation_step+=process.rivetAnalyzer
Expand Down
2 changes: 1 addition & 1 deletion TTbar-TuneCP5-Pythia8-13000GeV_cfg_AllCR1.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@

def customise(process):
process.load('GeneratorInterface.RivetInterface.rivetAnalyzer_cfi')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2017_PAS_TOP_17_013')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_I1690148')
process.rivetAnalyzer.CrossSection = cms.double(1.0)
process.rivetAnalyzer.OutputFile = cms.string('TTbar-13TeV.yoda')
process.generation_step+=process.rivetAnalyzer
Expand Down
2 changes: 1 addition & 1 deletion TTbar-TuneCP5-Pythia8-13000GeV_cfg_CP1.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@

def customise(process):
process.load('GeneratorInterface.RivetInterface.rivetAnalyzer_cfi')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2017_PAS_TOP_17_013')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_I1690148')
process.rivetAnalyzer.CrossSection = cms.double(1.0)
process.rivetAnalyzer.OutputFile = cms.string('TTbar-13TeV.yoda')
process.generation_step+=process.rivetAnalyzer
Expand Down
2 changes: 1 addition & 1 deletion TTbar-TuneCP5-Pythia8-13000GeV_cfg_CP5-CR1.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@

def customise(process):
process.load('GeneratorInterface.RivetInterface.rivetAnalyzer_cfi')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2017_PAS_TOP_17_013')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_I1690148')
process.rivetAnalyzer.CrossSection = cms.double(1.0)
process.rivetAnalyzer.OutputFile = cms.string('TTbar-13TeV.yoda')
process.generation_step+=process.rivetAnalyzer
Expand Down
2 changes: 1 addition & 1 deletion TTbar-TuneCP5-Pythia8-13000GeV_cfg_CP5-CR2o.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@

def customise(process):
process.load('GeneratorInterface.RivetInterface.rivetAnalyzer_cfi')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2017_PAS_TOP_17_013')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_I1690148')
process.rivetAnalyzer.CrossSection = cms.double(1.0)
process.rivetAnalyzer.OutputFile = cms.string('TTbar-13TeV.yoda')
process.generation_step+=process.rivetAnalyzer
Expand Down
2 changes: 1 addition & 1 deletion TTbar-TuneCP5-Pythia8-13000GeV_cfg_CP5.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@

def customise(process):
process.load('GeneratorInterface.RivetInterface.rivetAnalyzer_cfi')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2017_PAS_TOP_17_013')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_I1690148')
process.rivetAnalyzer.CrossSection = cms.double(1.0)
process.rivetAnalyzer.OutputFile = cms.string('TTbar-13TeV.yoda')
process.generation_step+=process.rivetAnalyzer
Expand Down
2 changes: 1 addition & 1 deletion TTbar-TuneCP5-Pythia8-13000GeV_cfg_CUETP8M1.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@

def customise(process):
process.load('GeneratorInterface.RivetInterface.rivetAnalyzer_cfi')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2017_PAS_TOP_17_013')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_I1690148')
process.rivetAnalyzer.CrossSection = cms.double(1.0)
process.rivetAnalyzer.OutputFile = cms.string('TTbar-13TeV.yoda')
process.generation_step+=process.rivetAnalyzer
Expand Down
2 changes: 1 addition & 1 deletion TTbar-TuneCP5-Pythia8-13000GeV_cfg_ColorReconnection.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@

def customise(process):
process.load('GeneratorInterface.RivetInterface.rivetAnalyzer_cfi')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2017_PAS_TOP_17_013')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_I1690148')
process.rivetAnalyzer.CrossSection = cms.double(1.0)
process.rivetAnalyzer.OutputFile = cms.string('TTbar-13TeV.yoda')
process.generation_step+=process.rivetAnalyzer
Expand Down
2 changes: 1 addition & 1 deletion TTbar-TuneCP5-Pythia8-13000GeV_cfg_FSR.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@

def customise(process):
process.load('GeneratorInterface.RivetInterface.rivetAnalyzer_cfi')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2017_PAS_TOP_17_013')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_I1690148')
process.rivetAnalyzer.CrossSection = cms.double(1.0)
process.rivetAnalyzer.OutputFile = cms.string('TTbar-13TeV.yoda')
process.generation_step+=process.rivetAnalyzer
Expand Down
2 changes: 1 addition & 1 deletion TTbar-TuneCP5-Pythia8-13000GeV_cfg_FSRalphaS.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@

def customise(process):
process.load('GeneratorInterface.RivetInterface.rivetAnalyzer_cfi')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2017_PAS_TOP_17_013')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_I1690148')
process.rivetAnalyzer.CrossSection = cms.double(1.0)
process.rivetAnalyzer.OutputFile = cms.string('TTbar-13TeV.yoda')
process.generation_step+=process.rivetAnalyzer
Expand Down
2 changes: 1 addition & 1 deletion TTbar-TuneCP5-Pythia8-13000GeV_cfg_FSRpTmin.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@

def customise(process):
process.load('GeneratorInterface.RivetInterface.rivetAnalyzer_cfi')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2017_PAS_TOP_17_013')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_I1690148')
process.rivetAnalyzer.CrossSection = cms.double(1.0)
process.rivetAnalyzer.OutputFile = cms.string('TTbar-13TeV.yoda')
process.generation_step+=process.rivetAnalyzer
Expand Down
2 changes: 1 addition & 1 deletion TTbar-TuneCP5-Pythia8-13000GeV_cfg_ISRalphaS.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@

def customise(process):
process.load('GeneratorInterface.RivetInterface.rivetAnalyzer_cfi')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2017_PAS_TOP_17_013')
process.rivetAnalyzer.AnalysisNames = cms.vstring('CMS_2018_I1690148')
process.rivetAnalyzer.CrossSection = cms.double(1.0)
process.rivetAnalyzer.OutputFile = cms.string('TTbar-13TeV.yoda')
process.generation_step+=process.rivetAnalyzer
Expand Down
3 changes: 2 additions & 1 deletion analyse.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
#print "sed -i -e 's/2.5.2\"/2.5.2-njopjo\"/g' /afs/cern.ch/user/h/hinzmann/stable_13TeV/Rivet/CMSSW_9_2_6/config/toolbox/slc6_amd64_gcc530/tools/selected/rivet.xml"
#print "scram setup rivet"
print "ln -s ../GeneratorInterface/RivetInterface/data ref"
print "export RIVET_DATA_PATH=/afs/cern.ch/user/h/hinzmann/stable_13TeV/Rivet100/CMSSW_10_0_0/src/SubstructureProfessor/ref"

for tune,number in scenarios:
name=tune+version
print "prof-runcombs --mc mcruns_"+name+"/mc -c 0:1 -o runcombs_"+name+".dat --weights "+weights
Expand Down Expand Up @@ -63,7 +65,6 @@
print "prof-ipolhistos --datadir . --runs runcombs_A14-CR1.dat --mcdir mcruns_A14-CR1/mc --weights "+weights+" --ipol=linear --ipoldir=out_A14-CR1"+weights.replace("weights","")+"/ipol/ --outdir=out_A14-CR1"+weights.replace("weights","")+" --params=ColourReconnection:mode=1"
print "prof-ipolhistos --datadir . --runs runcombs_A14-CR2.dat --mcdir mcruns_A14-CR2/mc --weights "+weights+" --ipol=linear --ipoldir=out_A14-CR2"+weights.replace("weights","")+"/ipol/ --outdir=out_A14-CR2"+weights.replace("weights","")+" --params=ColourReconnection:mode=2"
print "prof-ipolhistos --datadir . --runs runcombs_default.dat --mcdir mcruns_default/mc --weights "+weights+" --ipol=linear --ipoldir=out_default"+weights.replace("weights","")+"/ipol/ --outdir=out_default"+weights.replace("weights","")+" --params=ColourReconnection:mode=0"
print "export RIVET_DATA_PATH=/afs/cern.ch/user/h/hinzmann/stable_13TeV/Rivet/CMSSW_9_2_6/src/Professor/ref"
print "python renormalize.py out_CP1"+weights.replace("weights","")+"/ipolhistos/000/histo-000.yoda"
print "python renormalize.py out_CP5"+weights.replace("weights","")+"/ipolhistos/000/histo-000.yoda"
print "python renormalize.py out_CP5-CR1"+weights.replace("weights","")+"/ipolhistos/000/histo-000.yoda"
Expand Down
2 changes: 1 addition & 1 deletion renormalize.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
for l in inf.readlines():
split=l.split(" ")
if "YODA_SCATTER2D" in l: correct=False
if "CMS_2018_SMP_16_010" in l: correct=True
if "CMS_2018_I1682495" in l: correct=True
if len(split)==6 and not "val" in l and correct:
#if "5.000000e-01 5.000000e-01 5.000000e-01" in l: continue
#if "3.000000e+00 2.000000e+00 2.000000e+00" in l: continue
Expand Down
1 change: 1 addition & 0 deletions submit_mcpoint_checkifexist_lxplus.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ def build(self):
infile += 'echo $pwd\n'
infile += 'cd '+cmsswbase+'/src\n'
infile += 'eval `scram runtime -sh`\n'
infile += 'source Rivet/rivetSetup.sh\n'
infile += 'cd '+fulldir+'\n'
infile += 'cmsRun ' + self._configfile + ' >& log_GEN_'+self._name+"_"+self._yodaout.strip(".yoda")+'.txt\n' #changed &> to >&
infile += 'ls\n'
Expand Down

0 comments on commit 2e975eb

Please sign in to comment.