GPU Tracking in the COMET Phase-I Cylindrical Drift Chamber
Beomki Yeo, Myeong Jae Lee, Yannis K. Semertzidis, Yoshitaka Kuno

TL;DR
This paper presents a GPU-accelerated track finding method for the COMET Phase-I experiment, significantly reducing computational costs by parallelizing track propagation and using initial seed guesses, improving efficiency in complex electron trajectory reconstruction.
Contribution
It introduces a GPU-based approach combining parallel track propagation and initial seed estimation to efficiently solve the hit-to-turn assignment problem in cylindrical drift chambers.
Findings
GPU implementation speeds up track finding compared to CPU
Hough transform provides effective initial seed guesses
Method effectively handles multi-turn electron trajectories
Abstract
The GPU-accelerated track finding method is investigated to track electrons from neutrinoless muon decay in the COMET Phase-I experiment. Inside the cylindrical drift chamber, one third of the signal electron trajectories are composed of multiple turns where the correct hit assignments to each turn partition are significant in the track finding. Scanning all possible track seeds of position and momentum can resolve the hit-to-turn assignment problem with a high robustness, but requires a huge computational cost: The initial track seeds have broad uncertainties, so there exists many number of seeds that should be compared. In this article, this problem of massive computations are mitigated with 1) the parallel computing of Runge-Kutta-Nystr\"om track propagation with the GPU, and 2) an initial guess on the seeds using the Hough transform and the detector…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNeutrino Physics Research · Particle physics theoretical and experimental studies · Dark Matter and Cosmic Phenomena
Proceedings of the CTD/WIT 2019
PROC-CTD19-006
GPU Tracking in the COMET Phase-I Cylindrical Drift Chamber
Beomki Yeo
*Department of Physics,
Korea Advanced Institute of Science and Technology, Republic of Korea*
Myeong Jae Lee, Yannis K. Semertzidis
*Center for Axion and Precision Physics Research,
Institute for Basic Science (IBS), Daejeon 34051, Republic of Korea*
Yoshitaka Kuno
*Department of Physics, Graduate School of Science,
Osaka University, Toyonaka, Osaka 560-0043, Japan*
ABSTRACT
The GPU-accelerated track finding method is investigated to track electrons from neutrinoless muon decay in the COMET Phase-I experiment. Inside the cylindrical drift chamber, one third of the signal electron trajectories are composed of multiple turns where the correct hit assignments to each turn partition are significant in the track finding. Scanning all possible track seeds of position and momentum can resolve the hit-to-turn assignment problem with a high robustness, but requires a huge computational cost: The initial track seeds have broad uncertainties, so there exists many number of seeds that should be compared. In this article, this problem of massive computations are mitigated with 1) the parallel computing of Runge-Kutta-Nyström track propagation with the GPU, and 2) an initial guess on the seeds using the Hough transform and the detector geometry. The computation speed enhancement compared to the CPU is also presented.
PRESENTED AT
Connecting the Dots and Workshop on Intelligent Trackers (CTD/WIT 2019)
Instituto de Física Corpuscular (IFIC), Valencia, Spain
April 2-5, 2019
1 Introduction
The COMET experiment [1], located at J-PARC in Japan, will investigate the neutrinoless muon to electron conversion in a muonic atom. Its single event sensitivities in Phase-I and Phase-II are and , respectively, which are about 100 and 10000 times enhancement compared to the latest experimental upper limit of [2]. In the Phase-I experiment (see Fig. 2 for the layout), the proton beam from J-PARC accelerator hits the production target to generate the pions which decay into muons subsequently. Those muons are transported along the transport solenoid. Afterwards, they enter the detector solenoid region called CyDet and are stopped by the aluminum stopping targets to form muonic atoms. The stopped muons either decay into an electron and two neutrinos (Decay-In-Orbit, or DIO) or are captured by the nucleus. The neutrinoless muon to electron conversion is also possible with the aid of the neutrino oscillation while its branching ratio is too low to observe. However, if new physics beyond the Standard Model exists, the neutrinoless muon to electron conversion may occur with an observable branching ratio. Meanwhile, the energy of the signal electrons from the muon conversion is fixed to 104.97 MeV in the case of the aluminum stopping targets, whereas electrons from DIO have a certain distribution whose endpoint energy is almost same with the signal energy [3]. Therefore the CyDet is required to have a good energy resolution to separate the signal electrons from the DIO electrons.
The CyDet is composed of two detectors: the cylindrical drift chamber (CDC) and the CyDet trigger hodoscope (CTH). The electrons emitted from the stopping targets make a helix under the 1T magnetic field and ionize the gas molecules while passing through the CDC filled with the gas mixture of He (90 %) and (10 %). The induced currents from the ionized electrons and ions are measured by the sense wires arranged across the eighteen layers with stereo configuration. The CTH is located at the ends of the CDC and consists of the scintillators and cherenkov detectors to distinguish the electron events. Figure 2 shows the layout of the CyDet with an electron that propagates in a helix trajectory and reaches the CTH.
There are two event types for electrons in terms of the number of helix turns: a single turn and multiple turn event as displayed in Fig. 3 with the XY projection. The purpose of event reconstruction in the COMET experiment is finding the momentum of the first turn partition of the electron trajectory where the energy loss is minimal. However, the track finding of the multiple turn events require the hit classification for each turn, and this requires huge computation because there exists many hit combinations to be checked.
In this proceeding, we introduce the track finding method which scans the set of the possible tracking seeds, rather than the set of hit combinations, and generates the Runge-Kutta-Nyström (RKN) tracks from the seeds to classify the hits nearby. Since the number of seeds to be scanned is still not small, the algorithm was parallelized using the CUDA language [4] to achieve the reasonable computing speed with the GPU. The article is organized as follows: In Section 2, the seed scanning method will be explained for the algorithm and its CUDA implementation. Section 3 will show the results of the method. Section 4 will introduce some technical aspects regarding the GPU implementation. Conclusions and outlooks will follow at Section 5.
2 Parallelized Seed Scanning with Runge-Kutta-Nyström Track
2.1 Preparing the set of the seeds
The seed of the track is supposed to have six track parameters: three for the position in the cylindrical coordinate and three for the momentum in the cartesian coordinate. Since we define the seed in front of the first layer of CDC where the radius component is fixed to 50 cm, the actual number of parameters to be scanned is five. The scanning range of the transverse seeds was obtained by the circle finding method, namely the Hough transform (see Fig. 5). The resolution of the Hough transform was about radian for and MeV for and , respectively. For the longitudinal seeds, we utilized the fact that triggering tracks always end at the CTH, which means that the last turn partition should have a certain pattern in . Figure. 5 shows the distribution of for the last turn partition both for the CDC entrance and exit. Since all components in the seeds have the known ranges for the last turn partition, the track finding starts from there. The total scanning range was set to cover at least 90% of the monte-carlo truth values of the CTH triggering event samples, and the granularity of the seeds was set not to exceed the GPU memory capacity. With these conditions, the number of seeds was about few tens of thousand.
2.2 The seed scanning method and its implementation on the GPU
The seed scanning method is a process that iterates over the seed set to select the best seed: For every iteration, a track is extrapolated from the seed to find the distance of the closest approach (DCA) between the extrapolated track and hits. The RKN method was used for the track parameter propagation [5]. Then, the goodness of each seed was evaluated based on the chi-square like value defined by:
[TABLE]
where and are DCA to the left and right hit of the wire, respectively, which are from the left-right ambiguity of the wire measurement. is the cutoff value to ignore the contribution of hits from the other turn partitions. After calculating for all seeds, we took the several candidate seeds with the lowest , and make other seed sets around them with finer granularity. Afterwards, the same scanning process was repeated ten times to get enough resolution for the seed selection. The hits whose square of DCA is less than the cutoff value were classified as the hits of the turn partition being investigated.
Because the effect from the multiple scattering gets more significant as the extrapolation length gets longer, the track finding with a bidirectional extrapolation was adopted to mitigate the material effect. It means that the scanning method was done independently for the seed sets collected at both the CDC entrance and exit. The quality cut that the number of hits commonly found from the both direction should be larger than or equal to 20 was applied to remove the misleading track finding results. Afterwards, the tracking finding results including the best seed and the hit classification were used for the track fitting with the Kalman filtering method [6].
The computation of the GPU is performed by the threads, which are the smallest software units in parallel, through the CUDA kernel function. The threads are grouped into a block, and the streaming multiprocessors of the GPU can operate the multiple units of blocks concurrently. In the seed scanning method, each tracking seed is delivered to each block, and each thread in a block calculates the DCA for each wire (see Fig. 6) Therefore, the number of blocks to be launched in the GPU is same with the number of scanning seeds, and the number of threads in a block is same with the number of the fired wires. Before launching the kernel function, the event information such as the magnetic field, the hit data, and the seeds is transferred to the global memory of the GPU, which has a few of GB capacity and can be accessed from any thread in any block. The track finding results are also stored at the global memory, and the GPU transfer them back to the CPU. A disadvantage of the global memory is that it has a small memory access speed compared to the CPU. The other variables generated during the RKN method are stored at local memory whose access is confined to a specific thread but still as slow as global memory. Even though there is a shared memory residing on the GPU chip whose access speed is comparable to the CPU, it was not exploited as more shared memory allocation leads less number of blocks being launched simultaneously. The K40m and K80 model of the NVIDIA Tesla family [7] were tested to benchmark the performance.
2.3 Full event reconstruction
For the neighboring previous turn partition, the track finding and fitting process are same with that of the last turn partition except the preparation of the longitudinal seed . The longitudinal seeds at the entrance and the exit were predicted by backwardly extrapolating the track that was already fitted. The resolution of and , were 2.6 cm and 1.7 MeV, respectively. The whole event reconstruction process stops when the number of remaining unclassified hits becomes less than ten. The flowchart for the event reconstruction process is illustrated at Fig. 7.
3 Results
3.1 Track finding results
The quality of the track finding with the scanning method can be quantified by the classification efficiency and purity for the -th turn partition:
[TABLE]
where is the number of turns for an event, is the total number of the hits from the -th turn partition, and is the number of the hits of the -th turn partition classified as the hits of the -th turn partition. For example, the two dimensional histogram of Fig. 9 shows and of the last turn partition after applying the quality cut of . The averages of and were 76 % and 90 %, respectively.
The speed of scanning method in the GPU was compared with the CPU by serializing the same algorithms. As shown in Fig. 9, it turned out that the speed of K40m and K80 was 33 and 26 times faster than the CPU (Intel E5-2630), respectively.
3.2 Track fitting results
The track fitting results shown at Fig. 10 represent the momentum distribution of the first turn partition, or the closest one to the first turn partition. Four of track quality cuts were given: 1) CTH triggering, 2) , 3) , and 4) . In the momentum residual histogram, the energy resolution for the core part was about 300 keV with the gaussian fitting. The tracking efficiency was defined as the number of events that pass the quality cuts divided by the number of CTH triggering events whose averaged number of hits per turn is larger or equal to 35. With this definition, the tracking efficiency for the single turn events and multiple turn events were 83% and 75%, respectively. Meanwhile, a tail in low energy region can be found in the histogram of the multiple turn events, compared to the single turn events. It is because some events were failed in reconstructing the first turn event leading to more energy loss in the finally fitted turn partition.
4 Technical Aspects in the GPU-implementation
4.1 Limiting factors
The performance of the GPU usually gets better when more GPU resources are occupied, and the occupancy is proportional to the number of the fired wires of the events, corresponding to the number of threads. Therefore, the occupancy is low for the events with small number of the hits. Another issue is the branch divergence where some threads do not operate while the others do, which lowers the efficiency of the GPU utilization. The branch divergence occurs when threads do not have the same branching behavior, and it is inevitable due to the feature of the RKN method where some threads can finish their extrapolations earlier, or later than others. The other issue, the main limiting factor, is the memory throttle occurred by the large memory bandwidth during the scanning method. Figure 11 shows the GPU utilization status for each category and stall reasons, indicating that the bottleneck in the memory transaction is slowing the whole process.
4.2 Kernel function separation
To reduce the branching divergence, the DCA finding algorithm with the RKN method was separated into two kernel functions. In the first kernel function, each seed was delivered to each thread, and recorded the track parameters of all steps during the RKN extrapolation to the end of the turn partition. The algorithm of the second kernel function which finds DCA to the wires is same with the description in Section 2.2, except that the track propagation starts from the recorded track parameter which is closest to the corresponding wire.
5 Conclusions and Outlooks
The GPU-accelerated track finding algorithm for the COMET Phase-I experiment was introduced for the event reconstruction of the multiple turn electrons. The seed scanning method followed by the Kalman filtering showed the acceptable energy resolution of 300 keV. However, the further optimization of many parameters such as the cutoff value () or the granularity of the seed sets is required to increase tracking efficiency and resolution. The background events of DIO, radiative muon capture and radiative pion capture as well as the other new physics processes such as [9] will also be investigated.
ACKNOWLEDGEMENTS
This work was supported by IBS-R017-D1 of the Institute for Basic Science, the Republic of Korea (B.Y., M.L., Y.S.) and the JSPS KAKENHI Grant No. 18H04231 (Y.K.)
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] G. Adamov et al. [COMET Collaboration], ar Xiv:1812.09018.
- 2[2] W. H. Bertl et al. [SINDRUM II Collaboration], Eur. Phys. J. C 47 , 337 (2006).
- 3[3] A.Czarnecki, X. Garcia i Tormo, and W. J. Marciano, Phys. Rev. D 84 , 013006 (2011).
- 4[4] J. Nickolls, I. Buck, M. Garland, and K. Skadron, ACM Queue 6 , 40–53 (2008).
- 5[5] E. Lund, L. Bugge, I. Gavrilenko and A. Strandli, JINST 4 , P 04001–P 04001 (2009).
- 6[6] T. Bilka et al. , ar Xiv:1902.04405.
- 7[7] E. Lindholm, J. Nickolls, S. Oberman, and J. Montrym, IEEE Micro 28 , 39–55 (2008).
- 8[8] NVIDIA Visual Profiler, https://developer.nvidia.com/nvidia-visual-profiler .
