1 from copy
import copy, deepcopy
2 from collections
import OrderedDict
3 from .MatrixUtil
import merge, Kby, Mby
75 numWFConflict = [[14400,14800],
84 for year
in upgradeKeys:
85 for i
in range(0,len(upgradeKeys[year])):
86 numWFtmp = numWFStart[year]
if i==0
else (numWFAll[year][i-1] + numWFSkip)
87 for conflict
in numWFConflict:
88 if numWFtmp>=conflict[0]
and numWFtmp<conflict[1]:
89 numWFtmp = conflict[1]
91 numWFAll[year].
append(numWFtmp)
98 preventReuseKeyword =
'NOREUSE' 107 if not step
in self.
steps:
114 raise ValueError(
"Special workflow offset must be between 0.0 and 1.0")
116 stepName = step + self.
suffix + extra
119 stepNamePU = step +
'PU' + self.
suffix + extra
122 for step
in self.
steps:
128 def setup(self, stepDict, k, properties):
129 for step
in self.
steps:
136 def setup_(self, step, stepName, stepDict, k, properties):
138 def setupPU_(self, step, stepName, stepDict, k, properties):
140 def workflow(self, workflows, num, fragment, stepList, key, hasHarvest):
141 if self.condition(fragment, stepList, key, hasHarvest):
142 self.workflow_(workflows, num, fragment, stepList, key)
143 def workflow_(self, workflows, num, fragment, stepList, key):
144 fragmentTmp = [fragment, key]
146 workflows[num+self.
offset] = [ fragmentTmp, stepList ]
147 def condition(self, fragment, stepList, key, hasHarvest):
150 if "Sim" in stepName:
151 stepDict[stepName][k] =
None 152 if "Gen" in stepName:
153 stepDict[stepName][k] =
None 154 upgradeWFs = OrderedDict()
157 def setup_(self, step, stepName, stepDict, k, properties):
158 cust=properties.get(
'Custom',
None)
159 era=properties.get(
'Era',
None)
160 modifier=properties.get(
'ProcessModifier',
None)
161 if cust
is not None: stepDict[stepName][k][
'--customise']=cust
163 stepDict[stepName][k][
'--era']=era
164 if modifier
is not None: stepDict[stepName][k][
'--procModifier']=modifier
165 def condition(self, fragment, stepList, key, hasHarvest):
172 'GenSimHLBeamSpot14',
173 'GenSimHLBeamSpotHGCALCloseBy',
186 'HARVESTNanoFakeHLT',
210 'HARVESTNanoFakeHLT',
224 def setup_(self, step, stepName, stepDict, k, properties):
225 if stepDict[step][k] !=
None:
227 stepDict[stepName][k] =
None 228 if 'RecoNano' in step:
229 stepDict[stepName][k] =
merge([{
'--filein':
'file:step3.root',
'--secondfilein':
'file:step2.root'}, stepDict[step][k]])
231 stepDict[stepName][k] =
merge([{
'-s': re.sub(
',HLT.*',
'', stepDict[step][k][
'-s'])}, stepDict[step][k]])
232 def condition(self, fragment, stepList, key, hasHarvest):
233 if (
'TTbar_14TeV' in fragment
and '2021' == key):
234 stepList.insert(stepList.index(
'Digi_DigiNoHLT_2021')+1,
'HLTRun3_2021')
235 return (
'TTbar_14TeV' in fragment
and '2021' == key)
244 suffix =
'_DigiNoHLT',
253 steps = steps + [
"ALCA",
"Nano"]
254 super().
__init__(steps, PU, suffix, offset)
255 def condition(self, fragment, stepList, key, hasHarvest):
256 result = (fragment==
"TTbar_13" or fragment==
"TTbar_14TeV" or 'Hydjet' in fragment)
and not 'PU' in key
and hasHarvest
and self.
condition_(fragment, stepList, key, hasHarvest)
260 def setup_(self, step, stepName, stepDict, k, properties):
262 if 'ALCA' in step
or 'Nano'==step:
263 stepDict[stepName][k] =
None 264 self.
setup__(step, stepName, stepDict, k, properties)
266 def setup__(self, step, stepName, stepDict, k, properties):
269 class UpgradeWorkflow_trackingOnly(UpgradeWorkflowTracking):
270 def setup__(self, step, stepName, stepDict, k, properties):
271 if 'Reco' in step: stepDict[stepName][k] =
merge([self.
step3, stepDict[step][k]])
272 elif 'HARVEST' in step: stepDict[stepName][k] =
merge([{
'-s':
'HARVESTING:@trackingOnlyValidation+@trackingOnlyDQM'}, stepDict[step][k]])
274 def condition(self, fragment, stepList, key, hasHarvest):
275 result = (fragment==
"TTbar_13" or fragment==
"TTbar_14TeV")
and hasHarvest
and self.
condition_(fragment, stepList, key, hasHarvest)
291 'HARVESTNanoFakeHLT',
303 'HARVESTNanoFakeHLT',
307 suffix =
'_trackingOnly',
310 upgradeWFs[
'trackingOnly'].step3 = {
311 '-s':
'RAW2DIGI,RECO:reconstruction_trackingOnly,VALIDATION:@trackingOnlyValidation,DQM:@trackingOnlyDQM',
312 '--datatier':
'GEN-SIM-RECO,DQMIO',
313 '--eventcontent':
'RECOSIM,DQM',
316 step3_trackingOnly = upgradeWFs[
'trackingOnly'].step3
319 def setup__(self, step, stepName, stepDict, k, properties):
320 if 'Reco' in step
and stepDict[step][k][
'--era']==
'Run2_2017':
321 stepDict[stepName][k] =
merge([{
'--era':
'Run2_2017_trackingRun2'}, stepDict[step][k]])
330 suffix =
'_trackingRun2',
335 def setup__(self, step, stepName, stepDict, k, properties):
336 if 'Reco' in step
and stepDict[step][k][
'--era']==
'Run2_2017':
337 stepDict[stepName][k] =
merge([{
'--era':
'Run2_2017_trackingRun2'}, self.
step3, stepDict[step][k]])
338 elif 'HARVEST' in step: stepDict[stepName][k] =
merge([{
'-s':
'HARVESTING:@trackingOnlyValidation+@trackingOnlyDQM'}, stepDict[step][k]])
349 suffix =
'_trackingOnlyRun2',
352 upgradeWFs[
'trackingOnlyRun2'].step3 = upgradeWFs[
'trackingOnly'].step3
355 def setup__(self, step, stepName, stepDict, k, properties):
356 if 'Reco' in step
and stepDict[step][k][
'--era']==
'Run2_2017':
357 stepDict[stepName][k] =
merge([{
'--era':
'Run2_2017_trackingLowPU'}, stepDict[step][k]])
366 suffix =
'_trackingLowPU',
371 def setup__(self, step, stepName, stepDict, k, properties):
372 if 'Reco' in step: stepDict[stepName][k] =
merge([self.
step3, stepDict[step][k]])
374 elif 'ALCA' in step: stepDict[stepName][k] =
None 375 elif 'HARVEST' in step: stepDict[stepName][k] =
merge([{
'-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM'}, stepDict[step][k]])
377 return (
'2017' in key
or '2018' in key
or '2021' in key
or '2026' in key
or 'HI' in key)
and (
'FS' not in key)
389 'HARVESTNanoFakeHLT',
394 suffix =
'_pixelTrackingOnly',
397 upgradeWFs[
'pixelTrackingOnly'].step3 = {
398 '-s':
'RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly,VALIDATION:@pixelTrackingOnlyValidation,DQM:@pixelTrackingOnlyDQM',
399 '--datatier':
'GEN-SIM-RECO,DQMIO',
400 '--eventcontent':
'RECOSIM,DQM',
404 def setup__(self, step, stepName, stepDict, k, properties):
405 if 'Digi' in step: stepDict[stepName][k] =
merge([self.
step2, stepDict[step][k]])
406 if 'Reco' in step: stepDict[stepName][k] =
merge([self.
step3, stepDict[step][k]])
408 return (
'2017' in key
or '2021' in key
or '2023' in key)
and (
'FS' not in key)
420 suffix =
'_trackingMkFit',
423 upgradeWFs[
'trackingMkFit'].step2 = {
424 '--customise':
'RecoTracker/MkFit/customizeHLTIter0ToMkFit.customizeHLTIter0ToMkFit' 426 upgradeWFs[
'trackingMkFit'].step3 = {
427 '--procModifiers':
'trackingMkFitDevel' 432 def setup_(self, step, stepName, stepDict, k, properties):
434 if 'ALCA' in step
or 'Nano'==step:
435 stepDict[stepName][k] =
None 436 elif 'Reco' in step
or 'HARVEST' in step: stepDict[stepName][k] =
merge([{
'--procModifiers':
'seedingDeepCore'}, stepDict[step][k]])
437 def condition(self, fragment, stepList, key, hasHarvest):
438 result = (fragment==
"QCD_Pt_1800_2400_14" or fragment==
"TTbar_14TeV" )
and (
'2021' in key
or '2024' in key)
and hasHarvest
451 'HARVESTNanoFakeHLT',
463 'HARVESTNanoFakeHLT',
465 suffix =
'_seedingDeepCore',
471 def setup__(self, step, stepName, stepDict, k, properties):
472 if 'Reco' in step: stepDict[stepName][k] =
merge([self.
step3, stepDict[step][k]])
483 suffix =
'_displacedRegional',
486 upgradeWFs[
'displacedRegional'].step3 = {
487 '--procModifiers':
'displacedRegionalTracking' 492 def setup_(self, step, stepName, stepDict, k, properties):
493 stepDict[stepName][k] =
merge([{
'--procModifiers':
'vectorHits'}, stepDict[step][k]])
494 def condition(self, fragment, stepList, key, hasHarvest):
495 return (fragment==
"TTbar_14TeV" or fragment==
"SingleMuPt10Extended")
and '2026' in key
505 suffix =
'_vectorHits',
511 def __init__(self, reco = {}, harvest = {}, **kwargs):
513 super(UpgradeWorkflow_weightedVertex, self).
__init__(
524 'HARVESTNanoFakeHLT',
536 'HARVESTNanoFakeHLT',
542 def setup_(self, step, stepName, stepDict, k, properties):
545 mod = {
'--procModifiers':
'weightedVertexing,vertexInBlocks',
'--datatier':
'GEN-SIM-RECO,DQMIO',
546 '--eventcontent':
'RECOSIM,DQM'}
547 stepDict[stepName][k] =
merge([mod,self.
step3, stepDict[step][k]])
548 if 'HARVEST' in step:
549 stepDict[stepName][k] =
merge([self.
step4,stepDict[step][k]])
551 def condition(self, fragment, stepList, key, hasHarvest):
554 (
'2021' in key
and fragment ==
"TTbar_14TeV" and 'FS' not in key),
555 (
'2024' in key
and fragment ==
"TTbar_14TeV"),
556 (
'2026' in key
and fragment ==
"TTbar_14TeV")
558 result =
any(selected)
and hasHarvest
564 suffix =
'_weightedVertex',
568 upgradeWFs[
'weightedVertex'].step3 = {}
569 upgradeWFs[
'weightedVertex'].step4 = {}
572 suffix =
'_weightedVertexTrackingOnly',
576 upgradeWFs[
'weightedVertexTrackingOnly'].step3 = {
577 '-s':
'RAW2DIGI,RECO:reconstruction_trackingOnly,VALIDATION:@trackingOnlyValidation,DQM:@trackingOnlyDQM',
578 '--datatier':
'GEN-SIM-RECO,DQMIO',
579 '--eventcontent':
'RECOSIM,DQM',
582 upgradeWFs[
'weightedVertexTrackingOnly'].step4 = {
583 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM' 588 def setup_(self, step, stepName, stepDict, k, properties):
589 if 'RecoGlobal' in step:
590 stepDict[stepName][k] =
merge([self.
step3, stepDict[step][k]])
591 if 'HARVESTGlobal' in step:
592 stepDict[stepName][k] =
merge([self.
step4, stepDict[step][k]])
593 def condition(self, fragment, stepList, key, hasHarvest):
594 return (fragment==
"TTbar_14TeV" or 'CloseByPGun_CE' in fragment)
and '2026' in key
604 suffix =
'_ticl_clue3D',
607 upgradeWFs[
'ticl_clue3D'].step3 = {
'--procModifiers':
'clue3D'}
608 upgradeWFs[
'ticl_clue3D'].step4 = {
'--procModifiers':
'clue3D'}
611 def setup_(self, step, stepName, stepDict, k, properties):
612 if 'RecoGlobal' in step:
613 stepDict[stepName][k] =
merge([self.
step3, stepDict[step][k]])
614 if 'HARVESTGlobal' in step:
615 stepDict[stepName][k] =
merge([self.
step4, stepDict[step][k]])
616 def condition(self, fragment, stepList, key, hasHarvest):
617 return (fragment==
"TTbar_14TeV" or 'CloseByPGun_CE' in fragment)
and '2026' in key
627 suffix =
'_ticl_FastJet',
630 upgradeWFs[
'ticl_FastJet'].step3 = {
'--procModifiers':
'fastJetTICL'}
631 upgradeWFs[
'ticl_FastJet'].step4 = {
'--procModifiers':
'fastJetTICL'}
634 def setup_(self, step, stepName, stepDict, k, properties):
635 if 'RecoGlobal' in step:
636 stepDict[stepName][k] =
merge([self.
step3, stepDict[step][k]])
637 if 'HARVESTGlobal' in step:
638 stepDict[stepName][k] =
merge([self.
step4, stepDict[step][k]])
639 def condition(self, fragment, stepList, key, hasHarvest):
640 return (fragment==
"TTbar_14TeV" or 'CloseByP' in fragment
or 'Eta1p7_2p7' in fragment)
and '2026' in key
653 upgradeWFs[
'ticl_v3'].step3 = {
'--procModifiers':
'ticl_v3'}
654 upgradeWFs[
'ticl_v3'].step4 = {
'--procModifiers':
'ticl_v3'}
659 def setup_(self, step, stepName, stepDict, k, properties):
660 stepDict[stepName][k] =
merge([{
'--procModifiers':
'trackdnn'}, stepDict[step][k]])
662 def condition(self, fragment, stepList, key, hasHarvest):
663 return fragment==
"TTbar_14TeV" and '2021' in key
677 suffix =
'_trackdnn',
684 def setup_(self, step, stepName, stepDict, k, properties):
686 stepDict[stepName][k] =
merge([self.
step3, stepDict[step][k]])
687 def condition(self, fragment, stepList, key, hasHarvest):
688 return (fragment==
"TTbar_14TeV" or fragment==
"QCD_FlatPt_15_3000HS_14")
and '2021PU' in key
706 upgradeWFs[
'mlpf'].step3 = {
707 '--datatier':
'GEN-SIM-RECO,RECOSIM,MINIAODSIM,NANOAODSIM,DQMIO',
708 '--eventcontent':
'FEVTDEBUGHLT,RECOSIM,MINIAODSIM,NANOEDMAODSIM,DQM',
709 '--procModifiers':
'mlpf' 715 def setup_(self, step, stepName, stepDict, k, properties):
717 stepDict[stepName][k] =
merge([self.
step3, stepDict[step][k]])
718 def condition(self, fragment, stepList, key, hasHarvest):
719 return (fragment==
"ZEE_14" or fragment==
"TTbar_14TeV" or fragment==
"WprimeTolNu_M3000_13TeV_pythia8" 720 or fragment==
"DisplacedSUSY_stopToBottom_M_300_1000mm_13" or fragment==
"RunEGamma2018D" )
735 suffix =
'_ecalDeepSC',
738 upgradeWFs[
'ecalDeepSC'].step3 = {
739 '--datatier':
'RECOSIM,MINIAODSIM,NANOAODSIM,DQMIO',
740 '--eventcontent':
'RECOSIM,MINIAODSIM,NANOEDMAODSIM,DQM',
741 '--procModifiers':
'ecal_deepsc' 747 def setup_(self, step, stepName, stepDict, k, properties):
749 stepDict[stepName][k] =
merge([self.
step3, stepDict[step][k]])
750 def condition(self, fragment, stepList, key, hasHarvest):
751 return '2018' in key
and "SingleGamma" in fragment
762 suffix =
'_photonDRN',
765 upgradeWFs[
'photonDRN'].step3 = {
766 '--procModifiers':
'enableSonicTriton,photonDRN' 779 def __init__(self, digi = {}, reco = {}, mini = {}, harvest = {}, **kwargs):
781 super(PatatrackWorkflow, self).
__init__(
794 'HARVESTNanoFakeHLT',
812 'HARVESTNanoFakeHLT',
823 '--datatier':
'GEN-SIM-RECO,DQMIO',
824 '--eventcontent':
'RECOSIM,DQM' 829 def condition(self, fragment, stepList, key, hasHarvest):
832 (
'2018' in key
and fragment ==
"TTbar_13"),
833 (
'2021' in key
and fragment ==
"TTbar_14TeV" and 'FS' not in key),
834 (
'2023' in key
and fragment ==
"TTbar_14TeV" and 'FS' not in key),
835 (
'2018' in key
and fragment ==
"ZMM_13"),
836 (
'2021' in key
and fragment ==
"ZMM_14" and 'FS' not in key),
837 (
'2023' in key
and fragment ==
"ZMM_14" and 'FS' not in key),
838 (
'2026D88' in key
and fragment ==
"TTbar_14TeV" and "PixelOnly" in self.
suffix),
839 ((
'HI' in key)
and 'Hydjet' in fragment
and "PixelOnly" in self.
suffix )
841 result =
any(selected)
and hasHarvest
845 def setup_(self, step, stepName, stepDict, k, properties):
847 if 'ALCA' in step
or 'Nano'==step:
848 stepDict[stepName][k] =
None 851 stepDict[stepName][k] =
None 853 stepDict[stepName][k] =
merge([self.
__digi, stepDict[step][k]])
856 stepDict[stepName][k] =
None 858 stepDict[stepName][k] =
merge([self.
__reco, stepDict[step][k]])
859 elif 'MiniAOD' in step:
861 stepDict[stepName][k] =
None 863 stepDict[stepName][k] =
merge([self.
__mini, stepDict[step][k]])
864 elif 'HARVEST' in step:
866 stepDict[stepName][k] =
None 868 stepDict[stepName][k] =
merge([self.
__harvest, stepDict[step][k]])
879 '-s':
'RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly,VALIDATION:@pixelTrackingOnlyValidation,DQM:@pixelTrackingOnlyDQM',
880 '--procModifiers':
'pixelNtupletFit' 883 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM' 885 suffix =
'Patatrack_PixelOnlyCPU',
896 '--procModifiers':
'gpu' 899 '-s':
'RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly,VALIDATION:@pixelTrackingOnlyValidation,DQM:@pixelTrackingOnlyDQM',
900 '--procModifiers':
'pixelNtupletFit,gpu' 903 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM' 905 suffix =
'Patatrack_PixelOnlyGPU',
916 '--accelerators':
'gpu-nvidia',
917 '--procModifiers':
'gpu' 920 '-s':
'RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly,VALIDATION:@pixelTrackingOnlyValidation,DQM:@pixelTrackingOnlyDQM',
921 '--accelerators':
'gpu-nvidia',
922 '--procModifiers':
'pixelNtupletFit,gpuValidation' 925 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM',
926 '--procModifiers':
'gpuValidation' 928 suffix =
'Patatrack_PixelOnlyGPU_Validation',
938 '--procModifiers':
'gpu' 941 '-s':
'RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly',
942 '--procModifiers':
'pixelNtupletFit,gpu',
943 '--customise' :
'RecoTracker/Configuration/customizePixelOnlyForProfiling.customizePixelOnlyForProfilingGPUOnly' 946 suffix =
'Patatrack_PixelOnlyGPU_Profiling',
959 '-s':
'RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly,VALIDATION:@pixelTrackingOnlyValidation,DQM:@pixelTrackingOnlyDQM',
960 '--procModifiers':
'pixelNtupletFit',
961 '--customise' :
'RecoTracker/Configuration/customizePixelTracksForTriplets.customizePixelTracksForTriplets' 964 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM' 966 suffix =
'Patatrack_PixelOnlyTripletsCPU',
977 '--procModifiers':
'gpu' 980 '-s':
'RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly,VALIDATION:@pixelTrackingOnlyValidation,DQM:@pixelTrackingOnlyDQM',
981 '--procModifiers':
'pixelNtupletFit,gpu',
982 '--customise':
'RecoTracker/Configuration/customizePixelTracksForTriplets.customizePixelTracksForTriplets' 985 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM' 987 suffix =
'Patatrack_PixelOnlyTripletsGPU',
998 '--accelerators':
'gpu-nvidia',
999 '--procModifiers':
'gpu' 1002 '-s':
'RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly,VALIDATION:@pixelTrackingOnlyValidation,DQM:@pixelTrackingOnlyDQM',
1003 '--accelerators':
'gpu-nvidia',
1004 '--procModifiers':
'pixelNtupletFit,gpuValidation',
1005 '--customise':
'RecoTracker/Configuration/customizePixelTracksForTriplets.customizePixelTracksForTriplets' 1008 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM',
1009 '--procModifiers':
'gpuValidation',
1011 suffix =
'Patatrack_PixelOnlyTripletsGPU_Validation',
1021 '--procModifiers':
'gpu' 1024 '-s':
'RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly',
1025 '--procModifiers':
'pixelNtupletFit,gpu',
1026 '--customise':
'RecoTracker/Configuration/customizePixelTracksForTriplets.customizePixelTracksForTriplets,RecoTracker/Configuration/customizePixelOnlyForProfiling.customizePixelOnlyForProfilingGPUOnly' 1029 suffix =
'Patatrack_PixelOnlyTripletsGPU_Profiling',
1042 '-s':
'RAW2DIGI:RawToDigi_ecalOnly,RECO:reconstruction_ecalOnly,VALIDATION:@ecalOnlyValidation,DQM:@ecalOnly',
1045 '-s':
'HARVESTING:@ecalOnlyValidation+@ecal' 1047 suffix =
'Patatrack_ECALOnlyCPU',
1058 '--procModifiers':
'gpu' 1061 '-s':
'RAW2DIGI:RawToDigi_ecalOnly,RECO:reconstruction_ecalOnly,VALIDATION:@ecalOnlyValidation,DQM:@ecalOnly',
1062 '--procModifiers':
'gpu' 1065 '-s':
'HARVESTING:@ecalOnlyValidation+@ecal' 1067 suffix =
'Patatrack_ECALOnlyGPU',
1078 '--accelerators':
'gpu-nvidia',
1079 '--procModifiers':
'gpu' 1082 '-s':
'RAW2DIGI:RawToDigi_ecalOnly,RECO:reconstruction_ecalOnly,VALIDATION:@ecalOnlyValidation,DQM:@ecalOnly',
1083 '--accelerators':
'gpu-nvidia',
1084 '--procModifiers':
'gpuValidation' 1087 '-s':
'HARVESTING:@ecalOnlyValidation+@ecal' 1089 suffix =
'Patatrack_ECALOnlyGPU_Validation',
1099 '--procModifiers':
'gpu' 1102 '-s':
'RAW2DIGI:RawToDigi_ecalOnly,RECO:reconstruction_ecalOnly',
1103 '--procModifiers':
'gpu',
1104 '--customise' :
'RecoLocalCalo/Configuration/customizeEcalOnlyForProfiling.customizeEcalOnlyForProfilingGPUOnly' 1107 suffix =
'Patatrack_ECALOnlyGPU_Profiling',
1120 '-s':
'RAW2DIGI:RawToDigi_hcalOnly,RECO:reconstruction_hcalOnly,VALIDATION:@hcalOnlyValidation,DQM:@hcalOnly+@hcal2Only',
1123 '-s':
'HARVESTING:@hcalOnlyValidation+@hcalOnly+@hcal2Only' 1125 suffix =
'Patatrack_HCALOnlyCPU',
1136 '--procModifiers':
'gpu' 1139 '-s':
'RAW2DIGI:RawToDigi_hcalOnly,RECO:reconstruction_hcalOnly,VALIDATION:@hcalOnlyValidation,DQM:@hcalOnly+@hcal2Only',
1140 '--procModifiers':
'gpu' 1143 '-s':
'HARVESTING:@hcalOnlyValidation+@hcalOnly+@hcal2Only' 1145 suffix =
'Patatrack_HCALOnlyGPU',
1156 '--accelerators':
'gpu-nvidia',
1157 '--procModifiers':
'gpu' 1160 '-s':
'RAW2DIGI:RawToDigi_hcalOnly,RECO:reconstruction_hcalOnly,VALIDATION:@hcalOnlyValidation,DQM:@hcalOnly+@hcal2Only',
1161 '--accelerators':
'gpu-nvidia',
1162 '--procModifiers':
'gpuValidation' 1165 '-s':
'HARVESTING:@hcalOnlyValidation+@hcal' 1167 suffix =
'Patatrack_HCALOnlyGPU_Validation',
1177 '--procModifiers':
'gpu' 1180 '-s':
'RAW2DIGI:RawToDigi_hcalOnly,RECO:reconstruction_hcalOnly',
1181 '--procModifiers':
'gpu',
1182 '--customise' :
'RecoLocalCalo/Configuration/customizeHcalOnlyForProfiling.customizeHcalOnlyForProfilingGPUOnly' 1185 suffix =
'Patatrack_HCALOnlyGPU_Profiling',
1198 '-s':
'RAW2DIGI:RawToDigi_pixelOnly+RawToDigi_ecalOnly+RawToDigi_hcalOnly,RECO:reconstruction_pixelTrackingOnly+reconstruction_ecalOnly+reconstruction_hcalOnly,VALIDATION:@pixelTrackingOnlyValidation+@ecalOnlyValidation+@hcalOnlyValidation,DQM:@pixelTrackingOnlyDQM+@ecalOnly+@hcalOnly+@hcal2Only',
1199 '--procModifiers':
'pixelNtupletFit' 1202 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM+@ecalOnlyValidation+@ecal+@hcalOnlyValidation+@hcalOnly+@hcal2Only' 1204 suffix =
'Patatrack_AllCPU',
1215 '--procModifiers':
'gpu' 1218 '-s':
'RAW2DIGI:RawToDigi_pixelOnly+RawToDigi_ecalOnly+RawToDigi_hcalOnly,RECO:reconstruction_pixelTrackingOnly+reconstruction_ecalOnly+reconstruction_hcalOnly,VALIDATION:@pixelTrackingOnlyValidation+@ecalOnlyValidation+@hcalOnlyValidation,DQM:@pixelTrackingOnlyDQM+@ecalOnly+@hcalOnly+@hcal2Only',
1219 '--procModifiers':
'pixelNtupletFit,gpu' 1222 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM+@ecalOnlyValidation+@ecal+@hcalOnlyValidation+@hcalOnly+@hcal2Only' 1224 suffix =
'Patatrack_AllGPU',
1235 '--accelerators':
'gpu-nvidia',
1236 '--procModifiers':
'gpu' 1239 '-s':
'RAW2DIGI:RawToDigi_pixelOnly+RawToDigi_ecalOnly+RawToDigi_hcalOnly,RECO:reconstruction_pixelTrackingOnly+reconstruction_ecalOnly+reconstruction_hcalOnly,VALIDATION:@pixelTrackingOnlyValidation+@ecalOnlyValidation+@hcalOnlyValidation,DQM:@pixelTrackingOnlyDQM+@ecalOnly+@hcalOnly+@hcal2Only',
1240 '--accelerators':
'gpu-nvidia',
1241 '--procModifiers':
'pixelNtupletFit,gpuValidation' 1244 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM+@ecalOnlyValidation+@ecal+@hcalOnlyValidation+@hcalOnly+@hcal2Only',
1245 '--procModifiers':
'gpuValidation' 1247 suffix =
'Patatrack_AllGPU_Validation',
1265 '-s':
'RAW2DIGI:RawToDigi_pixelOnly+RawToDigi_ecalOnly+RawToDigi_hcalOnly,RECO:reconstruction_pixelTrackingOnly+reconstruction_ecalOnly+reconstruction_hcalOnly,VALIDATION:@pixelTrackingOnlyValidation+@ecalOnlyValidation+@hcalOnlyValidation,DQM:@pixelTrackingOnlyDQM+@ecalOnly+@hcalOnly+@hcal2Only',
1266 '--procModifiers':
'pixelNtupletFit' 1269 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM+@ecalOnlyValidation+@ecal+@hcalOnlyValidation+@hcalOnly+@hcal2Only' 1271 suffix =
'Patatrack_AllTripletsCPU',
1282 '--procModifiers':
'gpu' 1285 '-s':
'RAW2DIGI:RawToDigi_pixelOnly+RawToDigi_ecalOnly+RawToDigi_hcalOnly,RECO:reconstruction_pixelTrackingOnly+reconstruction_ecalOnly+reconstruction_hcalOnly,VALIDATION:@pixelTrackingOnlyValidation+@ecalOnlyValidation+@hcalOnlyValidation,DQM:@pixelTrackingOnlyDQM+@ecalOnly+@hcalOnly+@hcal2Only',
1286 '--procModifiers':
'pixelNtupletFit,gpu' 1289 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM+@ecalOnlyValidation+@ecal+@hcalOnlyValidation+@hcalOnly+@hcal2Only' 1291 suffix =
'Patatrack_AllTripletsGPU',
1302 '--accelerators':
'gpu-nvidia',
1303 '--procModifiers':
'gpu' 1306 '-s':
'RAW2DIGI:RawToDigi_pixelOnly+RawToDigi_ecalOnly+RawToDigi_hcalOnly,RECO:reconstruction_pixelTrackingOnly+reconstruction_ecalOnly+reconstruction_hcalOnly,VALIDATION:@pixelTrackingOnlyValidation+@ecalOnlyValidation+@hcalOnlyValidation,DQM:@pixelTrackingOnlyDQM+@ecalOnly+@hcalOnly+@hcal2Only',
1307 '--accelerators':
'gpu-nvidia',
1308 '--procModifiers':
'pixelNtupletFit,gpuValidation' 1311 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM+@ecalOnlyValidation+@ecal+@hcalOnlyValidation+@hcalOnly+@hcal2Only',
1312 '--procModifiers':
'gpuValidation' 1314 suffix =
'Patatrack_AllTripletsGPU_Validation',
1333 '-s':
'RAW2DIGI:RawToDigi+RawToDigi_pixelOnly,L1Reco,RECO:reconstruction+reconstruction_pixelTrackingOnly,RECOSIM,PAT,VALIDATION:@standardValidation+@miniAODValidation,DQM:@standardDQM+@ExtraHLT+@miniAODDQM+@pixelTrackingOnlyDQM',
1334 '--procModifiers':
'pixelNtupletFit' 1339 suffix =
'Patatrack_FullRecoCPU',
1350 '--procModifiers':
'gpu' 1354 '-s':
'RAW2DIGI:RawToDigi+RawToDigi_pixelOnly,L1Reco,RECO:reconstruction+reconstruction_pixelTrackingOnly,RECOSIM,PAT,VALIDATION:@standardValidation+@miniAODValidation,DQM:@standardDQM+@ExtraHLT+@miniAODDQM+@pixelTrackingOnlyDQM',
1355 '--procModifiers':
'pixelNtupletFit,gpu' 1360 suffix =
'Patatrack_FullRecoGPU',
1371 '--accelerators':
'gpu-nvidia',
1372 '--procModifiers':
'gpu' 1376 '-s':
'RAW2DIGI:RawToDigi+RawToDigi_pixelOnly,L1Reco,RECO:reconstruction+reconstruction_pixelTrackingOnly,RECOSIM,PAT,VALIDATION:@standardValidation+@miniAODValidation,DQM:@standardDQM+@ExtraHLT+@miniAODDQM+@pixelTrackingOnlyDQM',
1377 '--accelerators':
'gpu-nvidia',
1378 '--procModifiers':
'pixelNtupletFit,gpuValidation' 1383 suffix =
'Patatrack_FullRecoGPU_Validation',
1397 '-s':
'RAW2DIGI:RawToDigi+RawToDigi_pixelOnly,L1Reco,RECO:reconstruction+reconstruction_pixelTrackingOnly,RECOSIM,PAT,VALIDATION:@standardValidation+@miniAODValidation,DQM:@standardDQM+@ExtraHLT+@miniAODDQM+@pixelTrackingOnlyDQM',
1398 '--procModifiers':
'pixelNtupletFit',
1399 '--customise' :
'RecoTracker/Configuration/customizePixelTracksForTriplets.customizePixelTracksForTriplets' 1404 suffix =
'Patatrack_FullRecoTripletsCPU',
1411 '--datatier':
'GEN-SIM-RAW',
1412 '--eventcontent':
'RAWSIM',
1416 '-s':
'RAW2DIGI:RawToDigi+RawToDigi_pixelOnly,L1Reco,RECO:reconstruction+reconstruction_pixelTrackingOnly,RECOSIM',
1417 '--procModifiers':
'pixelNtupletFit',
1418 '--customise' :
'RecoTracker/Configuration/customizePixelTracksForTriplets.customizePixelTracksForTriplets',
1419 '--datatier':
'AODSIM',
1420 '--eventcontent':
'AODSIM',
1423 suffix =
'Patatrack_FullRecoTripletsCPUProdLike',
1434 '--procModifiers':
'gpu' 1438 '-s':
'RAW2DIGI:RawToDigi+RawToDigi_pixelOnly,L1Reco,RECO:reconstruction+reconstruction_pixelTrackingOnly,RECOSIM,PAT,VALIDATION:@standardValidation+@miniAODValidation,DQM:@standardDQM+@ExtraHLT+@miniAODDQM+@pixelTrackingOnlyDQM',
1439 '--procModifiers':
'pixelNtupletFit,gpu',
1440 '--customise':
'RecoTracker/Configuration/customizePixelTracksForTriplets.customizePixelTracksForTriplets' 1445 suffix =
'Patatrack_FullRecoTripletsGPU',
1452 '--procModifiers':
'gpu',
1453 '--datatier':
'GEN-SIM-RAW',
1454 '--eventcontent':
'RAWSIM',
1458 '-s':
'RAW2DIGI:RawToDigi+RawToDigi_pixelOnly,L1Reco,RECO:reconstruction+reconstruction_pixelTrackingOnly,RECOSIM',
1459 '--procModifiers':
'pixelNtupletFit,gpu',
1460 '--customise':
'RecoTracker/Configuration/customizePixelTracksForTriplets.customizePixelTracksForTriplets',
1461 '--datatier':
'AODSIM',
1462 '--eventcontent':
'AODSIM',
1465 suffix =
'Patatrack_FullRecoTripletsGPUProdLike',
1476 '--accelerators':
'gpu-nvidia',
1477 '--procModifiers':
'gpu' 1481 '-s':
'RAW2DIGI:RawToDigi+RawToDigi_pixelOnly,L1Reco,RECO:reconstruction+reconstruction_pixelTrackingOnly,RECOSIM,PAT,VALIDATION:@standardValidation+@miniAODValidation,DQM:@standardDQM+@ExtraHLT+@miniAODDQM+@pixelTrackingOnlyDQM',
1482 '--accelerators':
'gpu-nvidia',
1483 '--procModifiers':
'pixelNtupletFit,gpuValidation',
1484 '--customise' :
'RecoTracker/Configuration/customizePixelTracksForTriplets.customizePixelTracksForTriplets' 1489 suffix =
'Patatrack_FullRecoTripletsGPU_Validation',
1496 def setup_(self, step, stepName, stepDict, k, properties):
1497 if 'GenSimHLBeamSpot14' in step:
1498 stepDict[stepName][k] =
merge([{
'--eventcontent':
'RAWSIM',
'--datatier':
'GEN-SIM'},stepDict[step][k]])
1499 elif 'Digi' in step
and 'Trigger' not in step:
1500 stepDict[stepName][k] =
merge([{
'-s':
'DIGI,L1,DIGI2RAW,HLT:@relval2022',
'--datatier':
'GEN-SIM-RAW',
'--eventcontent':
'RAWSIM'}, stepDict[step][k]])
1501 elif 'DigiTrigger' in step:
1502 stepDict[stepName][k] =
merge([{
'-s':
'DIGI,L1TrackTrigger,L1,DIGI2RAW,HLT:@fake2',
'--datatier':
'GEN-SIM-RAW',
'--eventcontent':
'RAWSIM'}, stepDict[step][k]])
1503 elif 'Reco' in step:
1504 stepDict[stepName][k] =
merge([{
'-s':
'RAW2DIGI,L1Reco,RECO,RECOSIM',
'--datatier':
'AODSIM',
'--eventcontent':
'AODSIM'}, stepDict[step][k]])
1505 elif 'MiniAOD' in step:
1507 stepDict[stepName][k] = deepcopy(stepDict[step][k])
1508 elif 'ALCA' in step
or 'HARVEST' in step:
1510 stepDict[stepName][k] =
None 1512 stepDict[stepName][k] =
merge([{
'--filein':
'file:step4.root',
'-s':
'NANO',
'--datatier':
'NANOAODSIM',
'--eventcontent':
'NANOEDMAODSIM'}, stepDict[step][k]])
1514 return fragment==
"TTbar_14TeV" and (
'2026' in key
or '2021' in key)
1517 'GenSimHLBeamSpot14',
1529 'HARVESTNanoFakeHLT',
1536 'GenSimHLBeamSpot14',
1548 'HARVESTNanoFakeHLT',
1554 suffix =
'_ProdLike',
1559 def __init__(self, suffix, offset, fixedPU,
1562 'GenSimHLBeamSpot14',
1574 'HARVESTNanoFakeHLT',
1580 super(UpgradeWorkflow_ProdLikeRunningPU, self).
__init__(steps, PU, suffix, offset)
1582 def setupPU_(self, step, stepName, stepDict, k, properties):
1584 if stepDict[stepName][k]
is not None and '--pileup' in stepDict[stepName][k]:
1585 stepDict[stepName][k][
'--pileup'] =
'AVE_' +
str(self.
__fixedPU) +
'_BX_25ns' 1588 return (fragment==
"TTbar_14TeV")
and ((
'2026' in key)
or (
'2021' in key
and self.
__fixedPU<=100))
1595 suffix =
'_ProdLikePU10',
1601 suffix =
'_ProdLikePU20',
1607 suffix =
'_ProdLikePU30',
1613 suffix =
'_ProdLikePU40',
1619 suffix =
'_ProdLikePU50',
1625 suffix =
'_ProdLikePU55',
1631 suffix =
'_ProdLikePU60',
1637 suffix =
'_ProdLikePU65',
1643 suffix =
'_ProdLikePU70',
1649 suffix =
'_ProdLikePU80',
1655 suffix =
'_ProdLikePU90',
1661 suffix =
'_ProdLikePU100',
1667 suffix =
'_ProdLikePU120',
1673 suffix =
'_ProdLikePU140',
1679 suffix =
'_ProdLikePU160',
1685 suffix =
'_ProdLikePU180',
1691 def setup_(self, step, stepName, stepDict, k, properties):
1692 if 'HARVEST' in step:
1693 stepDict[stepName][k] =
merge([{
'--filein':
'file:step3_inDQM.root'}, stepDict[step][k]])
1695 stepDict[stepName][k] =
merge([stepDict[step][k]])
1697 return fragment==
"TTbar_14TeV" and '2026' in key
1700 'GenSimHLBeamSpot14',
1707 'GenSimHLBeamSpot14',
1713 suffix =
'_HLT75e33',
1718 def setup_(self, step, stepName, stepDict, k, properties):
1719 if 'DigiTrigger' in step:
1720 stepDict[stepName][k] =
merge([{
'-s':
'DIGI:pdigi_valid,L1TrackTrigger,L1,DIGI2RAW,HLT:@relval2026'}, stepDict[step][k]])
1722 return fragment==
"TTbar_14TeV" and '2026' in key
1730 suffix =
'_HLTwDIGI75e33',
1735 def setup_(self, step, stepName, stepDict, k, properties):
1736 if 'GenSim' in step:
1737 custNew =
"SimG4Core/Application/NeutronBGforMuonsXS_cff.customise" 1739 custNew =
"SLHCUpgradeSimulations/Configuration/customise_mixing.customise_Mix_LongLived_Neutrons" 1740 stepDict[stepName][k] = deepcopy(stepDict[step][k])
1741 if '--customise' in stepDict[stepName][k].
keys():
1742 stepDict[stepName][k][
'--customise'] +=
","+custNew
1744 stepDict[stepName][k][
'--customise'] = custNew
1751 'GenSimHLBeamSpot14',
1759 suffix =
'_Neutron',
1763 upgradeWFs[
'Neutron'].neutronKeys = [x
for x
in upgradeKeys[2026]
if 'PU' not in x]
1764 upgradeWFs[
'Neutron'].neutronFrags = [
'ZMM_14',
'MinBias_14TeV']
1767 def setup_(self, step, stepName, stepDict, k, properties):
1768 stepDict[stepName][k] =
merge([{
'--procModifiers':
'run2_HECollapse_2018'}, stepDict[step][k]])
1770 return fragment==
"TTbar_13" and '2018' in key
1788 suffix =
'_heCollapse',
1794 def __init__(self, digi = {}, reco = {}, harvest = {}, **kwargs):
1796 super(UpgradeWorkflow_ecalDevel, self).
__init__(
1814 def setup_(self, step, stepName, stepDict, k, properties):
1816 mods = {
'--era': stepDict[step][k][
'--era']+
',phase2_ecal_devel'}
1818 mods[
'-s'] =
'DIGI:pdigi_valid,DIGI2RAW' 1820 elif 'Reco' in step:
1821 mods[
'-s'] =
'RAW2DIGI,RECO:reconstruction_ecalOnly,VALIDATION:@ecalOnlyValidation,DQM:@ecalOnly' 1822 mods[
'--datatier'] =
'GEN-SIM-RECO,DQMIO' 1823 mods[
'--eventcontent'] =
'FEVTDEBUGHLT,DQM' 1825 elif 'HARVEST' in step:
1826 mods[
'-s'] =
'HARVESTING:@ecalOnlyValidation+@ecal' 1828 stepDict[stepName][k] =
merge([mods, stepDict[step][k]])
1831 stepDict[stepName][k] =
None 1834 return fragment==
"TTbar_14TeV" and '2026' in key
1838 suffix =
'_ecalDevel',
1844 reco = {
'--procModifiers':
'gpu'},
1845 suffix =
'_ecalDevelGPU',
1851 def __init__(self, suffix, offset, ecalMod,
1855 'GenSimHLBeamSpot14',
1856 'GenSimHLBeamSpotHGCALCloseBy',
1863 'GenSimHLBeamSpot14',
1864 'GenSimHLBeamSpotHGCALCloseBy',
1868 super(UpgradeWorkflow_ECalComponent, self).
__init__(steps, PU, suffix, offset)
1871 def setup_(self, step, stepName, stepDict, k, properties):
1872 if 'Sim' in step
or 'Digi' in step:
1874 stepDict[stepName][k] =
merge([{
'--procModifiers':self.
__ecalMod},stepDict[step][k]])
1877 return (
'2021' in key
or '2023' in key
or '2026' in key)
1880 suffix =
'_ecalComponent',
1882 ecalMod =
'ecal_component',
1886 suffix =
'_ecalComponentFSW',
1888 ecalMod =
'ecal_component_finely_sampled_waveforms',
1892 def setup_(self, step, stepName, stepDict, k, properties):
1893 myGT=stepDict[step][k][
'--conditions']
1895 stepDict[stepName][k] =
merge([{
'-n':
'1',
'--magField':
'0T',
'--conditions':myGT}, stepDict[step][k]])
1896 def setupPU_(self, step, stepName, stepDict, k, properties):
1898 stepDict[stepName][k] =
merge([{
'-n':
'1'}, stepDict[step][k]])
1900 return (fragment==
"TTbar_13" or fragment==
"TTbar_14TeV")
and (
'2017' in key
or '2018' in key
or '2021' in key)
and (
'FS' not in key)
1912 'HARVESTNanoFakeHLT',
1924 'HARVESTNanoFakeHLT',
1931 def setup_(self, step, stepName, stepDict, k, properties):
1932 if 'Reco' in step
and 'Run2_2018' in stepDict[step][k][
'--era']:
1933 stepDict[stepName][k] =
merge([{
'--era':
'Run2_2018,bParking'}, stepDict[step][k]])
1935 return fragment==
"TTbar_13" and '2018' in key
1942 suffix =
'_ParkingBPH',
1948 def setup_(self, step, stepName, stepDict, k, properties):
1950 thisStep = stepDict[step][k][
"-s"]
1952 if "DQM:" in thisStep:
1953 stepDict[stepName][k] =
merge([{
'-s': thisStep.replace(
"DQM:",
"DQM:@heavyFlavor+")}, stepDict[step][k]])
1954 elif "DQM" in thisStep:
1955 stepDict[stepName][k] =
merge([{
'-s': thisStep.replace(
"DQM",
"DQM:@heavyFlavor")}, stepDict[step][k]])
1957 stepDict[stepName][k] =
merge([{
'-s': thisStep +
",DQM:@heavyFlavor"}, stepDict[step][k]])
1960 return any(frag
in fragment
for frag
in self.
__frags)
1970 suffix =
'_HeavyFlavor',
1976 def setup_(self, step, stepName, stepDict, k, properties):
1978 stepDict[stepName][k] =
merge([{
'--customise':
'PhysicsTools/NanoAOD/custom_jme_cff.PrepJMECustomNanoAOD_MC'}, stepDict[step][k]])
1980 return (fragment==
"TTbar_13" or fragment==
"TTbar_14TeV")
and (
'2017' in key
or '2018' in key
or '2021' in key)
and (
'FS' not in key)
1988 suffix =
'_JMENano',
1995 def setup_(self, step, stepName, stepDict, k, properties):
1996 if 'Digi' in step
or 'Reco' in step:
1997 stepDict[stepName][k] =
merge([{
'--customise':
'SLHCUpgradeSimulations/Configuration/aging.customise_aging_'+self.
lumi}, stepDict[step][k]])
1999 return '2026' in key
2018 suffix =
'Aging1000',
2021 upgradeWFs[
'Aging1000'].lumi =
'1000' 2022 upgradeWFs[
'Aging3000'] = deepcopy(upgradeWFs[
'Aging1000'])
2023 upgradeWFs[
'Aging3000'].suffix =
'Aging3000' 2024 upgradeWFs[
'Aging3000'].offset = 0.103
2025 upgradeWFs[
'Aging3000'].lumi =
'3000' 2032 def setup_(self, step, stepName, stepDict, k, properties):
2034 stepDict[stepName][k] =
merge([{
'--customise':
'SimTracker/SiPhase2Digitizer/customizeForOTInefficiency.customizeSiPhase2OTInefficiency'+self.
percent+
'Percent'}, stepDict[step][k]])
2036 return fragment==
"TTbar_14TeV" and '2026' in key
2047 suffix =
'_OTInefficiency',
2050 upgradeWFs[
'OTInefficiency'].percent =
'Zero' 2053 upgradeWFs[
'OTInefficiency1PC'] = deepcopy(upgradeWFs[
'OTInefficiency'])
2054 upgradeWFs[
'OTInefficiency1PC'].suffix =
'_OTInefficiency1PC' 2055 upgradeWFs[
'OTInefficiency1PC'].offset = 0.112
2056 upgradeWFs[
'OTInefficiency1PC'].percent =
'One' 2059 upgradeWFs[
'OTInefficiency5PC'] = deepcopy(upgradeWFs[
'OTInefficiency'])
2060 upgradeWFs[
'OTInefficiency5PC'].suffix =
'_OTInefficiency5PC' 2061 upgradeWFs[
'OTInefficiency5PC'].offset = 0.113
2062 upgradeWFs[
'OTInefficiency5PC'].percent =
'Five' 2065 upgradeWFs[
'OTInefficiency10PC'] = deepcopy(upgradeWFs[
'OTInefficiency'])
2066 upgradeWFs[
'OTInefficiency10PC'].suffix =
'_OTInefficiency10PC' 2067 upgradeWFs[
'OTInefficiency10PC'].offset = 0.114
2068 upgradeWFs[
'OTInefficiency10PC'].percent =
'Ten' 2074 def setup_(self, step, stepName, stepDict, k, properties):
2076 stepDict[stepName][k] =
merge([{
'--customise':
'SimTracker/SiPhase2Digitizer/customizeForPhase2TrackerSignalShape.customizeSiPhase2ITSignalShape'}, stepDict[step][k]])
2078 return '2026' in key
2089 suffix =
'_ITSignalShape',
2099 digiPremixLocalPileup = {
2100 "--filein":
"file:step1.root",
2101 "--pileup_input":
"file:step2.root" 2106 def setup_(self, step, stepName, stepDict, k, properties):
2108 stepDict[stepName][k] =
merge([stepDict[step][k]])
2109 def setupPU_(self, step, stepName, stepDict, k, properties):
2111 if "GenSim" in stepName:
2112 stepNamePmx = stepName.replace(
'GenSim',
'Premix')
2113 if not stepNamePmx
in stepDict: stepDict[stepNamePmx] = {}
2114 stepDict[stepNamePmx][k] =
merge([
2116 '-s':
'GEN,SIM,DIGI:pdigi_valid',
2117 '--datatier':
'PREMIX',
2118 '--eventcontent':
'PREMIX',
2119 '--procModifiers':
'premix_stage1' 2121 stepDict[stepName][k]
2123 if "ProdLike" in self.
suffix:
2124 stepDict[stepNamePmx][k] =
merge([{
'-s':
'GEN,SIM,DIGI'},stepDict[stepNamePmx][k]])
2126 elif "Digi" in step
or "Reco" in step:
2129 if d
is None:
return 2132 for s
in d[
"-s"].
split(
","):
2133 if s ==
"DIGI" or "DIGI:" in s:
2134 tmpsteps.extend([s,
"DATAMIX"])
2138 "--datamix" :
"PreMix",
2139 "--procModifiers":
"premix_stage2"},
2142 if "_PMXS1S2" in self.
suffix:
2143 d =
merge([digiPremixLocalPileup, d])
2144 elif "Reco" in step:
2145 if "--procModifiers" in d:
2146 d[
"--procModifiers"] +=
",premix_stage2" 2148 d[
"--procModifiers"] =
"premix_stage2" 2149 stepDict[stepName][k] = d
2155 filein = d[
"--filein"]
2156 m = re.search(
"step(?P<ind>\d+)_", filein)
2158 d[
"--filein"] = filein.replace(m.group(),
"step%d_"%(
int(m.group(
"ind"))+1))
2159 stepDict[stepName][k] = d
2165 if not any(y
in key
for y
in [
'2021',
'2023',
'2024',
'2026']):
2167 if self.
suffix.endswith(
"S1"):
2168 return "NuGun" in fragment
2170 def workflow_(self, workflows, num, fragment, stepList, key):
2171 fragmentTmp = fragment
2172 if self.
suffix.endswith(
"S1"):
2173 fragmentTmp =
'PREMIXUP' + key[2:].
replace(
"PU",
"").
replace(
"Design",
"") +
'_PU25' 2174 super(UpgradeWorkflowPremix,self).
workflow_(workflows, num, fragmentTmp, stepList, key)
2182 'GenSimHLBeamSpot14',
2210 'GenSimHLBeamSpot14',
2221 suffix =
'_PMXS1S2',
2226 def setupPU_(self, step, stepName, stepDict, k, properties):
2228 if '--pileup' in stepDict[stepName][k]:
2229 stepDict[stepName][k][
'--pileup'] =
'AVE_50_BX_25ns_m3p3' 2230 super(UpgradeWorkflowAdjustPU,self).
setupPU_(step, stepName, stepDict, k, properties)
2233 return super(UpgradeWorkflowAdjustPU,self).
condition(fragment, stepList, key, hasHarvest)
and '2026' in key
2239 'GenSimHLBeamSpot14',
2251 suffix =
'_PMXS1S2PR',
2256 def setup_(self, step, stepName, stepDict, k, properties):
2258 UpgradeWorkflowPremix.setup_(self, step, stepName, stepDict, k, properties)
2259 UpgradeWorkflow_ProdLike.setup_(self, step, stepName, stepDict, k, properties)
2264 for s
in d[
"-s"].
split(
","):
2265 if "DIGI:pdigi_valid" in s:
2266 tmpsteps.append(
"DIGI")
2270 "--eventcontent":
"PREMIXRAW"},
2272 stepDict[stepName][k] = d
2274 stepDict[stepName][k] =
merge([{
'--filein':
'file:step5.root',
'-s':
'NANO',
'--datatier':
'NANOAODSIM',
'--eventcontent':
'NANOEDMAODSIM'}, stepDict[step][k]])
2277 return UpgradeWorkflowPremix.condition(self, fragment, stepList, key, hasHarvest)
and UpgradeWorkflow_ProdLike.condition(self, fragment, stepList, key, hasHarvest)
2295 'HARVESTNanoFakeHLT',
2299 suffix =
'_PMXS2ProdLike',
2308 'GenSimHLBeamSpot14',
2322 'HARVESTNanoFakeHLT',
2326 suffix =
'_PMXS1S2ProdLike',
2331 def setup_(self, step, stepName, stepDict, k, properties):
2332 if 'HARVESTFastRun3' in step:
2333 stepDict[stepName][k] =
merge([{
'-s':
'HARVESTING:@trackingOnlyValidation+@trackingOnlyDQM',
2335 '--era':
'Run3_FastSim',
2336 '--filein':
'file:step1_inDQM.root'}, stepDict[step][k]])
2338 stepDict[stepName][k] =
merge([stepDict[step][k]])
2340 return (
'2021FS' in key
or '2023FS' in key)
2351 suffix =
'_Run3FSTrackingOnly',
2356 def setup_(self, step, stepName, stepDict, k, properties):
2358 stepDict[stepName][k] =
merge([{
'-s':
'GEN,SIM,RECOBEFMIX',
2360 '--era':
'Run3_FastSim',
2361 '--eventcontent':
'FASTPU',
2362 '--datatier':
'GEN-SIM-RECO',
2363 '--relval':
'27000,3000'}, stepDict[step][k]])
2365 stepDict[stepName][k] =
None 2367 return (
'2021FS' in key
or '2023FS' in key)
and fragment==
"MinBias_14TeV" 2375 suffix =
'_Run3FSMBMixing',
2381 def setup_(self, step, stepName, stepDict, k, properties):
2382 if 'Run3' in stepDict[step][k][
'--era']
and 'Fast' not in stepDict[step][k][
'--era']:
2383 if '2023' in stepDict[step][k][
'--conditions']:
2384 stepDict[stepName][k] =
merge([{
'--geometry':
'DD4hepExtended2023'}, stepDict[step][k]])
2386 stepDict[stepName][k] =
merge([{
'--geometry':
'DD4hepExtended2021'}, stepDict[step][k]])
2387 elif 'Phase2' in stepDict[step][k][
'--era']:
2389 dd4hepGeom+=stepDict[step][k][
'--geometry']
2390 stepDict[stepName][k] =
merge([{
'--geometry' : dd4hepGeom,
'--procModifiers':
'dd4hep'}, stepDict[step][k]])
2392 return (
'2021' in key
or '2023' in key
or '2026' in key)
and (
'FS' not in key)
2397 'GenSimHLBeamSpot14',
2409 'HARVESTNanoFakeHLT',
2416 upgradeWFs[
'DD4hep'].allowReuse =
False 2421 def setup_(self, step, stepName, stepDict, k, properties):
2422 if 'Run3' in stepDict[step][k][
'--era']
and 'Fast' not in stepDict[step][k][
'--era']:
2423 stepDict[stepName][k] =
merge([{
'--conditions':
'auto:phase1_2022_realistic',
'--geometry':
'DB:Extended'}, stepDict[step][k]])
2425 return '2021' in key
and 'FS' not in key
2430 'GenSimHLBeamSpot14',
2442 'HARVESTNanoFakeHLT',
2446 suffix =
'_DD4hepDB',
2449 upgradeWFs[
'DD4hepDB'].allowReuse =
False 2452 def setup_(self, step, stepName, stepDict, k, properties):
2453 the_era = stepDict[step][k][
'--era']
2454 if 'Run3' in the_era
and '2023' not in the_era
and 'Fast' not in the_era
and "Pb" not in the_era:
2456 tmp_eras = the_era.split(
',')
2457 tmp_eras[tmp_eras.index(
"Run3")] =
'Run3_DDD' 2458 tmp_eras =
','.
join(tmp_eras)
2459 stepDict[stepName][k] =
merge([{
'--conditions':
'auto:phase1_2022_realistic_ddd',
'--geometry':
'DB:Extended',
'--era': tmp_eras}, stepDict[step][k]])
2461 return '2021' in key
and 'FS' not in key
2466 'GenSimHLBeamSpot14',
2478 'HARVESTNanoFakeHLT',
2485 upgradeWFs[
'DDDDB'].allowReuse =
False 2488 def setup_(self, step, stepName, stepDict, k, properties):
2489 stepDict[stepName][k] =
merge([{
'--procModifiers':
'allSonicTriton'}, stepDict[step][k]])
2491 return (fragment==
'TTbar_13' and '2021' in key) \
2492 or (fragment==
'TTbar_14TeV' and '2026' in key)
2497 'GenSimHLBeamSpot14',
2509 'HARVESTNanoFakeHLT',
2515 'GenSimHLBeamSpot14',
2527 'HARVESTNanoFakeHLT',
2530 suffix =
'_SonicTriton',
2535 offsets = [specialWF.offset
for specialType,specialWF
in upgradeWFs.items()]
2537 dups = set(x
for x
in offsets
if x
in seen
or seen.add(x))
2539 raise ValueError(
"Duplicate special workflow offsets not allowed: "+
','.
join([
str(x)
for x
in dups]))
2541 upgradeProperties = {}
2543 upgradeProperties[2017] = {
2545 'Geom' :
'DB:Extended',
2546 'GT' :
'auto:phase1_2017_realistic',
2547 'HLTmenu':
'@relval2017',
2548 'Era' :
'Run2_2017',
2549 'ScenToRun' : [
'GenSim',
'Digi',
'RecoFakeHLT',
'HARVESTFakeHLT',
'ALCA',
'Nano'],
2552 'Geom' :
'DB:Extended',
2553 'GT' :
'auto:phase1_2017_design',
2554 'HLTmenu':
'@relval2017',
2555 'Era' :
'Run2_2017',
2556 'BeamSpot':
'GaussSigmaZ4cm',
2557 'ScenToRun' : [
'GenSim',
'Digi',
'RecoFakeHLT',
'HARVESTFakeHLT'],
2560 'Geom' :
'DB:Extended',
2561 'GT' :
'auto:phase1_2018_realistic',
2562 'HLTmenu':
'@relval2018',
2563 'Era' :
'Run2_2018',
2564 'BeamSpot':
'Realistic25ns13TeVEarly2018Collision',
2565 'ScenToRun' : [
'GenSim',
'Digi',
'RecoFakeHLT',
'HARVESTFakeHLT',
'ALCA',
'Nano'],
2568 'Geom' :
'DB:Extended',
2569 'GT' :
'auto:phase1_2018_design',
2570 'HLTmenu':
'@relval2018',
2571 'Era' :
'Run2_2018',
2572 'BeamSpot':
'GaussSigmaZ4cm',
2573 'ScenToRun' : [
'GenSim',
'Digi',
'RecoFakeHLT',
'HARVESTFakeHLT'],
2576 'Geom' :
'DB:Extended',
2577 'GT' :
'auto:phase1_2022_realistic',
2578 'HLTmenu':
'@relval2022',
2580 'BeamSpot':
'Realistic25ns13p6TeVEOY2022Collision',
2581 'ScenToRun' : [
'GenSim',
'Digi',
'RecoNanoFakeHLT',
'HARVESTNanoFakeHLT',
'ALCA'],
2584 'Geom' :
'DB:Extended',
2585 'GT' :
'auto:phase1_2022_design',
2586 'HLTmenu':
'@relval2022',
2588 'BeamSpot':
'GaussSigmaZ4cm',
2589 'ScenToRun' : [
'GenSim',
'Digi',
'RecoNanoFakeHLT',
'HARVESTNanoFakeHLT'],
2592 'Geom' :
'DB:Extended',
2593 'GT' :
'auto:phase1_2023_realistic',
2594 'HLTmenu':
'@relval2023',
2595 'Era' :
'Run3_2023',
2596 'BeamSpot':
'Realistic25ns13p6TeVEarly2023Collision',
2597 'ScenToRun' : [
'GenSim',
'Digi',
'RecoNano',
'HARVESTNano',
'ALCA'],
2600 'Geom' :
'DB:Extended',
2601 'GT' :
'auto:phase1_2024_realistic',
2602 'HLTmenu':
'@relval2023',
2604 'BeamSpot':
'Realistic25ns13p6TeVEarly2022Collision',
2605 'ScenToRun' : [
'GenSim',
'Digi',
'RecoNano',
'HARVESTNano',
'ALCA'],
2608 'Geom' :
'DB:Extended',
2609 'GT' :
'auto:phase1_2022_realistic',
2610 'HLTmenu':
'@relval2022',
2611 'Era' :
'Run3_FastSim',
2612 'BeamSpot':
'Realistic25ns13p6TeVEarly2022Collision',
2613 'ScenToRun' : [
'Gen',
'FastSimRun3',
'HARVESTFastRun3'],
2616 'Geom' :
'DB:Extended',
2617 'GT' :
'auto:phase1_2022_realistic_postEE',
2618 'HLTmenu':
'@relval2022',
2620 'BeamSpot':
'Realistic25ns13p6TeVEarly2022Collision',
2621 'ScenToRun' : [
'GenSim',
'Digi',
'RecoNanoFakeHLT',
'HARVESTNanoFakeHLT',
'ALCA'],
2624 'Geom' :
'DB:Extended',
2625 'GT' :
'auto:phase1_2023_realistic',
2626 'HLTmenu':
'@relval2023',
2627 'Era' :
'Run3_2023_FastSim',
2628 'BeamSpot':
'Realistic25ns13p6TeVEarly2023Collision',
2629 'ScenToRun' : [
'Gen',
'FastSimRun3',
'HARVESTFastRun3'],
2632 'Geom' :
'DB:Extended',
2633 'GT':
'auto:phase1_2022_realistic_hi',
2634 'HLTmenu':
'@fake2',
2635 'Era':
'Run3_pp_on_PbPb',
2636 'BeamSpot':
'Realistic2022PbPbCollision',
2637 'ScenToRun' : [
'GenSim',
'Digi',
'RecoNano',
'HARVESTNano',
'ALCA'],
2640 'Geom' :
'DB:Extended',
2641 'GT':
'auto:phase1_2022_realistic_hi',
2642 'HLTmenu':
'@fake2',
2643 'Era':
'Run3_pp_on_PbPb_approxSiStripClusters',
2644 'BeamSpot':
'Realistic2022PbPbCollision',
2645 'ScenToRun' : [
'GenSim',
'Digi',
'RecoNano',
'HARVESTNano',
'ALCA'],
2648 'Geom' :
'DB:Extended',
2649 'GT':
'auto:phase1_2023_realistic_hi',
2650 'HLTmenu':
'@fake2',
2651 'Era':
'Run3_pp_on_PbPb',
2652 'BeamSpot':
'Realistic2022PbPbCollision',
2653 'ScenToRun' : [
'GenSim',
'Digi',
'RecoNano',
'HARVESTNano',
'ALCA'],
2656 'Geom' :
'DB:Extended',
2657 'GT':
'auto:phase1_2023_realistic_hi',
2658 'HLTmenu':
'@fake2',
2659 'Era':
'Run3_pp_on_PbPb_approxSiStripClusters',
2660 'BeamSpot':
'Realistic2022PbPbCollision',
2661 'ScenToRun' : [
'GenSim',
'Digi',
'RecoNano',
'HARVESTNano',
'ALCA'],
2666 for key
in list(upgradeProperties[2017].
keys()):
2667 upgradeProperties[2017][key+
'PU'] = deepcopy(upgradeProperties[2017][key])
2670 scenToRun = upgradeProperties[2017][key+
'PU'][
'ScenToRun']
2671 for idx,val
in enumerate(scenToRun):
2673 scenToRun[idx] +=
'PU'*(val.startswith(
'Digi')
or val.startswith(
'Reco')
or val.startswith(
'HARVEST'))
2675 upgradeProperties[2017][key+
'PU'][
'ScenToRun'] = [foo
for foo
in scenToRun
if foo !=
'ALCA']
2677 upgradeProperties[2017][key+
'PU'][
'ScenToRun'] = [
'Gen',
'FastSimRun3PU',
'HARVESTFastRun3PU']
2679 upgradeProperties[2026] = {
2681 'Geom' :
'Extended2026D86',
2682 'HLTmenu':
'@fake2',
2683 'GT' :
'auto:phase2_realistic_T21',
2684 'Era' :
'Phase2C17I13M9',
2685 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2688 'Geom' :
'Extended2026D88',
2689 'HLTmenu':
'@relval2026',
2690 'GT' :
'auto:phase2_realistic_T21',
2691 'Era' :
'Phase2C17I13M9',
2692 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2695 'Geom' :
'Extended2026D91',
2696 'HLTmenu':
'@fake2',
2697 'GT' :
'auto:phase2_realistic_T30',
2698 'Era' :
'Phase2C17I13M9',
2699 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2702 'Geom' :
'Extended2026D92',
2703 'HLTmenu':
'@fake2',
2704 'GT' :
'auto:phase2_realistic_T21',
2705 'Era' :
'Phase2C17I13M9',
2706 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2709 'Geom' :
'Extended2026D93',
2710 'HLTmenu':
'@fake2',
2711 'GT' :
'auto:phase2_realistic_T21',
2712 'Era' :
'Phase2C17I13M9',
2713 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2716 'Geom' :
'Extended2026D94',
2717 'HLTmenu':
'@fake2',
2718 'GT' :
'auto:phase2_realistic_T21',
2719 'Era' :
'Phase2C20I13M9',
2720 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2723 'Geom' :
'Extended2026D95',
2724 'HLTmenu':
'@relval2026',
2725 'GT' :
'auto:phase2_realistic_T21',
2726 'Era' :
'Phase2C17I13M9',
2727 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2730 'Geom' :
'Extended2026D96',
2731 'HLTmenu':
'@fake2',
2732 'GT' :
'auto:phase2_realistic_T21',
2733 'Era' :
'Phase2C17I13M9',
2734 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2737 'Geom' :
'Extended2026D97',
2738 'HLTmenu':
'@fake2',
2739 'GT' :
'auto:phase2_realistic_T25',
2740 'Era' :
'Phase2C17I13M9',
2741 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2744 'Geom' :
'Extended2026D98',
2745 'HLTmenu':
'@relval2026',
2746 'GT' :
'auto:phase2_realistic_T25',
2747 'Era' :
'Phase2C17I13M9',
2748 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2751 'Geom' :
'Extended2026D99',
2752 'HLTmenu':
'@relval2026',
2753 'GT' :
'auto:phase2_realistic_T25',
2754 'Era' :
'Phase2C17I13M9',
2755 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2758 'Geom' :
'Extended2026D100',
2759 'HLTmenu':
'@fake2',
2760 'GT' :
'auto:phase2_realistic_T33',
2761 'Era' :
'Phase2C17I13M9',
2762 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2765 'Geom' :
'Extended2026D101',
2766 'HLTmenu':
'@relval2026',
2767 'GT' :
'auto:phase2_realistic_T25',
2768 'Era' :
'Phase2C17I13M9',
2769 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2774 for key
in list(upgradeProperties[2026].
keys()):
2775 upgradeProperties[2026][key+
'PU'] = deepcopy(upgradeProperties[2026][key])
2776 upgradeProperties[2026][key+
'PU'][
'ScenToRun'] = [
'GenSimHLBeamSpot',
'DigiTriggerPU',
'RecoGlobalPU',
'HARVESTGlobalPU']
2779 defaultDataSets = {}
2780 for year
in upgradeKeys:
2781 for key
in upgradeKeys[year]:
2782 if 'PU' in key:
continue 2783 defaultDataSets[key] =
'' 2791 upgradeFragments = OrderedDict([
2793 (
'SingleElectronPt10_pythia8_cfi',
UpgradeFragment(
Kby(9,100),
'SingleElectronPt10')),
2794 (
'SingleElectronPt35_pythia8_cfi',
UpgradeFragment(
Kby(9,100),
'SingleElectronPt35')),
2795 (
'SingleElectronPt1000_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'SingleElectronPt1000')),
2802 (
'FourMuExtendedPt_1_200_pythia8_cfi',
UpgradeFragment(
Kby(10,100),
'FourMuExtendedPt1_200')),
2803 (
'TenMuExtendedE_0_200_pythia8_cfi',
UpgradeFragment(
Kby(10,100),
'TenMuExtendedE_0_200')),
2804 (
'DoubleElectronPt10Extended_pythia8_cfi',
UpgradeFragment(
Kby(9,100),
'SingleElPt10Extended')),
2805 (
'DoubleElectronPt35Extended_pythia8_cfi',
UpgradeFragment(
Kby(9,100),
'SingleElPt35Extended')),
2806 (
'DoubleElectronPt1000Extended_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'SingleElPt1000Extended')),
2807 (
'DoubleGammaPt10Extended_pythia8_cfi',
UpgradeFragment(
Kby(9,100),
'SingleGammaPt10Extended')),
2808 (
'DoubleGammaPt35Extended_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'SingleGammaPt35Extended')),
2809 (
'DoubleMuPt1Extended_pythia8_cfi',
UpgradeFragment(
Kby(25,100),
'SingleMuPt1Extended')),
2810 (
'DoubleMuPt10Extended_pythia8_cfi',
UpgradeFragment(
Kby(25,100),
'SingleMuPt10Extended')),
2811 (
'DoubleMuPt100Extended_pythia8_cfi',
UpgradeFragment(
Kby(9,100),
'SingleMuPt100Extended')),
2812 (
'DoubleMuPt1000Extended_pythia8_cfi',
UpgradeFragment(
Kby(9,100),
'SingleMuPt1000Extended')),
2815 (
'MinBias_13TeV_pythia8_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(90,100),
'MinBias_13')),
2818 (
'QCD_Pt_600_800_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'QCD_Pt_600_800_13')),
2819 (
'Wjet_Pt_80_120_14TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,100),
'Wjet_Pt_80_120_14TeV')),
2820 (
'Wjet_Pt_3000_3500_14TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'Wjet_Pt_3000_3500_14TeV')),
2822 (
'QCD_Pt_3000_3500_14TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'QCD_Pt_3000_3500_14TeV')),
2823 (
'QCD_Pt_80_120_14TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,100),
'QCD_Pt_80_120_14TeV')),
2824 (
'H200ChargedTaus_Tauola_14TeV_cfi',
UpgradeFragment(
Kby(9,100),
'Higgs200ChargedTaus_14TeV')),
2828 (
'ZTT_Tauola_All_hadronic_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(9,100),
'ZTT_14TeV')),
2829 (
'H130GGgluonfusion_14TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,100),
'H130GGgluonfusion_14TeV')),
2830 (
'PhotonJet_Pt_10_14TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,100),
'PhotonJets_Pt_10_14TeV')),
2831 (
'QQH1352T_Tauola_14TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,100),
'QQH1352T_Tauola_14TeV')),
2835 (
'QCDForPF_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(50,100),
'QCD_FlatPt_15_3000HS_14')),
2837 (
'DYToTauTau_M-50_14TeV_pythia8_tauola_cff',
UpgradeFragment(
Kby(9,100),
'DYtoTauTau_M_50_14TeV')),
2839 (
'QCD_Pt_80_120_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,100),
'QCD_Pt_80_120_13')),
2840 (
'H125GGgluonfusion_13TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(9,50),
'H125GGgluonfusion_13')),
2841 (
'QCD_Pt20toInf_MuEnrichedPt15_14TeV_TuneCP5_cff',
UpgradeFragment(
Kby(19565, 217391),
'QCD_Pt20toInfMuEnrichPt15_14')),
2843 (
'QCD_Pt15To7000_Flat_14TeV_TuneCP5_cff',
UpgradeFragment(
Kby(9,50),
'QCD_Pt15To7000_Flat_14')),
2844 (
'H125GGgluonfusion_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(9,50),
'H125GGgluonfusion_14')),
2845 (
'QCD_Pt_600_800_14TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'QCD_Pt_600_800_14')),
2848 (
'H200ChargedTaus_Tauola_13TeV_cfi',
UpgradeFragment(
Kby(9,50),
'Higgs200ChargedTaus_13')),
2849 (
'ADDMonoJet_13TeV_d3MD3_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'ADDMonoJet_d3MD3_13')),
2851 (
'QCD_Pt_3000_3500_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'QCD_Pt_3000_3500_13')),
2858 (
'PhotonJet_Pt_10_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'PhotonJets_Pt_10_13')),
2860 (
'Wjet_Pt_80_120_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'Wjet_Pt_80_120_13')),
2861 (
'Wjet_Pt_3000_3500_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'Wjet_Pt_3000_3500_13')),
2862 (
'SMS-T1tttt_mGl-1500_mLSP-100_13TeV-pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'SMS-T1tttt_mGl-1500_mLSP-100_13')),
2863 (
'QCDForPF_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(50,100),
'QCD_FlatPt_15_3000HS_13')),
2864 (
'PYTHIA8_PhiToMuMu_TuneCUETP8M1_13TeV_cff',
UpgradeFragment(
Kby(9,50),
'PhiToMuMu_13')),
2865 (
'RSKKGluon_m3000GeV_13TeV_TuneCUETP8M1_cff',
UpgradeFragment(
Kby(9,50),
'RSKKGluon_m3000GeV_13')),
2869 (
'Upsilon1SToMuMu_forSTEAM_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'Upsilon1SToMuMu_13')),
2870 (
'EtaBToJpsiJpsi_forSTEAM_TuneCUEP8M1_13TeV_cfi',
UpgradeFragment(
Kby(9,50),
'EtaBToJpsiJpsi_13')),
2871 (
'JpsiMuMu_Pt-8_forSTEAM_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(3100,100000),
'JpsiMuMu_Pt-8')),
2872 (
'BuMixing_BMuonFilter_forSTEAM_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(900,10000),
'BuMixing_13')),
2873 (
'HSCPstop_M_200_TuneCUETP8M1_13TeV_pythia8_cff',
UpgradeFragment(
Kby(9,50),
'HSCPstop_M_200_13')),
2874 (
'RSGravitonToGammaGamma_kMpl01_M_3000_TuneCUETP8M1_13TeV_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'RSGravitonToGaGa_13')),
2875 (
'WprimeToENu_M-2000_TuneCUETP8M1_13TeV-pythia8_cff',
UpgradeFragment(
Kby(9,50),
'WpToENu_M-2000_13')),
2876 (
'DisplacedSUSY_stopToBottom_M_800_500mm_TuneCP5_13TeV_pythia8_cff',
UpgradeFragment(
Kby(9,50),
'DisplacedSUSY_stopToB_M_800_500mm_13')),
2878 (
'FlatRandomPtAndDxyGunProducer_cfi',
UpgradeFragment(
Kby(9,100),
'DisplacedMuonsDxy_0_500')),
2880 (
'SinglePiPt25Eta1p7_2p7_cfi',
UpgradeFragment(
Kby(9,100),
'SinglePiPt25Eta1p7_2p7')),
2881 (
'SingleMuPt15Eta1p7_2p7_cfi',
UpgradeFragment(
Kby(9,100),
'SingleMuPt15Eta1p7_2p7')),
2882 (
'SingleGammaPt25Eta1p7_2p7_cfi',
UpgradeFragment(
Kby(9,100),
'SingleGammaPt25Eta1p7_2p7')),
2883 (
'SingleElectronPt15Eta1p7_2p7_cfi',
UpgradeFragment(
Kby(9,100),
'SingleElectronPt15Eta1p7_2p7')),
2885 (
'CloseByParticle_Photon_ERZRanges_cfi',
UpgradeFragment(
Kby(9,100),
'CloseByParticleGun')),
2886 (
'CE_E_Front_300um_cfi',
UpgradeFragment(
Kby(9,100),
'CloseByPGun_CE_E_Front_300um')),
2887 (
'CE_E_Front_200um_cfi',
UpgradeFragment(
Kby(9,100),
'CloseByPGun_CE_E_Front_200um')),
2888 (
'CE_E_Front_120um_cfi',
UpgradeFragment(
Kby(9,100),
'CloseByPGun_CE_E_Front_120um')),
2892 (
'CE_H_Coarse_Scint_cfi',
UpgradeFragment(
Kby(9,100),
'CloseByPGun_CE_H_Coarse_Scint')),
2893 (
'CE_H_Coarse_300um_cfi',
UpgradeFragment(
Kby(9,100),
'CloseByPGun_CE_H_Coarse_300um')),
2894 (
'SingleElectronFlatPt2To100_cfi',
UpgradeFragment(
Kby(9,100),
'SingleEFlatPt2To100')),
2897 (
'SingleGammaFlatPt8To150_cfi',
UpgradeFragment(
Kby(9,100),
'SingleGammaFlatPt8To150')),
2900 (
'FlatRandomPtAndDxyGunProducer_MuPt2To10_cfi',
UpgradeFragment(
Kby(9,100),
'DisplacedMuPt2To10')),
2901 (
'FlatRandomPtAndDxyGunProducer_MuPt10To30_cfi',
UpgradeFragment(
Kby(9,100),
'DisplacedMuPt10To30')),
2902 (
'FlatRandomPtAndDxyGunProducer_MuPt30To100_cfi',
UpgradeFragment(
Kby(9,100),
'DisplacedMuPt30To100')),
2903 (
'B0ToKstarMuMu_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(304,3030),
'B0ToKstarMuMu_14TeV')),
2905 (
'BsToJpsiGamma_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(2500,25000),
'BsToJpsiGamma_14TeV')),
2906 (
'BsToJpsiPhi_mumuKK_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(910,9090),
'BsToJpsiPhi_mumuKK_14TeV')),
2908 (
'BsToPhiPhi_KKKK_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(556,5555),
'BsToPhiPhi_KKKK_14TeV')),
2909 (
'TauToMuMuMu_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(18939,189393),
'TauToMuMuMu_14TeV')),
2910 (
'BdToKstarEleEle_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(206,2061),
'BdToKstarEleEle_14TeV')),
2912 (
'BuMixing_BMuonFilter_forSTEAM_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(900,10000),
'BuMixing_14')),
2913 (
'Upsilon1SToMuMu_forSTEAM_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(9,50),
'Upsilon1SToMuMu_14')),
2914 (
'TenTau_E_15_500_Eta3p1_pythia8_cfi',
UpgradeFragment(
Kby(9,100),
'TenTau_15_500_Eta3p1')),
2915 (
'QCD_Pt_1800_2400_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(9,50),
'QCD_Pt_1800_2400_14')),
2916 (
'DisplacedSUSY_stopToBottom_M_800_500mm_TuneCP5_14TeV_pythia8_cff',
UpgradeFragment(
Kby(9,50),
'DisplacedSUSY_14TeV')),
2917 (
'GluGluTo2Jets_M_300_2000_14TeV_Exhume_cff',
UpgradeFragment(
Kby(9,100),
'GluGluTo2Jets_14TeV')),
2918 (
'TTbarToDilepton_mt172p5_TuneCP5_14TeV_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'TTbarToDilepton_14TeV')),
2919 (
'QQToHToTauTau_mh125_TuneCP5_14TeV_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'QQToHToTauTau_14TeV')),
2920 (
'ZpToEE_m6000_TuneCP5_14TeV_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'ZpToEE_m6000_14TeV')),
2921 (
'ZpToMM_m6000_TuneCP5_14TeV_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'ZpToMM_m6000_14TeV')),
2922 (
'SMS-T1tttt_mGl-1500_mLSP-100_TuneCP5_14TeV_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'SMS-T1tttt_14TeV')),
2923 (
'VBFHZZ4Nu_TuneCP5_14TeV_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'VBFHZZ4Nu_14TeV')),
2924 (
'EtaBToJpsiJpsi_14TeV_TuneCP5_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'EtaBToJpsiJpsi_14TeV')),
2926 (
'WprimeToLNu_M2000_14TeV_TuneCP5_pythia8_cfi',
UpgradeFragment(
Kby(21,50),
'WprimeToLNu_M2000_14TeV')),
2928 (
'DoubleElectronFlatPt1p5To8_cfi',
UpgradeFragment(
Kby(9,100),
'SingleElectronFlatPt1p5To8')),
2929 (
'DoubleMuFlatPt1p5To8Dxy100GunProducer_cfi',
UpgradeFragment(
Kby(9,100),
'DisplacedMuPt1p5To8Dxy100')),
2930 (
'DoubleMuFlatPt2To100Dxy100GunProducer_cfi',
UpgradeFragment(
Kby(9,100),
'DisplacedMuPt2To100Dxy100')),
2931 (
'BuToJPsiPrimeKToJPsiPiPiK_14TeV_TuneCP5_pythia8_cfi',
UpgradeFragment(
Kby(223,2222),
'BuToJPsiPrimeKToJPsiPiPiK_14TeV')),
2932 (
'Psi2SToJPsiPiPi_14TeV_TuneCP5_pythia8_cfi',
UpgradeFragment(
Kby(45,500),
'Psi2SToJPsiPiPi_14TeV')),
2933 (
'XiMinus_13p6TeV_SoftQCDInel_TuneCP5_cfi',
UpgradeFragment(
Kby(8000,90000),
'XiMinus_13p6TeV')),
2934 (
'Chib1PToUpsilon1SGamma_MuFilter_TuneCP5_14TeV-pythia8_evtgen_cfi',
UpgradeFragment(
Kby(3600,36000),
'Chib1PToUpsilon1SGamma_14TeV')),
2935 (
'ChicToJpsiGamma_MuFilter_TuneCP5_14TeV_pythia8_evtgen_cfi',
UpgradeFragment(
Kby(2000,20000),
'ChicToJpsiGamma_14TeV')),
2936 (
'B0ToJpsiK0s_JMM_Filter_DGamma0_TuneCP5_13p6TeV-pythia8-evtgen_cfi',
UpgradeFragment(
Kby(38000,38000),
'B0ToJpsiK0s_DGamma0_13p6TeV')),
2937 (
'DStarToD0Pi_D0ToKsPiPi_inclusive_SoftQCD_TuneCP5_13p6TeV-pythia8-evtgen',
UpgradeFragment(
Kby(38000,38000),
'DStarToD0Pi_D0ToKsPiPi_13p6TeV')),
2938 (
'LbToJpsiLambda_JMM_Filter_DGamma0_TuneCP5_13p6TeV-pythia8-evtgen_cfi',
UpgradeFragment(
Mby(66,660000),
'LbToJpsiLambda_DGamma0_13p6TeV')),
2939 (
'LbToJpsiXiK0sPi_JMM_Filter_DGamma0_TuneCP5_13p6TeV-pythia8-evtgen_cfi',
UpgradeFragment(
Mby(50,500000),
'LbToJpsiXiK0sPr_DGamma0_13p6TeV')),
2940 (
'OmegaMinus_13p6TeV_SoftQCDInel_TuneCP5_cfi',
UpgradeFragment(
Mby(100,1000000),
'OmegaMinus_13p6TeV')),
2941 (
'Hydjet_Quenched_MinBias_5020GeV_cfi',
UpgradeFragment(
Kby(9,100),
'HydjetQMinBias_5020GeV')),
2942 (
'Hydjet_Quenched_MinBias_5362GeV_cfi',
UpgradeFragment(
Kby(9,100),
'HydjetQMinBias_5362GeV'))
def condition(self, fragment, stepList, key, hasHarvest)
def setup_(self, step, stepName, stepDict, k, properties)
def condition(self, fragment, stepList, key, hasHarvest)
def setupPU_(self, step, stepName, stepDict, k, properties)
def condition(self, fragment, stepList, key, hasHarvest)
def setup_(self, step, stepName, stepDict, k, properties)
def condition(self, fragment, stepList, key, hasHarvest)
def setup_(self, step, stepName, stepDict, k, properties)
def setup_(self, step, stepName, stepDict, k, properties)
def setup_(self, step, stepName, stepDict, k, properties)
def setupPU_(self, step, stepName, stepDict, k, properties)
def setup_(self, step, stepName, stepDict, k, properties)
def condition(self, fragment, stepList, key, hasHarvest)
def setup_(self, step, stepName, stepDict, k, properties)
def condition(self, fragment, stepList, key, hasHarvest)
def condition(self, fragment, stepList, key, hasHarvest)
Wf to add Heavy Flavor DQM to whichever DQM is already there.
def setup_(self, step, stepName, stepDict, k, properties)
def setup_(self, step, stepName, stepDict, k, properties)
def setup_(self, step, stepName, stepDict, k, properties)
def setup_(self, step, stepName, stepDict, k, properties)
bool any(const std::vector< T > &v, const T &what)
def __init__(self, suffix, offset, ecalMod, steps=['GenSim', GenSimHLBeamSpot, GenSimHLBeamSpot14, GenSimHLBeamSpotHGCALCloseBy, Digi, DigiTrigger, PU=['GenSim', GenSimHLBeamSpot, GenSimHLBeamSpot14, GenSimHLBeamSpotHGCALCloseBy, Digi, DigiTrigger)
def setupPU(self, stepDict, k, properties)
def condition(self, fragment, stepList, key, hasHarvest)
def condition(self, fragment, stepList, key, hasHarvest)
def condition_(self, fragment, stepList, key, hasHarvest)
def condition(self, fragment, stepList, key, hasHarvest)
def condition(self, fragment, stepList, key, hasHarvest)
def setup_(self, step, stepName, stepDict, k, properties)
def setupPU_(self, step, stepName, stepDict, k, properties)
def replace(string, replacements)
def condition(self, fragment, stepList, key, hasHarvest)
def preventReuse(self, stepName, stepDict, k)
def condition(self, fragment, stepList, key, hasHarvest)
def condition(self, fragment, stepList, key, hasHarvest)
def setup_(self, step, stepName, stepDict, k, properties)
def workflow_(self, workflows, num, fragment, stepList, key)
def condition(self, fragment, stepList, key, hasHarvest)
def workflow_(self, workflows, num, fragment, stepList, key)
def setup_(self, step, stepName, stepDict, k, properties)
def __init__(self, reco={}, harvest={}, kwargs)
def setup_(self, step, stepName, stepDict, k, properties)
def condition(self, fragment, stepList, key, hasHarvest)
def condition(self, fragment, stepList, key, hasHarvest)
def condition_(self, fragment, stepList, key, hasHarvest)
def setup_(self, step, stepName, stepDict, k, properties)
def setup__(self, step, stepName, stepDict, k, properties)
def setup_(self, step, stepName, stepDict, k, properties)
def condition(self, fragment, stepList, key, hasHarvest)
def condition(self, fragment, stepList, key, hasHarvest)
def condition(self, fragment, stepList, key, hasHarvest)
def setupPU_(self, step, stepName, stepDict, k, properties)
def __init__(self, digi={}, reco={}, harvest={}, kwargs)
def __init__(self, howMuch, dataset)
def condition(self, fragment, stepList, key, hasHarvest)
def setup_(self, step, stepName, stepDict, k, properties)
def workflow(self, workflows, num, fragment, stepList, key, hasHarvest)
def setup_(self, step, stepName, stepDict, k, properties)
def setup_(self, step, stepName, stepDict, k, properties)
def condition(self, fragment, stepList, key, hasHarvest)
def setup_(self, step, stepName, stepDict, k, properties)
def condition(self, fragment, stepList, key, hasHarvest)
def setup_(self, step, stepName, stepDict, k, properties)
def setup_(self, step, stepName, stepDict, k, properties)
def setup_(self, step, stepName, stepDict, k, properties)
def condition(self, fragment, stepList, key, hasHarvest)
def condition(self, fragment, stepList, key, hasHarvest)
def setup__(self, step, stepName, stepDict, k, properties)
def condition(self, fragment, stepList, key, hasHarvest)
def setupPU_(self, step, stepName, stepDict, k, properties)
def setup_(self, step, stepName, stepDict, k, properties)
def __init__(self, digi={}, reco={}, mini={}, harvest={}, kwargs)
def setup_(self, step, stepName, stepDict, k, properties)
def setup__(self, step, stepName, stepDict, k, properties)
def condition(self, fragment, stepList, key, hasHarvest)
def split(sequence, size)
def condition_(self, fragment, stepList, key, hasHarvest)
def setup_(self, step, stepName, stepDict, k, properties)
def setup__(self, step, stepName, stepDict, k, properties)
def condition_(self, fragment, stepList, key, hasHarvest)
def setup_(self, step, stepName, stepDict, k, properties)
static std::string join(char **cmd)
def condition(self, fragment, stepList, key, hasHarvest)
def setup_(self, step, stepName, stepDict, k, properties)
def setup_(self, step, stepName, stepDict, k, properties)
def condition(self, fragment, stepList, key, hasHarvest)
def setup_(self, step, stepName, stepDict, k, properties)
def setup(self, stepDict, k, properties)
def condition(self, fragment, stepList, key, hasHarvest)
def condition_(self, fragment, stepList, key, hasHarvest)
def setup__(self, step, stepName, stepDict, k, properties)
def setup__(self, step, stepName, stepDict, k, properties)
def getStepName(self, step, extra="")
def setup_(self, step, stepName, stepDict, k, properties)
def setup_(self, step, stepName, stepDict, k, properties)
def condition(self, fragment, stepList, key, hasHarvest)
def condition(self, fragment, stepList, key, hasHarvest)
def setup_(self, step, stepName, stepDict, k, properties)
def condition_(self, fragment, stepList, key, hasHarvest)
def setup_(self, step, stepName, stepDict, k, properties)
def Kby(N, s)
Standard release validation samples ####.
def __init__(self, steps, PU, suffix, offset)
def __init__(self, steps, PU, suffix, offset)
def setup_(self, step, stepName, stepDict, k, properties)
def condition(self, fragment, stepList, key, hasHarvest)
def setup__(self, step, stepName, stepDict, k, properties)
def setup_(self, step, stepName, stepDict, k, properties)
def condition(self, fragment, stepList, key, hasHarvest)
def condition(self, fragment, stepList, key, hasHarvest)
def __init__(self, suffix, offset, fixedPU, steps=[], PU=['GenSimHLBeamSpot14', Digi, DigiTrigger, Reco, RecoFakeHLT, RecoGlobal, RecoNano, RecoNanoFakeHLT, HARVEST, HARVESTFakeHLT, HARVESTGlobal, HARVESTNano, HARVESTNanoFakeHLT, MiniAOD, ALCA, ALCAPhase2, Nano)
def condition(self, fragment, stepList, key, hasHarvest)
def condition(self, fragment, stepList, key, hasHarvest)
def condition(self, fragment, stepList, key, hasHarvest)
def condition(self, fragment, stepList, key, hasHarvest)
def setup__(self, step, stepName, stepDict, k, properties)
def getStepNamePU(self, step, extra="")
def condition_(self, fragment, stepList, key, hasHarvest)
def condition(self, fragment, stepList, key, hasHarvest)