Skip to content

Commit ef3896f

Browse files
committed
TeVJet RelVal 2024 Wfs
1 parent e890291 commit ef3896f

File tree

3 files changed

+49
-12
lines changed

3 files changed

+49
-12
lines changed

Configuration/PyReleaseValidation/python/relval_data_highstats.py

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
## Here we define fixed high stats data workflows
88
## not to be run as default. 10k, 50k, 150k, 250k, 500k or 1M events each
99

10-
offset_era = 0.1 # less than 10 eras per year
10+
offset_era = 0.1 # less than 10 eras per year (hopefully!)
1111
offset_pd = 0.001 # less than 100 pds per year
1212
offset_events = 0.0001 # less than 10 event setups (10k,50k,150k,250k,500k,1M)
1313

@@ -21,13 +21,20 @@
2121
wf_number = wf_number + offset_pd * p_n
2222
wf_number = wf_number + offset_events * evs
2323
wf_number = round(wf_number,6)
24-
step_name = 'Run' + pd.replace('ParkingDouble','Park2') + era.split('Run')[1] + '_' + e_key
25-
y = str(int(base_wf))
26-
suff = 'ZB_' if 'ZeroBias' in step_name else ''
24+
25+
## Here we use JetMET1 PD to run the TeVJet skims
26+
skim = 'TeVJet' if pd == 'JetMET1' else ''
27+
28+
## ZeroBias have their own HARVESTING
29+
suff = 'ZB_' if 'ZeroBias' in pd else ''
30+
2731
# Running C,D,E with the offline GT.
2832
# Could be removed once 2025 wfs are in and we'll test the online GT with them
2933
recosetup = 'RECONANORUN3_' + suff + 'reHLT_2024'
3034
recosetup = recosetup if era[-1] > 'E' else recosetup + '_Offline'
35+
36+
y = str(int(base_wf))
37+
step_name = 'Run' + pd.replace('ParkingDouble','Park2') + era.split('Run')[1] + skim + '_' + e_key
3138
workflows[wf_number] = ['',[step_name,'HLTDR3_' + y,'RECONANORUN3_' + suff + 'reHLT_'+y,'HARVESTRUN3_' + suff + y]]
3239

3340
## 2023

Configuration/PyReleaseValidation/python/relval_standard.py

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,12 +581,28 @@
581581

582582
for e_n,era in enumerate(era_mask_2024):
583583
for p_n,pd in enumerate(pds_2024):
584+
585+
# JetMET1 PD is used to run the TeVJet skims
586+
# we don't really need it here
587+
# (also as is the numbering conflicts with
588+
# the scouting wf below, so if we really want to
589+
# extend the pds for standar relvals for 2024 data
590+
# one needs to change the 145.415 below)
591+
if pd == 'JetMET1':
592+
continue
593+
584594
wf_number = round(base_wf + offset_era * e_n + offset_pd * p_n,3)
585595
dataset = '/' + pd + '/' + era + '-v1/RAW'
586-
step_name = 'Run' + pd.replace('ParkingDouble','Park2') + era.split('Run')[1]
596+
597+
## ZeroBias have their own HARVESTING
587598
suff = 'ZB_' if 'ZeroBias' in step_name else ''
599+
600+
# Running C,D,E with the offline GT.
601+
# Could be removed once 2025 wfs are in and we'll test the online GT with them
588602
recosetup = 'RECONANORUN3_' + suff + 'reHLT_2024'
589603
recosetup = recosetup if era[-1] > 'E' else recosetup + '_Offline'
604+
605+
step_name = 'Run' + pd.replace('ParkingDouble','Park2') + era.split('Run')[1]
590606
workflows[wf_number] = ['',[step_name,'HLTDR3_2024',recosetup,'HARVESTRUN3_' + suff + '2024']]
591607

592608
## special HLT scouting workflow (with hardcoded private input file from ScoutingPFMonitor skimmed to remove all events without scouting)

Configuration/PyReleaseValidation/python/relval_steps.py

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -655,14 +655,22 @@
655655
# the files used as input
656656

657657
###2024
658-
659-
pds_2024 = ['BTagMu', 'DisplacedJet', 'EGamma0', 'HcalNZS', 'JetMET0', 'Muon0', 'MuonEG', 'NoBPTX', 'ParkingDoubleMuonLowMass0', 'ParkingHH', 'ParkingLLP', 'ParkingSingleMuon0', 'ParkingVBF0', 'Tau', 'ZeroBias']
658+
## N.B. here we use JetMet0 as "starndard" PD and JetMET1 for the TeVJet skims
659+
pds_2024 = ['BTagMu', 'DisplacedJet', 'EGamma0', 'HcalNZS', 'JetMET0', 'Muon0', 'MuonEG', 'NoBPTX', 'ParkingDoubleMuonLowMass0', 'ParkingHH', 'ParkingLLP', 'ParkingSingleMuon0', 'ParkingVBF0', 'Tau', 'ZeroBias','JetMET1']
660660
eras_2024 = ['Run2024B', 'Run2024C', 'Run2024D', 'Run2024E', 'Run2024F','Run2024G','Run2024H','Run2024I']
661661
for era in eras_2024:
662662
for pd in pds_2024:
663-
dataset = "/" + pd + "/" + era + "-v1/RAW"
663+
dataset = "/" + pd + "/" + era
664+
skim = ''
665+
666+
if pd == 'JetMET1':
667+
dataset = dataset + '-TeVJet-PromptReco-v1/RAW-RECO'
668+
skim = 'TeVJet'
669+
else:
670+
dataset = dataset + '-v1/RAW'
671+
664672
for e_key,evs in event_steps_dict.items():
665-
step_name = "Run" + pd.replace("ParkingDouble","Park2") + era.split("Run")[1] + "_" + e_key
673+
step_name = "Run" + pd.replace("ParkingDouble","Park2") + era.split("Run")[1] + skim + "_" + e_key
666674
steps[step_name] = {'INPUT':InputInfo(dataSet=dataset,label=era.split("Run")[1],events=int(evs*1e6), skimEvents=True, location='STD')}
667675

668676
###2023
@@ -710,10 +718,16 @@
710718

711719
for era in era_mask_2024:
712720
for pd in pds_2024:
713-
dataset = "/" + pd + "/" + era + "-v1/RAW"
721+
dataset = '/' + pd + '/' + era
714722
lm = era_mask_2024[era]
715-
step_name = "Run" + pd.replace("ParkingDouble","Park2") + era.split("Run")[1]
716-
steps[step_name]={'INPUT':InputInfo(dataSet=dataset,label=era.split("Run")[1],events=100000,location='STD', ls=lm)}
723+
724+
## Here we use JetMET1 PD to run the TeVJet skims
725+
dataset = dataset + '-TeVJet-PromptReco-v1/RAW-RECO' if pd == 'JetMET1' else dataset + '-v1/RAW'
726+
skim = 'TeVJet' if pd == 'JetMET1' else ''
727+
728+
step_name = 'Run' + pd.replace('ParkingDouble','Park2') + era.split('Run')[1] + skim
729+
730+
steps[step_name]={'INPUT':InputInfo(dataSet=dataset,label=era.split('Run')[1],events=100000,location='STD', ls=lm)}
717731

718732

719733
##################################################################

0 commit comments

Comments
 (0)