-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to latest 2022pre-EE recommendations; sync W+c selections #85
Closed
Closed
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
3fa956f
fix : remove bad files & add cross-sections
Ming-Yan 7c5005d
feat: add features for plotting scripts
Ming-Yan 1282411
Merge branch 'div' into btv_upstream
Ming-Yan dcb4254
fix: add only for standalone condor& plot code
Ming-Yan 44435c9
[run array] ci: customize ci , fix bugs in workflow
Ming-Yan 32f6ec8
Fix compatibility with Nanov12, changes to --only
mondalspandan a2c1d2e
[run array] ci: customize ci , fix bugs in workflow
Ming-Yan af51af0
Fixing Summer22/EE PU files
mondalspandan dc1a473
Merge branch 'master' into master
mondalspandan f3517a1
Fixing file handling
mondalspandan 10ee3a0
Fixing file handling
mondalspandan 3132d96
Switch back PU files
mondalspandan f420b68
Fix output dir
mondalspandan ca11c36
Fix xrdcp
mondalspandan b98aa19
Merge pull request #3 from mondalspandan/master
Ming-Yan c40d26a
fix: merge Spandan's dev ci:skip syst
Ming-Yan 2e2d36c
Unify Wc mu, elec and ttbarsemi mu, elec workflows; new common arrayw…
mondalspandan bc667ba
Merge branch 'master' into master
mondalspandan e7d7e1b
Add back soft mu iso cut
mondalspandan ff69e01
Merge branch 'master' of github.com:mondalspandan/BTVNanoCommissioning
mondalspandan 25cc257
Sync variable names
mondalspandan 9e6e9cd
Merge branch 'master' into BTVbranch
mondalspandan 8a05e0a
Compatibility with missing DeepCSV info in inputs
mondalspandan 9c7e5b1
Lint
mondalspandan 17370a9
Merge pull request #1 from mondalspandan/master
mondalspandan f794f3b
Lint
mondalspandan 965df29
Merge DY mu and DY e workflows
mondalspandan 8978fba
Lint
mondalspandan ae9ca15
Merge branch 'master' of github.com:cms-btv-pog/BTVNanoCommissioning
mondalspandan 84ceba8
Update to latest 2022pre-EE recommendations; sync W+c selections
mondalspandan 6381f3c
feat: add jr in Summer23 and minor fixes
Ming-Yan c4d2210
add jec
Ming-Yan 25bee05
Merge branch 'master' into master
mondalspandan 95da839
Merge with new JEC/jet map features
mondalspandan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
1,144 changes: 4 additions & 1,140 deletions
1,144
metadata/data_Summer23BPix_2023_jetmet_BTV_Run3_2023_Comm_MINIAODv4_NanoV12.json
Large diffs are not rendered by default.
Oops, something went wrong.
2,448 changes: 10 additions & 2,438 deletions
2,448
metadata/data_Summer23_2023_jetmet_BTV_Run3_2023_Comm_MINIAODv4_NanoV12.json
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import os, sys | ||
from glob import glob | ||
|
||
indir = sys.argv[1] | ||
|
||
systs = os.listdir(indir) | ||
|
||
outfile = open("hadd.sh", "w") | ||
|
||
for syst in systs: | ||
roots = glob(f"{indir}/{syst}/*/*.root") | ||
if len(roots) == 0: | ||
print(f"Skipping {indir}/{syst}. Not the right directory structure.") | ||
continue | ||
samps = os.listdir(f"{indir}/{syst}") | ||
for samp in samps: | ||
if len(glob(f"{indir}/{syst}/{samp}/*.root")) == 0: | ||
continue | ||
outfile.write( | ||
f"hadd -v 0 {indir}/{syst}/{samp}.root {indir}/{syst}/{samp}/*.root\n" | ||
) | ||
|
||
print("Now run `parallel :::: hadd.sh` from an environment with ROOT installed. E.g. \nconda activate rootenv\nparallel :::: hadd.sh\nconda activate btv_coffea") |
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
Binary file modified
BIN
-2 Bytes
(100%)
src/BTVNanoCommissioning/data/JME/Summer22/jec_compiled.pkl.gz
Binary file not shown.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any reason to add additional line here?