@@ -2821,6 +2821,29 @@ def condition(self, fragment, stepList, key, hasHarvest):
28212821 offset = 0.9001 ,
28222822)
28232823
2824+ class UpgradeWorkflow_Phase2_HeavyIon (UpgradeWorkflow ):
2825+ def setup_ (self , step , stepName , stepDict , k , properties ):
2826+ stepDict [stepName ][k ] = merge ([{'--procModifiers' : 'phase2_pp_on_AA' }, stepDict [step ][k ]])
2827+ if 'GenSim' in step :
2828+ stepDict [stepName ][k ] = merge ([{'--conditions' : stepDict [step ][k ]["--conditions" ].replace ('_13TeV' ,'' ), '-n' : 1 }, stepDict [stepName ][k ]])
2829+ elif 'Digi' in step :
2830+ stepDict [stepName ][k ] = merge ([{'-s' : stepDict [step ][k ]["-s" ].replace ("DIGI:pdigi_valid" ,"DIGI:pdigi_hi" ), '--pileup' : 'HiMixNoPU' }, stepDict [stepName ][k ]])
2831+ def condition (self , fragment , stepList , key , hasHarvest ):
2832+ return fragment == 'HydjetQMinBias_5519GeV' and '2026' in key and 'PU' not in key
2833+
2834+ upgradeWFs ['Phase2_HeavyIon' ] = UpgradeWorkflow_Phase2_HeavyIon (
2835+ steps = [
2836+ 'GenSimHLBeamSpot' ,
2837+ 'DigiTrigger' ,
2838+ 'RecoGlobal' ,
2839+ 'HARVESTGlobal' ,
2840+ 'ALCAPhase2'
2841+ ],
2842+ PU = [],
2843+ suffix = '_hi' ,
2844+ offset = 0.85 ,
2845+ )
2846+
28242847# check for duplicates in offsets or suffixes
28252848offsets = [specialWF .offset for specialType ,specialWF in upgradeWFs .items ()]
28262849suffixes = [specialWF .suffix for specialType ,specialWF in upgradeWFs .items ()]
@@ -3370,5 +3393,6 @@ def __init__(self, howMuch, dataset):
33703393 ('LbToJpsiXiK0sPi_JMM_Filter_DGamma0_TuneCP5_13p6TeV-pythia8-evtgen_cfi' ,UpgradeFragment (Mby (50 ,500000 ),'LbToJpsiXiK0sPr_DGamma0_13p6TeV' )), #0.6%
33713394 ('OmegaMinus_13p6TeV_SoftQCDInel_TuneCP5_cfi' ,UpgradeFragment (Mby (100 ,1000000 ),'OmegaMinus_13p6TeV' )), #0.1%
33723395 ('Hydjet_Quenched_MinBias_5020GeV_cfi' , UpgradeFragment (U2000by1 ,'HydjetQMinBias_5020GeV' )),
3373- ('Hydjet_Quenched_MinBias_5362GeV_cfi' , UpgradeFragment (U2000by1 ,'HydjetQMinBias_5362GeV' ))
3396+ ('Hydjet_Quenched_MinBias_5362GeV_cfi' , UpgradeFragment (U2000by1 ,'HydjetQMinBias_5362GeV' )),
3397+ ('Hydjet_Quenched_MinBias_5519GeV_cfi' , UpgradeFragment (U2000by1 ,'HydjetQMinBias_5519GeV' )),
33743398])
0 commit comments