mcvine / acc

Accelerated mcvine engine
0 stars 1 forks source link

Add He3 tube kernel #104

Open yxqd opened 1 year ago

yxqd commented 1 year ago

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

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