-
Notifications
You must be signed in to change notification settings - Fork 21
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
Mass and momentum smearing, moller vertices, analysis config updates #199
Open
alspellm
wants to merge
30
commits into
JeffersonLab:master
Choose a base branch
from
alspellm:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 15 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
196fa1d
need to merge newest
8faa7b3
Merge branch 'master' of https://github.com/JeffersonLab/hpstr
ab706ea
junk
bef3d47
Merge branch 'master' of https://github.com/JeffersonLab/hpstr
900b5b8
updating a few things that the new verte ana processor uses. Added mo…
5f68ef8
made some changes to this processor that should be kept
6e4ad84
a few updates in here. Compatible with newest hps-java track data obj…
8afcac0
so the last commit didnt have the correct invm smearing. I've fixed t…
688b216
Update utils/src/TrackSmearingTool.cxx
alspellm 5d34b6d
Update utils/src/TrackSmearingTool.cxx
alspellm e4baf27
add new nhits fee smearing script and values. Will need to adjust hps…
85c37eb
confirmed that data and smeared MC moller peaks match! Adding in othe…
5b1e868
when I added ele->setTrack in TrackSmearingTool, all changes to the t…
4c6b5f3
typo in path
4f0a2ed
fix conflict with current PR
d1a23b0
newest momentum smearing using KF tracks, split tob bottom by nhits
caf5a0e
organizing simp ana code
c2762c6
update
ae1080c
backup simp analysis scripts
1bd62a8
save
02c06a6
save
8ddb804
unknown save state
a679814
cleaning
939b492
adding systematic scripts
314242b
documenting
ee109f7
still documenting
fd2ebc6
documenting
d991e5c
more documentation
32d7ef1
rename file
f573bb1
adding some ana scripts
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"corrections": { | ||
"track_time": -5.5, | ||
"track_cluster_dt": -0.7, | ||
"track_z0": -0.06 | ||
} | ||
} |
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,4 @@ | ||
{ | ||
"track_time": -1.5 | ||
} | ||
|
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,5 @@ | ||
{ | ||
"track_time": -5.5, | ||
"track_z0": -0.06 | ||
} | ||
|
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"7984": { | ||
"target_position": -4.3, | ||
"rotated_mean_x": -0.23135574671453285, | ||
"rotated_mean_y": -0.02398086113913096, | ||
"rotated_sigma_x": 0.2109738212614317, | ||
"rotated_sigma_y": 0.08129743797473131, | ||
"rotation_angle_mrad": -103.56647336269294 | ||
} | ||
} |
This file was deleted.
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
324 changes: 324 additions & 0 deletions
324
analysis/plotconfigs/tracking/simps/vtxAnalysis_2016_simp_reach_light.json
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,324 @@ | ||
{ | ||
"ele_track_cluster_EoverP_h": { | ||
"bins" : 1000, | ||
"minX" : 0.0, | ||
"maxX" : 10.0, | ||
"xtitle" : "e^{-} Track Cluster E/P", | ||
"ytitle" : "Events" | ||
}, | ||
"pos_track_cluster_EoverP_h": { | ||
"bins" : 1000, | ||
"minX" : 0.0, | ||
"maxX" : 10.0, | ||
"xtitle" : "e^{+} Track Cluster E/P", | ||
"ytitle" : "Events" | ||
}, | ||
"corr_eleClus_t_h": { | ||
"bins" : 600, | ||
"minX" : -30.0, | ||
"maxX" : 30.0, | ||
"xtitle" : "e^{-}_{clus} corr time [ns]", | ||
"ytitle" : "Events" | ||
}, | ||
"corr_posClus_t_h": { | ||
"bins" : 600, | ||
"minX" : -30.0, | ||
"maxX" : 30.0, | ||
"xtitle" : "e^{+}_{clus} corr time [ns]", | ||
"ytitle" : "Events" | ||
}, | ||
"ele_hitlayers_h": { | ||
"bins" : 12, | ||
"minX" : -0.5, | ||
"maxX": 11.5, | ||
"xtitle" : "hit layer", | ||
"ytitle" : "nHits on Track" | ||
}, | ||
"pos_hitlayers_h": { | ||
"bins" : 12, | ||
"minX" : -0.5, | ||
"maxX": 11.5, | ||
"xtitle" : "hit layer", | ||
"ytitle" : "nHits on Track" | ||
}, | ||
"ele_pos_clusTimeDiff_h": { | ||
"bins" : 320, | ||
"minX" : -16, | ||
"maxX" : 16, | ||
"xtitle" : "#Delta_{t}(e^{-},e^{+})_{clus} [ns]", | ||
"ytitle" : "Events" | ||
}, | ||
"ele_track_clus_dt_h": { | ||
"bins" : 200, | ||
"minX" : -20, | ||
"maxX" : 20, | ||
"xtitle" : "e^{-} Track Cluster #Delta_{t} [ns]", | ||
"ytitle" : "Events" | ||
}, | ||
"pos_track_clus_dt_h": { | ||
"bins" : 200, | ||
"minX" : -20, | ||
"maxX" : 20, | ||
"xtitle" : "e^{+} Track Cluster #Delta_{t} [ns]", | ||
"ytitle" : "Events" | ||
}, | ||
"ele_d0_h" : { | ||
"bins" : 200, | ||
"minX" : -10, | ||
"maxX" : 10, | ||
"xtitle" : "d_{0} [mm]", | ||
"ytitle" : "Tracks" | ||
}, | ||
"ele_Phi_h" : { | ||
"bins" : 100, | ||
"minX" : -0.4, | ||
"maxX" : 0.4, | ||
"xtitle" : "#phi_{0}", | ||
"ytitle" : "Tracks" | ||
}, | ||
"ele_Omega_h" : { | ||
"bins" : 100, | ||
"minX" : -0.001, | ||
"maxX" : 0.001, | ||
"xtitle" : "#omega", | ||
"ytitle" : "Tracks" | ||
}, | ||
"ele_TanLambda_h" : { | ||
"bins" : 200, | ||
"minX" : -0.2, | ||
"maxX" : 0.2, | ||
"xtitle" : "tan(#lambda)", | ||
"ytitle" : "Tracks" | ||
}, | ||
"ele_Z0_h" : { | ||
"bins" : 200, | ||
"minX" : -5, | ||
"maxX" : 5, | ||
"xtitle" : "z_{0} [mm]", | ||
"ytitle" : "Tracks" | ||
}, | ||
"ele_time_h" : { | ||
"bins" : 200, | ||
"minX" : -10, | ||
"maxX" : 10, | ||
"xtitle" : "track time [ns]", | ||
"ytitle" : "Tracks" | ||
}, | ||
"ele_chi2ndf_h" : { | ||
"bins" : 200, | ||
"minX" : 0, | ||
"maxX" : 30, | ||
"xtitle" : "ele track #chi^{2} / ndf", | ||
"ytitle" : "Tracks" | ||
}, | ||
"ele_chi2_h" : { | ||
"bins" : 200, | ||
"minX" : 0, | ||
"maxX" : 20, | ||
"xtitle" : "track #chi^{2}", | ||
"ytitle" : "Tracks" | ||
}, | ||
"ele_p_h" : { | ||
"bins" : 250, | ||
"minX" : 0, | ||
"maxX" : 2.5, | ||
"xtitle" : "p_{e^{-}} [GeV]", | ||
"ytitle" : "Tracks" | ||
}, | ||
"pos_d0_h" : { | ||
"bins" : 200, | ||
"minX" : -10, | ||
"maxX" : 10, | ||
"xtitle" : "d_{0} [mm]", | ||
"ytitle" : "Tracks" | ||
}, | ||
"pos_Phi_h" : { | ||
"bins" : 100, | ||
"minX" : -0.4, | ||
"maxX" : 0.4, | ||
"xtitle" : "#phi_{0}", | ||
"ytitle" : "Tracks" | ||
}, | ||
"pos_Omega_h" : { | ||
"bins" : 100, | ||
"minX" : -0.001, | ||
"maxX" : 0.001, | ||
"xtitle" : "#omega", | ||
"ytitle" : "Tracks" | ||
}, | ||
"pos_TanLambda_h" : { | ||
"bins" : 200, | ||
"minX" : -0.2, | ||
"maxX" : 0.2, | ||
"xtitle" : "tan(#lambda)", | ||
"ytitle" : "Tracks" | ||
}, | ||
"pos_Z0_h" : { | ||
"bins" : 200, | ||
"minX" : -5, | ||
"maxX" : 5, | ||
"xtitle" : "z_{0} [mm]", | ||
"ytitle" : "Tracks" | ||
}, | ||
"pos_time_h" : { | ||
"bins" : 200, | ||
"minX" : -10, | ||
"maxX" : 10, | ||
"xtitle" : "track time [ns]", | ||
"ytitle" : "Tracks" | ||
}, | ||
"pos_chi2ndf_h" : { | ||
"bins" : 200, | ||
"minX" : 0, | ||
"maxX" : 30, | ||
"xtitle" : "pos track #chi^{2} / ndf", | ||
"ytitle" : "Tracks" | ||
}, | ||
"pos_chi2_h" : { | ||
"bins" : 200, | ||
"minX" : 0, | ||
"maxX" : 20, | ||
"xtitle" : "track #chi^{2}", | ||
"ytitle" : "Tracks" | ||
}, | ||
"pos_p_h" : { | ||
"bins" : 250, | ||
"minX" : 0, | ||
"maxX" : 2.5, | ||
"xtitle" : "p_{e^{+}} [GeV]", | ||
"ytitle" : "Tracks" | ||
}, | ||
"vtx_chi2_h" : { | ||
"bins" : 200, | ||
"minX" : 0, | ||
"maxX" : 30, | ||
"xtitle" : "vtx #chi^{2}", | ||
"ytitle" : "Vertices" | ||
}, | ||
"vtx_X_svt_h" : { | ||
"bins" : 200, | ||
"minX" : -5, | ||
"maxX" : 5, | ||
"xtitle" : "vtx X pos [mm]", | ||
"ytitle" : "Vertices" | ||
}, | ||
"vtx_Y_svt_h" : { | ||
"bins" : 200, | ||
"minX" : -5, | ||
"maxX" : 5, | ||
"xtitle" : "vtx Y pos [mm]", | ||
"ytitle" : "Vertices" | ||
}, | ||
"vtx_Z_svt_h" : { | ||
"bins" : 200, | ||
"minX" : -50, | ||
"maxX" : 50, | ||
"xtitle" : "vtx Z pos [mm]", | ||
"ytitle" : "Vertices" | ||
}, | ||
"vtx_sigma_X_h" : { | ||
"bins" : 100, | ||
"minX" : 0, | ||
"maxX" : 5, | ||
"xtitle" : "vtx #sigma_{x} [mm]", | ||
"ytitle" : "Vertices" | ||
}, | ||
"vtx_sigma_Y_h" : { | ||
"bins" : 100, | ||
"minX" : 0, | ||
"maxX" : 5, | ||
"xtitle" : "vtx #sigma_{y} [mm]", | ||
"ytitle" : "Vertices" | ||
}, | ||
"vtx_sigma_Z_h" : { | ||
"bins" : 100, | ||
"minX" : 0, | ||
"maxX" : 5, | ||
"xtitle" : "vtx #sigma_{z} [mm]", | ||
"ytitle" : "Vertices" | ||
}, | ||
"vtx_InvM_h" : { | ||
"bins" : 200, | ||
"minX" : 0, | ||
"maxX" : 0.2, | ||
"xtitle" : "vtx Mass [GeV]", | ||
"ytitle" : "Vertices" | ||
}, | ||
"vtx_InvMErr_Z_h" : { | ||
"bins" : 100, | ||
"minX" : 0, | ||
"maxX" : 0.05, | ||
"xtitle" : "vtx #sigma_{z} [mm]", | ||
"ytitle" : "Vertices" | ||
}, | ||
"vtx_px_h" : { | ||
"bins" : 300, | ||
"minX" : -1.5, | ||
"maxX" : 1.5, | ||
"xtitle" : "vtx p_{x} [GeV]", | ||
"ytitle" : "Vertices" | ||
}, | ||
"vtx_py_h" : { | ||
"bins" : 300, | ||
"minX" : -1.5, | ||
"maxX" : 1.5, | ||
"xtitle" : "vtx p_{y} [GeV]", | ||
"ytitle" : "Vertices" | ||
}, | ||
"vtx_pz_h" : { | ||
"bins" : 350, | ||
"minX" : 0, | ||
"maxX" : 3.5, | ||
"xtitle" : "vtx p_{z} [GeV]", | ||
"ytitle" : "Vertices" | ||
}, | ||
"vtx_p_h" : { | ||
"bins" : 350, | ||
"minX" : 0, | ||
"maxX" : 3.5, | ||
"xtitle" : "vtx p [GeV]", | ||
"ytitle" : "Vertices" | ||
}, | ||
"vtx_Psum_h" : { | ||
"bins" : 350, | ||
"minX" : 0, | ||
"maxX" : 3.5, | ||
"xtitle" : "vtx p_{sum} [GeV]", | ||
"ytitle" : "Vertices" | ||
}, | ||
"vtx_Esum_h" : { | ||
"bins" : 350, | ||
"minX" : 0, | ||
"maxX" : 3.5, | ||
"xtitle" : "vtx E_{sum} [GeV]", | ||
"ytitle" : "Vertices" | ||
}, | ||
"Esum_h" : { | ||
"bins" : 350, | ||
"minX" : 0, | ||
"maxX" : 3.5, | ||
"xtitle" : "E_{e^{-}} + E_{e^{+}} [GeV]", | ||
"ytitle" : "Events" | ||
}, | ||
"Psum_h" : { | ||
"bins" : 350, | ||
"minX" : 0, | ||
"maxX" : 3.5, | ||
"xtitle" : "p_{e^{-}} + p_{e^{+}} [GeV]", | ||
"ytitle" : "Events" | ||
}, | ||
"hitCode_h" : { | ||
"bins" : 16, | ||
"minX" : -0.5, | ||
"maxX" : 15.5, | ||
"xtitle" : "hit code", | ||
"ytitle" : "Tracks" | ||
}, | ||
"vtx_proj_significance_h": { | ||
"bins" : 200, | ||
"minX" : 0.0, | ||
"maxX" : 10.0, | ||
"xtitle" : "vtx proj significance N#sigma", | ||
"ytitle" : "Events" | ||
} | ||
} |
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.
As far as I can tell, this correction is never applied anywhere.
tbc_configs_
tbc_configs_
is copied intotrackBiasCorrections_
Track::applyCorrections
is used for all entries intrackBiasCorrections_
but that function only does anything with"track_time"
and"track_z0"
and ignores everything elsetbc_configs_
nortrackBiasCorrections_
are referenced anywhere elsePerhaps not applying this correction is okay? I don't expect a sub-ns shift in the difference between the cluster and track times to significantly affect the cutflow, but - for confusion purposes - it'd be better to know if it should be applied.