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

Add He3 tube kernel #104

Open
yxqd opened this issue Mar 10, 2023 · 0 comments
Open

Add He3 tube kernel #104

yxqd opened this issue Mar 10, 2023 · 0 comments

Comments

@yxqd
Copy link
Member

yxqd commented Mar 10, 2023

C++ implementation: https://github.com/mcvine/mcvine/blob/master/packages/mccomponents/lib/kernels/detector/He3Tube.h
https://github.com/mcvine/mcvine/blob/master/packages/mccomponents/lib/kernels/detector/He3Tube.cc

  • Each tube has a tuple of "channel numbers". For example (19, 2).
  • The absorb function calculates the pixel index along this tube, for example 101, and tof index, 2345, then store the tuple of tube, pixel, tof channel numbers, e.g., (19, 2, 101, 2345) to a "MCA".

python layer to convert python representation to c++ objects:
https://github.com/mcvine/mcvine/blob/master/packages/mccomponents/python/mccomponents/detector/ComputationEngineRendererExtension.py

The "channel numbers" for a tube is given by _indexes_in_detsys in
https://github.com/mcvine/mcvine/blob/master/packages/mccomponents/python/mccomponents/detector/ComputationEngineRendererExtension.py#L123

In order to support detector system simulation, we need to support composite

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

No branches or pull requests

1 participant