Skip to content

Commit

Permalink
some simplifications
Browse files Browse the repository at this point in the history
  • Loading branch information
efeyazgan committed Oct 10, 2024
1 parent 6c1276e commit d13a7ee
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions bin/utils/request_fragment_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,10 @@ def slha_gp(gridpack_cvmfs_path,slha_flag):
print(gridpack_cvmfs_path)
return gridpack_cvmfs_path, slha_all_path, slha_flag

particle_gun_list = ["FlatRandomEGunProducer","FlatRandomPtGunProducer","Pythia8EGun","Pythia8PtGun","FlatRandomPtAndDxyGunProducer"]

old_campaigns = ["summer15", "winter15","fall17","fall18"]
run3_campaigns = ["Run3Summer22","Run3winter22","Run3Summer23BPixwmLHEGS","Run3Summer23wmLHEGS","Run3Summer22wmLHEGS", "Run3Summer22EEwmLHEGS"]
particle_gun_list = ["FlatRandomEGunProducer","FlatRandomPtGunProducer","Pythia8EGun","Pythia8PtGun","FlatRandomPtAndDxyGunProducer"]

def tunes_settings_check(dn,fragment,pi,sherpa_flag):
error_tunes_check = []
Expand Down Expand Up @@ -522,9 +524,6 @@ def root_requests_from_ticket(ticket_prepid, include_docs=False):
for rr in root_requests_from_ticket(ticket):
if 'GS' in rr or 'wmLHE' in rr or 'pLHE' in rr or 'FS' in rr: prepid.append(rr)

old_campaigns = ["summer15", "winter15","fall17","fall18"]
run3_campaigns = ["Run3Summer22","Run3winter22","Run3Summer23BPixwmLHEGS","Run3Summer23wmLHEGS","Run3Summer22wmLHEGS", "Run3Summer22EEwmLHEGS"]

prepid = list(set(prepid)) #to avoid requests appearing x times if x chains have the same request
print("Current date and time: %s" % (datetime.now().strftime('%Y-%m-%d %H:%M:%S')))
print("Prepid(s):")
Expand Down

0 comments on commit d13a7ee

Please sign in to comment.