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: David Stewart <0ds.johnny AT gmail.com>
  • To: tkhemmick AT gmail.com
  • Cc: sphenix-tracking-l AT lists.bnl.gov
  • Subject: Re: [Sphenix-tracking-l] RE displaying hits in the TPC
  • Date: Mon, 5 Dec 2022 10:47:44 -0500

Thank you all!

I have a question moving forward, probably for Chris. I have included <trackbase/ActsGeometry.h> and pulled ActsGeometry from the node tree. The code compiles, but when run I get the following errors:

first:
/cvmfs/sphenix.sdcc.bnl.gov/gcc-8.3/release/release_new/new.6/include/Eigen/src/Core/util/IntegralConstant.h:189:36: warning: variable 'Eigen::fix<1>' has internal linkage but is not defined [-Wundefined-internal]
static const internal::FixedInt<N> fix{};


second:
/cvmfs/sphenix.sdcc.bnl.gov/gcc-8.3/release/release_new/new.6/include/Eigen/src/Core/util/IndexedViewHelper.h:57:147: note: used here static const symbolic::AddExpr<symbolic::SymbolExpr<internal::symbolic_last_tag>,symbolic::ValueExpr<Eigen::internal::FixedInt<1> > > lastp1(last+fix<1>());

Is there a dynamic library that I should be loading in my script for these? 

I have looked under G4_ActsGeom.C and tried to emulate some of that code locally, but I think I am at the point of diminishing returns for further attempt,

Thanks,
Dave

On Thu, Dec 1, 2022 at 1:01 PM Thomas K Hemmick <tkhemmick AT gmail.com> wrote:
I thought this was a nice display:

image.png
Kinda rudimentary, but it is an actual track from the real TPC running in the basement at Stony Brook...so there's that.  😉

Tom  

On Thu, Dec 1, 2022 at 11:19 AM Christof Roland via sPHENIX-tracking-l <sphenix-tracking-l AT lists.bnl.gov> wrote:
HI David, 

the macro I pointed you to prints straight out of the SvtxEvaluator output ntuples.
Maybe just adding the Evaluator to you processing macro could help getting you started.

the evaluator ntuples for hits, clusters and g4hits all know about the gtrackID of the associated 
truth info. So if you know the gtrackId of a problematic truth cluster you can easily display 
the hit distributions stright from the evaluator and put a dot in the display by  selecting a g4hit or a cluster in 
a given layer by selecting on the gtrackid. 

Cheers

   Christof 

On 1. Dec 2022, at 13:04, David Stewart via sPHENIX-tracking-l <sphenix-tracking-l AT lists.bnl.gov> wrote:

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
_______________________________________________
sPHENIX-tracking-l mailing list
sPHENIX-tracking-l AT lists.bnl.gov
https://lists.bnl.gov/mailman/listinfo/sphenix-tracking-l

_______________________________________________
sPHENIX-tracking-l mailing list
sPHENIX-tracking-l AT lists.bnl.gov
https://lists.bnl.gov/mailman/listinfo/sphenix-tracking-l


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



Archive powered by MHonArc 2.6.24.

Top of Page