Skip to content
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 includes: #1

Open
wants to merge 97 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
a9bd77a
Added comments
ctdax Sep 27, 2023
544d196
wombo test
ctdax Oct 1, 2023
3a4a230
Merge remote-tracking branch 'origin/main'
ctdax Oct 1, 2023
d4f4baa
Added loop over dictionary, need to get correct weights and n_weights
ctdax Oct 3, 2023
1f0feab
Merge remote-tracking branch 'origin/main'
ctdax Oct 4, 2023
0224af9
Added eventinfo handle
ctdax Oct 7, 2023
5298aca
Updated eventinfo Handle
ctdax Oct 10, 2023
1424296
Updated handle caller
ctdax Oct 10, 2023
eee897b
Update README.md
ctdax Oct 11, 2023
32436a0
Added getByLabel call for eventinfo. Added print statement to print n…
ctdax Oct 12, 2023
7e3ec44
Removed SetStats(False) function for the h_gluglu_pT histograms. Adde…
ctdax Oct 12, 2023
97da4d9
Updated n_weights to be hardcoded at 45, will see if this is the case…
ctdax Oct 12, 2023
c8481f0
Removed print statement, n_weights is always 45.
ctdax Oct 12, 2023
ffb3113
Fixed histogram naming to save all weighted histograms. Added tempora…
ctdax Oct 13, 2023
74f9a07
Merge remote-tracking branch 'origin/main'
ctdax Oct 13, 2023
b72f4c1
Updated mass histogram to include all root files
ctdax Oct 13, 2023
77ed588
Updated histograms.py to include min/max plot function for given root…
ctdax Oct 14, 2023
8439af0
Added a bash script to run truth.py over the set of masses
ctdax Oct 16, 2023
bd6c54d
Added output root files
ctdax Oct 19, 2023
fbe368f
Added output root files
ctdax Oct 19, 2023
7557324
added output root files
ctdax Oct 19, 2023
187203f
Updated histograms.py and created folder for hists along with 2 hists
ctdax Oct 19, 2023
314beaf
Merge remote-tracking branch 'origin/main'
ctdax Oct 19, 2023
0f13675
Removed mass histogram feature
ctdax Oct 21, 2023
1b8590a
removed mass histogram feature
ctdax Oct 21, 2023
bc6daf6
Removed mass histogram feature
ctdax Oct 21, 2023
41e6a93
Merge remote-tracking branch 'origin/main'
ctdax Oct 21, 2023
08b21c5
Updated histograms.py to create errorbar plots, still a work in progress
ctdax Oct 24, 2023
7d5b2c8
added the rest of the output root files
ctdax Oct 24, 2023
cfe6137
Added ratio histograms
ctdax Oct 25, 2023
ecb1d1e
Added ratio histograms
ctdax Oct 25, 2023
527f4d3
Add files via upload
ctdax Oct 25, 2023
5a2642c
Lots of changes to histograms.py. Now creates the correct ratio plots…
ctdax Oct 27, 2023
0a86c8c
Added all current histograms
ctdax Oct 27, 2023
14dedcf
Updated ratio.py (certainly very broken)
ctdax Oct 30, 2023
c0fff99
edited version of Lacey's ratio.py
ctdax Oct 30, 2023
fd9540c
Added new histograms, updated histograms.py to add some new features
ctdax Oct 31, 2023
259f589
Added new histograms, updated histograms.py to add some new features
ctdax Oct 31, 2023
e3781aa
Added new histograms, updated histograms.py to add some new features
ctdax Oct 31, 2023
40b5cde
Merge remote-tracking branch 'origin/main'
ctdax Oct 31, 2023
c5a5135
change
ctdax Nov 1, 2023
ab826a0
removed discontinued root file
ctdax Nov 3, 2023
58b38ec
Added new histograms, updated histograms.py to add some new features
ctdax Nov 3, 2023
f965f9e
Updated histograms.py to include a rebinning ROOT feature
ctdax Nov 6, 2023
a90ba56
Add files via upload
ctdax Nov 7, 2023
f72a86d
Updated the ROOT rebinning feature
ctdax Nov 7, 2023
088e85f
Added rebinned histograms
ctdax Nov 7, 2023
886373b
Add files via upload
ctdax Nov 7, 2023
c7433f5
Add files via upload
ctdax Nov 7, 2023
e715a98
Removed the following functions: double_bin_width, ratio_error_stackp…
ctdax Nov 8, 2023
ed02331
Merge remote-tracking branch 'origin/main'
ctdax Nov 8, 2023
43135fc
Reverted truth.py to run over madgraph weights
ctdax Nov 14, 2023
6e59698
Removed the following functions: double_bin_width, ratio_error_stackp…
ctdax Nov 15, 2023
7213f1b
Updated histograms.py further
ctdax Nov 15, 2023
bcd5aaf
updated hists.py
ctdax Nov 19, 2023
7ef6dfd
updated hists.py
ctdax Nov 19, 2023
886842e
updated hists.py
ctdax Nov 19, 2023
b015854
added error handling for variable type in ratioHistFill. Fixed direct…
ctdax Nov 19, 2023
5724b5c
Fixed error handling bug in ratioHistFill
ctdax Nov 19, 2023
1f5acb7
Fixed error handling bug in ratioHistFill
ctdax Nov 19, 2023
1f9cc98
Fixed error handling bug in ratioHistFill
ctdax Nov 20, 2023
6ca78d2
Fixed error handling bug in ratioHistFill
ctdax Nov 20, 2023
1349011
Updated error ratio to output ratio plots for the purpose of debugging
ctdax Nov 22, 2023
c22a5c1
Added midpoint function to fix ratiohistfill
ctdax Nov 22, 2023
6b9d280
Corrected midpoint function
ctdax Nov 22, 2023
067c5e7
Updated ratiohistfill function
ctdax Nov 23, 2023
71d471f
Updated errorplot function to clone correct pythia histograms
ctdax Nov 23, 2023
90f21f8
Changed the indexing in the create_min_max_hists function, may fix pr…
ctdax Nov 23, 2023
2b44e4c
Reverted create_min_max_hists function, attempted to fix ratiohistfil…
ctdax Nov 23, 2023
ab9b0e5
updated ratiohistfill function again
ctdax Nov 23, 2023
eac4fb0
updated ratiohistfill function to utilize TGraphAssymErrors for the p…
ctdax Nov 23, 2023
f618285
Attempted to fix setAssymError function
ctdax Nov 23, 2023
42c861f
added print statement to setSysError function for the purpose of debu…
ctdax Nov 23, 2023
6f30bc3
Debugged setSysError function
ctdax Nov 23, 2023
2b7a450
Updated root plot axes, removed root files in the histograms directory
ctdax Nov 23, 2023
32ace72
Fixed axis title code
ctdax Nov 23, 2023
d7ab36b
Fixed output path line
ctdax Nov 23, 2023
175c1fa
Added output roots
ctdax Nov 23, 2023
ede05ce
Attempting to add legend to TGraphs, also remove line
ctdax Nov 23, 2023
c1438bd
Attempt 2 to add legend
ctdax Nov 23, 2023
9f4f4ba
Attempt 3 to add legend
ctdax Nov 24, 2023
df9ddb7
Removed legends, updated title instead
ctdax Nov 24, 2023
064324b
Fixed plot title
ctdax Nov 24, 2023
cf77958
Added revised root plots
ctdax Nov 24, 2023
9b0e128
Created fillcsv function which creates a csv containing the ratio val…
ctdax Nov 27, 2023
89674bd
Fixed typ
ctdax Nov 27, 2023
70bb515
added plot3D function which takes the data from fillcsv to create use…
ctdax Nov 28, 2023
3c847f5
added the 3d plots
ctdax Nov 28, 2023
0fc66cd
Added heatmap function to histograms.py
ctdax Nov 30, 2023
eab1159
Updated fillcsv and heatmap functions to account for ratio delta stat…
ctdax Nov 30, 2023
ec8542f
Updated the fillcsv function to fix the delta statistic
ctdax Dec 14, 2023
6d9e476
Added stackplot ratio function
ctdax Dec 15, 2023
969a9cb
Fixed stackplot ratio function
ctdax Dec 15, 2023
c7ad3b1
Updated stackplot function
ctdax Dec 19, 2023
429eb9a
Updated stackplot function to include options for systematic uncertai…
ctdax Dec 19, 2023
12df14d
Update README.md
ctdax Jan 30, 2024
55a02fe
Update README.md
ctdax Jan 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/MGP8_ISRStudy_LAdev.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/other.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,7 @@ Note that this will overwrite the log.txt if run again. This is generally desire
When passing Madgraph samples to truth.py, the target status must be given as a flag. Example:

```python truth.py inputFiles_load='./input-files/<input-list>.list' outputFilename='./output-files/<output-filename>.root' targetMass=1000 isAOD=False printEvery=1000 targetStatus=62 2>&1 | tee ./text-logs/<log-filename>.txt```

**Status Code**

When inputting madgraph files use targetStatus=62
Loading