@@ -1774,6 +1774,7 @@ def setup_(self, step, stepName, stepDict, k, properties):
17741774 stepDict [stepName ][k ] = merge ([stepDict [step ][k ]])
17751775 def condition (self , fragment , stepList , key , hasHarvest ):
17761776 return fragment == "TTbar_14TeV" and 'Run4' in key
1777+
17771778upgradeWFs ['HLTTiming75e33' ] = UpgradeWorkflow_HLT75e33Timing (
17781779 steps = [
17791780 'Reco' ,
@@ -1794,7 +1795,7 @@ def condition(self, fragment, stepList, key, hasHarvest):
17941795 'DigiTrigger' ,
17951796 'ALCA' ,
17961797 'ALCAPhase2' ,
1797- 'HARVESTGlobal'
1798+ 'HARVESTGlobal' ,
17981799 'RecoGlobalFakeHLT' ,
17991800 'HLT75e33' ,
18001801 'HARVESTGlobal' ,
@@ -1920,6 +1921,61 @@ def condition(self, fragment, stepList, key, hasHarvest):
19201921 '-s' :'HARVESTING:@hltValidation'
19211922}
19221923
1924+ class UpgradeWorkflow_HLTPhase2_WithNano (UpgradeWorkflow ):
1925+ def setup_ (self , step , stepName , stepDict , k , properties ):
1926+ # skip RECO, ALCA and HLT
1927+ if ('ALCA' in step ) or ('Reco' in step ) or ('HLT' in step ) or ('HARVEST' in step ):
1928+ stepDict [stepName ][k ] = None
1929+ elif 'DigiTrigger' in step :
1930+ stepDict [stepName ][k ] = merge ([self .step2 , stepDict [step ][k ]])
1931+ else :
1932+ stepDict [stepName ][k ] = merge ([stepDict [step ][k ]])
1933+ def condition (self , fragment , stepList , key , hasHarvest ):
1934+ return fragment == "TTbar_14TeV" and 'Run4' in key
1935+
1936+ upgradeWFs ['HLTPhaseWithNano' ] = UpgradeWorkflow_HLTPhase2_WithNano (
1937+ steps = [
1938+ 'Reco' ,
1939+ 'RecoGlobal' ,
1940+ 'RecoNano' ,
1941+ 'DigiTrigger' ,
1942+ 'ALCA' ,
1943+ 'ALCAPhase2' ,
1944+ 'RecoGlobalFakeHLT' ,
1945+ 'HLT75e33' ,
1946+ 'HARVESTGlobal' ,
1947+ 'HARVESTGlobalFakeHLT' ,
1948+ ],
1949+ PU = [
1950+ 'Reco' ,
1951+ 'RecoGlobal' ,
1952+ 'RecoNano' ,
1953+ 'DigiTrigger' ,
1954+ 'ALCA' ,
1955+ 'ALCAPhase2' ,
1956+ 'RecoGlobalFakeHLT' ,
1957+ 'HLT75e33' ,
1958+ 'HARVESTGlobal' ,
1959+ 'HARVESTGlobalFakeHLT' ,
1960+ ],
1961+ suffix = '_HLTPhaseWithNano' ,
1962+ offset = 0.759 ,
1963+ )
1964+ upgradeWFs ['HLTPhaseWithNano' ].step2 = {
1965+ '-s' :'DIGI:pdigi_valid,L1TrackTrigger,L1,L1P2GT,DIGI2RAW,HLT:75e33,NANO:@Phase2HLT' ,
1966+ '--datatier' :'GEN-SIM-DIGI-RAW,NANOAODSIM' ,
1967+ '--eventcontent' :'FEVTDEBUGHLT,NANOAODSIM'
1968+ }
1969+
1970+ upgradeWFs ['NGTScoutingWithNano' ] = deepcopy (upgradeWFs ['HLTPhaseWithNano' ])
1971+ upgradeWFs ['NGTScoutingWithNano' ].suffix = '_NGTScoutingWithNano'
1972+ upgradeWFs ['NGTScoutingWithNano' ].offset = 0.771
1973+ upgradeWFs ['NGTScoutingWithNano' ].step2 = {
1974+ '-s' :'DIGI:pdigi_valid,L1TrackTrigger,L1,L1P2GT,DIGI2RAW,HLT:NGTScouting,NANO:@NGTScouting' ,
1975+ '--datatier' :'GEN-SIM-DIGI-RAW,NANOAODSIM' ,
1976+ '--eventcontent' :'FEVTDEBUGHLT,NANOAODSIM'
1977+ }
1978+
19231979class UpgradeWorkflow_HLTwDIGI75e33 (UpgradeWorkflow ):
19241980 def setup_ (self , step , stepName , stepDict , k , properties ):
19251981 if 'DigiTrigger' in step :
0 commit comments