@@ -772,7 +772,7 @@ def condition(self, fragment, stepList, key, hasHarvest):
772
772
# - 2023 conditions, Z->mumu
773
773
# - 2026D88 conditions, TTbar
774
774
class PatatrackWorkflow (UpgradeWorkflow ):
775
- def __init__ (self , digi = {}, reco = {}, harvest = {}, ** kwargs ):
775
+ def __init__ (self , digi = {}, reco = {}, mini = {}, harvest = {}, ** kwargs ):
776
776
# adapt the parameters for the UpgradeWorkflow init method
777
777
super (PatatrackWorkflow , self ).__init__ (
778
778
steps = [
@@ -788,6 +788,7 @@ def __init__(self, digi = {}, reco = {}, harvest = {}, **kwargs):
788
788
'RecoNanoFakeHLT' ,
789
789
'HARVESTNano' ,
790
790
'HARVESTNanoFakeHLT' ,
791
+ 'MiniAOD' ,
791
792
'Nano' ,
792
793
'ALCA' ,
793
794
'ALCAPhase2'
@@ -805,17 +806,20 @@ def __init__(self, digi = {}, reco = {}, harvest = {}, **kwargs):
805
806
'RecoNanoFakeHLT' ,
806
807
'HARVESTNano' ,
807
808
'HARVESTNanoFakeHLT' ,
809
+ 'MiniAOD' ,
808
810
'Nano' ,
809
811
'ALCA' ,
810
812
'ALCAPhase2'
811
813
],
812
814
** kwargs )
813
815
self .__digi = digi
814
816
self .__reco = reco
815
- self .__reco .update ({
816
- '--datatier' : 'GEN-SIM-RECO,DQMIO' ,
817
- '--eventcontent' : 'RECOSIM,DQM'
818
- })
817
+ if 'DQM' in self .__reco :
818
+ self .__reco .update ({
819
+ '--datatier' : 'GEN-SIM-RECO,DQMIO' ,
820
+ '--eventcontent' : 'RECOSIM,DQM'
821
+ })
822
+ self .__mini = mini
819
823
self .__harvest = harvest
820
824
821
825
def condition (self , fragment , stepList , key , hasHarvest ):
@@ -847,6 +851,11 @@ def setup_(self, step, stepName, stepDict, k, properties):
847
851
stepDict [stepName ][k ] = None
848
852
else :
849
853
stepDict [stepName ][k ] = merge ([self .__reco , stepDict [step ][k ]])
854
+ elif 'MiniAOD' in step :
855
+ if self .__mini is None :
856
+ stepDict [stepName ][k ] = None
857
+ else :
858
+ stepDict [stepName ][k ] = merge ([self .__mini , stepDict [step ][k ]])
850
859
elif 'HARVEST' in step :
851
860
if self .__harvest is None :
852
861
stepDict [stepName ][k ] = None
@@ -1390,6 +1399,25 @@ def setup_(self, step, stepName, stepDict, k, properties):
1390
1399
suffix = 'Patatrack_FullRecoTripletsCPU' ,
1391
1400
offset = 0.595 ,
1392
1401
)
1402
+ # - ProdLike
1403
+ upgradeWFs ['PatatrackFullRecoTripletsCPUProdLike' ] = PatatrackWorkflow (
1404
+ digi = {
1405
+ # the HLT menu is already set up for using GPUs if available and if the "gpu" modifier is enabled
1406
+ '--datatier' :'GEN-SIM-RAW' ,
1407
+ '--eventcontent' :'RAWSIM' ,
1408
+ },
1409
+ reco = {
1410
+ # skip the @pixelTrackingOnlyValidation which cannot run together with the full reconstruction
1411
+ '-s' : 'RAW2DIGI:RawToDigi+RawToDigi_pixelOnly,L1Reco,RECO:reconstruction+reconstruction_pixelTrackingOnly,RECOSIM' ,
1412
+ '--procModifiers' : 'pixelNtupletFit' ,
1413
+ '--customise' : 'RecoTracker/Configuration/customizePixelTracksForTriplets.customizePixelTracksForTriplets' ,
1414
+ '--datatier' :'AODSIM' ,
1415
+ '--eventcontent' :'AODSIM' ,
1416
+ },
1417
+ harvest = None ,
1418
+ suffix = 'Patatrack_FullRecoTripletsCPUProdLike' ,
1419
+ offset = 0.59521 ,
1420
+ )
1393
1421
1394
1422
# Workflow running the Pixel triplets, ECAL and HCAL reconstruction on GPU (optional), together with the full offline reconstruction on CPU
1395
1423
# - HLT on GPU (optional)
@@ -1412,6 +1440,26 @@ def setup_(self, step, stepName, stepDict, k, properties):
1412
1440
suffix = 'Patatrack_FullRecoTripletsGPU' ,
1413
1441
offset = 0.596 ,
1414
1442
)
1443
+ # - ProdLike
1444
+ upgradeWFs ['PatatrackFullRecoTripletsGPUProdLike' ] = PatatrackWorkflow (
1445
+ digi = {
1446
+ # the HLT menu is already set up for using GPUs if available and if the "gpu" modifier is enabled
1447
+ '--procModifiers' : 'gpu' ,
1448
+ '--datatier' :'GEN-SIM-RAW' ,
1449
+ '--eventcontent' :'RAWSIM' ,
1450
+ },
1451
+ reco = {
1452
+ # skip the @pixelTrackingOnlyValidation which cannot run together with the full reconstruction
1453
+ '-s' : 'RAW2DIGI:RawToDigi+RawToDigi_pixelOnly,L1Reco,RECO:reconstruction+reconstruction_pixelTrackingOnly,RECOSIM' ,
1454
+ '--procModifiers' : 'pixelNtupletFit,gpu' ,
1455
+ '--customise' : 'RecoTracker/Configuration/customizePixelTracksForTriplets.customizePixelTracksForTriplets' ,
1456
+ '--datatier' :'AODSIM' ,
1457
+ '--eventcontent' :'AODSIM' ,
1458
+ },
1459
+ harvest = None ,
1460
+ suffix = 'Patatrack_FullRecoTripletsGPUProdLike' ,
1461
+ offset = 0.59621 ,
1462
+ )
1415
1463
1416
1464
# Workflow running the Pixel triplets, ECAL and HCAL reconstruction on CPU and GPU, together with the full offline reconstruction on CPU
1417
1465
# - HLT on GPU (required)
@@ -1437,7 +1485,6 @@ def setup_(self, step, stepName, stepDict, k, properties):
1437
1485
offset = 0.597 ,
1438
1486
)
1439
1487
1440
-
1441
1488
# end of Patatrack workflows
1442
1489
1443
1490
class UpgradeWorkflow_ProdLike (UpgradeWorkflow ):
0 commit comments