Skip to content

Conversation

kmtsui
Copy link

@kmtsui kmtsui commented Mar 17, 2025

This should be merged after PR #9


Used with the WCSim type digitizer, the PR adds a reweight function to the SPE charge response in the form of "angular response". The logic is:

  1. for each PMT, import a "angular response" coefficient from a txt file as the program starts
  2. in the SPE charge function, for each true photon hit, calculate the cosine of photon incident angle relative to the PMT normal (costh), retrieve the "angular response" coefficient for that PMT (ar), then multiply the SPE charge response by a weight of w=1+(costh-0.5)*2*ar

By setting the coefficient txt file, we can implement systematic change to the coefficients based on the PMT positions, orientations, etc.

kmtsui added 30 commits May 23, 2023 15:16
Merge pull request #3 from kmtsui/develop/wcte
Merge pull request #1 from WCTE/develop/wcte
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant