Skip to content

correct the calculation of z positions of clusters and docaclusters#1165

Open
zyzhangjlab wants to merge 1 commit intoJeffersonLab:developmentfrom
zyzhangjlab:fixzissue
Open

correct the calculation of z positions of clusters and docaclusters#1165
zyzhangjlab wants to merge 1 commit intoJeffersonLab:developmentfrom
zyzhangjlab:fixzissue

Conversation

@zyzhangjlab
Copy link
Copy Markdown
Contributor

No description provided.

@baltzell baltzell requested review from ftouchte and hauenst March 26, 2026 16:46
@baltzell
Copy link
Copy Markdown
Collaborator

I think @hauenst mentioned this is related to geometry consistency between simulation and reconstruction?

@baltzell baltzell added the rg-l label Mar 27, 2026
Hit h = pc.get_hits_list().get(0);
return h.getLine();
}
public static double getStereoAngleDeg(int superlayerId) {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this here? This is not using "single source of geometry" information.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean to get the origin and end z position from geometry with one line from one precluster.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zyzhangjlab I think it is about the stereo angles. Can you find a way to retrieve them using only the geometry? We don't want hard coded values.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ftouchte I see I can calculate them using only the geometry. I will do this later.

@zyzhangjlab zyzhangjlab requested a review from whit2333 March 31, 2026 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants