-
Notifications
You must be signed in to change notification settings - Fork 221
Minor updates to PHActsSiliconSeeder, TrackResiduals, PHSimpleVertexFinder #4135
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
Changes from all commits
0efe275
9ec298f
80be7af
66a0623
c38e200
8bc0f1f
71c8448
2865d6b
344e32c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -176,6 +176,16 @@ class PHActsSiliconSeeding : public SubsysReco | |
| { | ||
| m_minSeedPt = pt; | ||
| } | ||
| void set_mvtxCenterXY(const float X, const float Y) | ||
| { | ||
| m_mvtx_x0 = X; | ||
| m_mvtx_y0 = Y; | ||
| } | ||
| void set_beamSpotXY(const float X, const float Y) | ||
| { | ||
| m_beamSpotx = X; | ||
| m_beamSpoty = Y; | ||
| } | ||
|
|
||
| /// A function to run the seeder with large (true) | ||
| /// or small (false) grid spacing | ||
|
|
@@ -243,6 +253,8 @@ class PHActsSiliconSeeding : public SubsysReco | |
| short int getCrossingIntt(TrackSeed &si_track); | ||
| std::vector<short int> getInttCrossings(TrackSeed &si_track); | ||
|
|
||
| float getPhiFromBeamSpot(float clusy, float clusx) const; | ||
|
|
||
| void createHistograms(); | ||
| void writeHistograms(); | ||
| double normPhi2Pi(const double phi); | ||
|
|
@@ -354,6 +366,15 @@ class PHActsSiliconSeeding : public SubsysReco | |
| float m_inttzSearchWin = 2.0; // default to one strip width | ||
| double m_mvtxrPhiSearchWin = 0.2; | ||
| float m_mvtxzSearchWin = 0.5; | ||
|
|
||
| // collision point in sPHENIX coordinates, from vertex finder (pp run 3) | ||
| float m_beamSpotx = -0.072; // cm | ||
| float m_beamSpoty = 0.141; // cm | ||
|
|
||
| // center of MVTX barrel in sPHENIX coordinates - default is for Run 3 pp | ||
| float m_mvtx_x0 = 0.6; // cm | ||
| float m_mvtx_y0 = -0.1; | ||
|
|
||
|
Comment on lines
+370
to
+377
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: # First, check the file structure and context around these lines
wc -l offline/packages/trackreco/PHActsSiliconSeeding.hRepository: sPHENIX-Collaboration/coresoftware Length of output: 131 🏁 Script executed: # Examine the code around these defaults to understand their purpose and usage
sed -n '350,390p' offline/packages/trackreco/PHActsSiliconSeeding.hRepository: sPHENIX-Collaboration/coresoftware Length of output: 1473 🏁 Script executed: # Search for where these member variables are used within the class
rg "m_beamSpot|m_mvtx_" offline/packages/trackreco/PHActsSiliconSeeding.hRepository: sPHENIX-Collaboration/coresoftware Length of output: 288 🏁 Script executed: # Check if there's a corresponding .cc file to see how these are used
fd "PHActsSiliconSeeding\.cc" offline/packages/trackreco/Repository: sPHENIX-Collaboration/coresoftware Length of output: 128 🏁 Script executed: # Search for usage of these beam-spot/MVTX variables in the .cc file
rg "m_beamSpot|m_mvtx_" offline/packages/trackreco/PHActsSiliconSeeding.cc -A 3 | head -60Repository: sPHENIX-Collaboration/coresoftware Length of output: 409 🏁 Script executed: # Check the git log to see if these defaults recently changed
git log --oneline -20 -- offline/packages/trackreco/PHActsSiliconSeeding.hRepository: sPHENIX-Collaboration/coresoftware Length of output: 107 🏁 Script executed: # Check git diff to see what changed in this PR for these specific lines
git diff HEAD~1 -- offline/packages/trackreco/PHActsSiliconSeeding.h | grep -A 5 -B 5 "beamSpot\|mvtx_"Repository: sPHENIX-Collaboration/coresoftware Length of output: 106 🏁 Script executed: # Check git status to understand the current state
git statusRepository: sPHENIX-Collaboration/coresoftware Length of output: 143 🏁 Script executed: # Try to get the full git log with more context
git log --oneline -50 -- offline/packages/trackreco/PHActsSiliconSeeding.hRepository: sPHENIX-Collaboration/coresoftware Length of output: 107 🏁 Script executed: # Check if there's a PR description or commit message
git log -1 --format="%B"Repository: sPHENIX-Collaboration/coresoftware Length of output: 98 🏁 Script executed: # Search for any recent changes to these defaults across the repository
git log -p --all -S "m_beamSpotx = -0.072" -- offline/packages/trackreco/PHActsSiliconSeeding.h | head -100Repository: sPHENIX-Collaboration/coresoftware Length of output: 60 🏁 Script executed: # Check if there's more commit history we can access
git log --all --oneline | head -50Repository: sPHENIX-Collaboration/coresoftware Length of output: 2908 🏁 Script executed: # Try to see the current file state and search for when these specific values were set
git log --all -p -- offline/packages/trackreco/PHActsSiliconSeeding.h | grep -B 10 -A 10 "0.6.*cm\|0.141" | head -80Repository: sPHENIX-Collaboration/coresoftware Length of output: 164 🏁 Script executed: # Look for any documentation about these parameters in comments
grep -B 5 -A 5 "Run 3 pp\|beam.spot" offline/packages/trackreco/PHActsSiliconSeeding.hRepository: sPHENIX-Collaboration/coresoftware Length of output: 456 🏁 Script executed: # Check if there are any related pull request files or documentation
find . -name "*README*" -o -name "*CHANGES*" -o -name "*NOTES*" | grep -i silicon | head -10Repository: sPHENIX-Collaboration/coresoftware Length of output: 60 🏁 Script executed: # Check what the current HEAD is and what changed
git show --stat 8bc0f1f7cRepository: sPHENIX-Collaboration/coresoftware Length of output: 50391 🏁 Script executed: # Check if the beam spot/mvtx defaults were changed in this commit
git show 8bc0f1f7c -- offline/packages/trackreco/PHActsSiliconSeeding.h | grep -B 5 -A 5 "beamSpot\|mvtx_"Repository: sPHENIX-Collaboration/coresoftware Length of output: 1020 🏁 Script executed: # Look at the full diff for this file in this commit
git show 8bc0f1f7c -- offline/packages/trackreco/PHActsSiliconSeeding.h | head -150Repository: sPHENIX-Collaboration/coresoftware Length of output: 3868 🏁 Script executed: # Try to find PR-related files or documentation
find . -name "*.md" -o -name "*.txt" | grep -i "pull\|pr\|request" | head -20Repository: sPHENIX-Collaboration/coresoftware Length of output: 112 🏁 Script executed: # Check the commit message more thoroughly
git log -1 8bc0f1f7c --format="%B" | head -50Repository: sPHENIX-Collaboration/coresoftware Length of output: 98 🏁 Script executed: # Look for any PR description files in the repo root
ls -la | grep -i "pull\|pr\|description"Repository: sPHENIX-Collaboration/coresoftware Length of output: 60 🏁 Script executed: # Check the PR template to understand what should be documented
cat ./.github/pull_request_template.mdRepository: sPHENIX-Collaboration/coresoftware Length of output: 1238 Document reconstruction impact and reprocessing requirements in PR description. The beam-spot and MVTX center defaults are used directly in reconstruction (fitting calculations and phi angle computations). Changes to these geometry parameters affect track seeding outputs. State the expected analysis impact and whether existing data requires reprocessing. |
||
| /// Whether or not to use truth clusters in hit lookup | ||
| bool m_useTruthClusters = false; | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.