-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update hit-based training * remove referencepoint * lumi training
- Loading branch information
Showing
69 changed files
with
3,064 additions
and
3,176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,51 @@ | ||
import os | ||
|
||
#check for file presence in this path | ||
outpath = "/local/joosep/clic_edm4hep_2023_02_27/" | ||
# check for file presence in this path | ||
outpath = "/local/joosep/clic_edm4hep_2023_05_05/" | ||
|
||
#pythia card, start seed, end seed | ||
# pythia card, start seed, end seed | ||
samples = [ | ||
("p8_ee_tt_ecm380", 1, 10011), | ||
("p8_ee_qq_ecm380", 100001, 120011), | ||
("p8_ee_tt_ecm380", 1, 10011), | ||
("p8_ee_qq_ecm380", 100001, 120011), | ||
("p8_ee_ZH_Htautau_ecm380", 200001, 210011), | ||
("p8_ee_WW_fullhad_ecm380", 300001, 310011), | ||
] | ||
|
||
samples_pu = [ | ||
("p8_ee_tt_ecm380", 1, 10001), | ||
("p8_ee_tt_ecm380", 1, 10001), | ||
] | ||
|
||
samples_gun = [ | ||
("neutron", 1, 101), | ||
("kaon0L", 1, 101), | ||
("pi-", 1, 101), | ||
("pi+", 1, 101), | ||
("pi0", 1, 101), | ||
("mu-", 1, 101), | ||
("mu+", 1, 101), | ||
("e-", 1, 101), | ||
("e+", 1, 101), | ||
("gamma", 1, 101), | ||
] | ||
|
||
if __name__ == "__main__": | ||
#for sname, seed0, seed1 in samples: | ||
# basic samples | ||
# for sname, seed0, seed1 in samples: | ||
# for seed in range(seed0, seed1): | ||
# #check if output file exists, and print out batch submission if it doesn't | ||
# if not os.path.isfile("{}/{}/reco_{}_{}.root".format(outpath, sname, sname, seed)): | ||
# print("sbatch run_sim.sh {} {}".format(seed, sname)) | ||
for sname, seed0, seed1 in samples_pu: | ||
# print("sbatch run_sim.sh {} {}".format(seed, sname)) | ||
|
||
# PU | ||
# for sname, seed0, seed1 in samples_pu: | ||
# for seed in range(seed0, seed1): | ||
# # check if output file exists, and print out batch submission if it doesn't | ||
# if not os.path.isfile("{}/{}_PU10/reco_{}_{}.root".format(outpath, sname, sname, seed)): | ||
# print("sbatch run_sim_pu.sh {} {} p8_ee_gg_ecm380".format(seed, sname)) | ||
|
||
# gun | ||
for sname, seed0, seed1 in samples_gun: | ||
for seed in range(seed0, seed1): | ||
#check if output file exists, and print out batch submission if it doesn't | ||
if not os.path.isfile("{}/{}_PU10/reco_{}_{}.root".format(outpath, sname, sname, seed)): | ||
print("sbatch run_sim_pu.sh {} {} p8_ee_gg_ecm380".format(seed, sname)) | ||
# check if output file exists, and print out batch submission if it doesn't | ||
if not os.path.isfile("{}/{}/reco_{}_{}.root".format(outpath, sname, sname, seed)): | ||
print("sbatch run_sim_gun.sh {} {}".format(seed, sname)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.