sphenix-tracking-l AT lists.bnl.gov
Subject: sPHENIX tracking discussion
List archive
Re: [Sphenix-tracking-l] Need to update software and macros
- From: "Osborn, Joe" <osbornjd AT ornl.gov>
- To: Anthony Frawley <afrawley AT fsu.edu>, Alex Lebedev <lebedev AT iastate.edu>
- Cc: "sphenix-tracking-l AT lists.bnl.gov" <sphenix-tracking-l AT lists.bnl.gov>
- Subject: Re: [Sphenix-tracking-l] Need to update software and macros
- Date: Wed, 13 Jul 2022 11:58:16 +0000
Hi Sasha,
In addition to what Tony said about accessing the cluster keys, the interface for accessing calo matching information has also changed as a means of conserving memory. The functions get_cal_energy_3x3 and the like have all been deprecated in favor of saving the 6D track state information in the calo itself. This is to provide more flexibility to analyzers and basically punt the matching to the analysis level, so that analyzers can match as they need to. It also reduces our memory footprint in the reconstruction, which is something we just had to do.
The tracks are projected to the calo and the state information is saved at the calo radius. The state methods for the SvtxTrack are here, where you will have to get the track state information at the calo layer and then explicitly do the cluster matching yourself now.
Joe Osborn
---------------------------
Joe Osborn, Ph.D. Associate Research Scientist Oak Ridge National Laboratory osbornjd AT ornl.gov (859)-433-8738
From:
sPHENIX-tracking-l <sphenix-tracking-l-bounces AT lists.bnl.gov> on behalf of Anthony Frawley via sPHENIX-tracking-l <sphenix-tracking-l AT lists.bnl.gov> Hi Sasha,
The way that cluster keys are stored for tracks has changed with the new seeding scheme. The track is now composed of two track seeds that keep their own list of clusters, and the track has pointers to the track seeds. To get the clusters you have to do something like this:
std::vector<TrkrDefs::cluskey> clusters; auto siseed = track->get_silicon_seed(); for (auto iter = siseed->begin_cluster_keys(); iter != siseed->end_cluster_keys(); ++iter) { TrkrDefs::cluskey cluster_key = *iter; clusters.push_back(cluster_key); } auto tpcseed = track->get_tpc_seed(); for (auto iter = tpcseed->begin_cluster_keys(); iter != tpcseed->end_cluster_keys(); ++iter) { TrkrDefs::cluskey cluster_key = *iter; clusters.push_back(cluster_key); }
I am not sure about the association with the CEMC, I have emailed Joe about it.
Tony From: Alex Lebedev <lebedev AT iastate.edu>
Hi Tony, everyone, I've updated my macros and generated some Pythia6 events with Upsilons. But there seems to be something wrong with tracking.
I can clearly see reconstructed electron/positron tracks from Upsilons (they make correct invariant mass together), but E/p ratios for them are less than 0.1. This is true for booth CEMC cluster energy and 3x3 energy around track projection. Has someone checked that recently? It used to work a few weeks ago.
Also, When I look at number of hits in mvtx and tpc like this:
int nmvtx = 0; int nintt = 0; int ntpc = 0;
I get zero number of mvtx and tpc hits.
Can someone check this?
Sasha.
P.S. The macro I run is /sphenix/user/sphnxpro/embed_new/Fun4All_G4_sPHENIX_pythiaupsilons.C
On Wed, Jul 6, 2022 at 10:45 AM Anthony Frawley via sPHENIX-tracking-l <sphenix-tracking-l AT lists.bnl.gov> wrote:
|
-
[Sphenix-tracking-l] Need to update software and macros,
Anthony Frawley, 07/06/2022
-
Re: [Sphenix-tracking-l] Need to update software and macros,
Alex Lebedev, 07/12/2022
-
Re: [Sphenix-tracking-l] Need to update software and macros,
Anthony Frawley, 07/12/2022
-
Re: [Sphenix-tracking-l] Need to update software and macros,
Osborn, Joe, 07/13/2022
-
Re: [Sphenix-tracking-l] Need to update software and macros,
Marzia Rosati, 07/13/2022
-
Re: [Sphenix-tracking-l] [EXTERNAL] Re: Need to update software and macros,
Osborn, Joe, 07/13/2022
- Re: [Sphenix-tracking-l] [EXTERNAL] Re: Need to update software and macros, Osborn, Joe, 07/13/2022
-
Re: [Sphenix-tracking-l] [EXTERNAL] Re: Need to update software and macros,
Osborn, Joe, 07/13/2022
-
Re: [Sphenix-tracking-l] Need to update software and macros,
Marzia Rosati, 07/13/2022
-
Re: [Sphenix-tracking-l] Need to update software and macros,
Osborn, Joe, 07/13/2022
-
Re: [Sphenix-tracking-l] Need to update software and macros,
Anthony Frawley, 07/12/2022
-
Re: [Sphenix-tracking-l] Need to update software and macros,
Alex Lebedev, 07/12/2022
Archive powered by MHonArc 2.6.24.