sphenix-l AT lists.bnl.gov
Subject: sPHENIX is a new detector at RHIC.
List archive
- From: Anthony Frawley <afrawley AT fsu.edu>
- To: "Sphenix-upsilons-l AT lists.bnl.gov" <Sphenix-upsilons-l AT lists.bnl.gov>, "sphenix-l AT lists.bnl.gov" <sphenix-l AT lists.bnl.gov>
- Subject: [Sphenix-l] particle ID tagging
- Date: Thu, 19 Nov 2020 17:23:13 +0000
I am following up on the discussion we had in the Upsilon TG meeting this morning about tagging electrons.
One possibility is to use a multimap on the node tree to record all associations of tracks with particle ID's. The multimap could look like:
std::multimap<particle_type_key, track_index>
where the key would be particle type (electron, pion, ......). This would allow us to look up all tracks with a given particle type using a single line of code.
Every PID module would just add an entry every time it accepts a track. Tracks would have entries corresponding to every particle ID associated with them.
Analysis modules would be able to obtain a list of all tracks accepted by a given PID module by using multimap::equal_range(particle_type_key). The tracks could then be accessed directly from the track map.
Tony
- [Sphenix-l] particle ID tagging, Anthony Frawley, 11/19/2020
Archive powered by MHonArc 2.6.24.