Skip to Content.
Sympa Menu

sphenix-tracking-l - Re: [Sphenix-tracking-l] RE displaying hits in the TPC

sphenix-tracking-l AT lists.bnl.gov

Subject: sPHENIX tracking discussion

List archive

Chronological Thread  
  • From: Anthony Frawley <afrawley AT fsu.edu>
  • To: "sphenix-tracking-l AT lists.bnl.gov" <sphenix-tracking-l AT lists.bnl.gov>, David Stewart <0ds.johnny AT gmail.com>
  • Subject: Re: [Sphenix-tracking-l] RE displaying hits in the TPC
  • Date: Thu, 1 Dec 2022 16:07:56 +0000

Hello David,

You can get the global position from the ActsGeometry utility class:

     m_tGeometry = findNode::getClass<ActsGeometry>(topNode, "ActsGeometry");

     Acts::Vector3 global  = m_tGeometry->getGlobalPosition(key, cluster);

Tony


From: sPHENIX-tracking-l <sphenix-tracking-l-bounces AT lists.bnl.gov> on behalf of David Stewart via sPHENIX-tracking-l <sphenix-tracking-l AT lists.bnl.gov>
Sent: Thursday, December 1, 2022 7:04 AM
To: sphenix-tracking-l AT lists.bnl.gov <sphenix-tracking-l AT lists.bnl.gov>
Subject: [Sphenix-tracking-l] RE displaying hits in the TPC
 
Hi all,

I have a node tree with TrkrCluster's, which have their data according to local geometry. For diagnostic purposes, I should plot them with global geometry. Is there an easy way or existing utility to convert the phi coordinates (perhaps using the HitSetKey) from local to global? (TrkrDefs:: has functions like getPhiElement....)

Thanks, Christof, for pointing me to /phenix/u/bogui/data/Display. The macro prints from a tuple in global coordinates. The location also has a layer_info.text file. Is there a way to use this file to convert the TrkrCluster information (perhaps with the hitsetkey value) to convert phi to global? I'm ok for radius (given that hitsetkey gives the layer id), and Z because the binning is all from the same point for all Clusters.

Thanks very much,
 
--
David Stewart
Postdoctoral Fellow | Department of Physics, Wayne State University



Archive powered by MHonArc 2.6.24.

Top of Page