@@ -997,6 +997,68 @@ def condition(self, fragment, stepList, key, hasHarvest):
997997upgradeWFs ['CPfromPU' ].step3 = {'--procModifiers' : 'enableCPfromPU' }
998998upgradeWFs ['CPfromPU' ].step4 = {'--procModifiers' : 'enableCPfromPU' }
999999
1000+ class UpgradeWorkflow_ticl_barrel (UpgradeWorkflow ):
1001+ def setup_ (self , step , stepName , stepDict , k , properties ):
1002+ if ('Digi' in step and 'NoHLT' not in step ) or ('HLTOnly' in step ):
1003+ stepDict [stepName ][k ] = merge ([self .step2 , stepDict [step ][k ]])
1004+ if 'RecoGlobal' in step :
1005+ stepDict [stepName ][k ] = merge ([self .step3 , stepDict [step ][k ]])
1006+ if 'HARVESTGlobal' in step :
1007+ stepDict [stepName ][k ] = merge ([self .step4 , stepDict [step ][k ]])
1008+ def condition (self , fragment , stepList , key , hasHarvest ):
1009+ return ('CloseByPGun_Barrel' ) in fragment and ('Run4' in key )
1010+
1011+ upgradeWFs ['ticl_barrel' ] = UpgradeWorkflow_ticl_barrel (
1012+ steps = [
1013+ 'HLTOnly' ,
1014+ 'DigiTrigger' ,
1015+ 'RecoGlobal' ,
1016+ 'HARVESTGlobal'
1017+ ],
1018+ PU = [
1019+ 'HLTOnly' ,
1020+ 'DigiTrigger' ,
1021+ 'RecoGlobal' ,
1022+ 'HARVESTGlobal'
1023+ ],
1024+ suffix = '_ticl_barrel' ,
1025+ offset = 0.209 ,
1026+ )
1027+ upgradeWFs ['ticl_barrel' ].step2 = {'--procModifiers' : 'ticl_barrel' }
1028+ upgradeWFs ['ticl_barrel' ].step3 = {'--procModifiers' : 'ticl_barrel' }
1029+ upgradeWFs ['ticl_barrel' ].step4 = {'--procModifiers' : 'ticl_barrel' }
1030+
1031+ class UpgradeWorkflow_ticl_barrel_CPfromPU (UpgradeWorkflow ):
1032+ def setup_ (self , step , stepName , stepDict , k , properties ):
1033+ if ('Digi' in step and 'NoHLT' not in step ) or ('HLTOnly' in step ):
1034+ stepDict [stepName ][k ] = merge ([self .step2 , stepDict [step ][k ]])
1035+ if 'RecoGlobal' in step :
1036+ stepDict [stepName ][k ] = merge ([self .step3 , stepDict [step ][k ]])
1037+ if 'HARVESTGlobal' in step :
1038+ stepDict [stepName ][k ] = merge ([self .step4 , stepDict [step ][k ]])
1039+ def condition (self , fragment , stepList , key , hasHarvest ):
1040+ return ('CloseByPGun_Barrel' ) in fragment and ('Run4' in key ) and ('PU' in key )
1041+
1042+ upgradeWFs ['ticl_barrel_CPfromPU' ] = UpgradeWorkflow_ticl_barrel_CPfromPU (
1043+ steps = [
1044+ 'HLTOnly' ,
1045+ 'DigiTrigger' ,
1046+ 'RecoGlobal' ,
1047+ 'HARVESTGlobal'
1048+ ],
1049+ PU = [
1050+ 'HLTOnly' ,
1051+ 'DigiTrigger' ,
1052+ 'RecoGlobal' ,
1053+ 'HARVESTGlobal'
1054+ ],
1055+ suffix = '_ticl_barrel_CPfromPU' ,
1056+ offset = 0.2091 ,
1057+ )
1058+ upgradeWFs ['ticl_barrel_CPfromPU' ].step2 = {'--procModifiers' : 'ticl_barrel,enableCPfromPU' }
1059+ upgradeWFs ['ticl_barrel_CPfromPU' ].step3 = {'--procModifiers' : 'ticl_barrel,enableCPfromPU' }
1060+ upgradeWFs ['ticl_barrel_CPfromPU' ].step4 = {'--procModifiers' : 'ticl_barrel,enableCPfromPU' }
1061+
10001062# L3 Tracker Muon Outside-In reconstruction first
10011063class UpgradeWorkflow_phase2L3MuonsOIFirst (UpgradeWorkflow ):
10021064 def setup_ (self , step , stepName , stepDict , k , properties ):
@@ -1923,6 +1985,19 @@ def condition(self, fragment, stepList, key, hasHarvest):
19231985 '-s' :'HARVESTING:@hltValidation'
19241986}
19251987
1988+ upgradeWFs ['HLTTiming75e33TiclBarrel' ] = deepcopy (upgradeWFs ['HLTTiming75e33' ])
1989+ upgradeWFs ['HLTTiming75e33TiclBarrel' ].suffix = '_HLT75e33TimingTiclBarrel'
1990+ upgradeWFs ['HLTTiming75e33TiclBarrel' ].offset = 0.758
1991+ upgradeWFs ['HLTTiming75e33TiclBarrel' ].step2 = {
1992+ '-s' : 'DIGI:pdigi_valid,L1TrackTrigger,L1,L1P2GT,DIGI2RAW,HLT:75e33_timing,VALIDATION:@hltValidation' ,
1993+ '--procModifiers' : 'ticl_barrel' ,
1994+ '--datatier' :'GEN-SIM-DIGI-RAW,DQMIO' ,
1995+ '--eventcontent' :'FEVTDEBUGHLT,DQMIO'
1996+ }
1997+ upgradeWFs ['HLTTiming75e33TiclBarrel' ].step3 = {
1998+ '-s' :'HARVESTING:@hltValidation'
1999+ }
2000+
19262001class UpgradeWorkflow_HLTPhase2_WithNano (UpgradeWorkflow ):
19272002 def setup_ (self , step , stepName , stepDict , k , properties ):
19282003 # skip RECO, ALCA and HLT
@@ -3804,4 +3879,5 @@ def __init__(self, howMuch, dataset):
38043879 ('Hydjet_Quenched_MinBias_5362GeV_cfi' , UpgradeFragment (U2000by1 ,'HydjetQMinBias_5362GeV' )),
38053880 ('Hydjet_Quenched_MinBias_5519GeV_cfi' , UpgradeFragment (U2000by1 ,'HydjetQMinBias_5519GeV' )),
38063881 ('SingleMuPt15Eta0_0p4_cfi' , UpgradeFragment (Kby (9 ,100 ),'SingleMuPt15Eta0p_0p4' )),
3882+ ('CloseByPGun_Barrel_Front_cfi' , UpgradeFragment (Kby (9 ,100 ),'CloseByPGun_Barrel_Front' )),
38073883])
0 commit comments