Skip to Content.
Sympa Menu

sphenix-tracking-l - [Sphenix-tracking-l] Truth clustering

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>
  • Subject: [Sphenix-tracking-l] Truth clustering
  • Date: Mon, 21 Jun 2021 18:50:50 +0000

Hi All,

I am following up on the question in the meeting this morning about how the truth clustering is done.

The code that fills the truth cluster asks for all g4particles from the truth info container like so:

   PHG4TruthInfoContainer* truthinfo = findNode::getClass<PHG4TruthInfoContainer>(topNode, "G4TruthInfo");
   PHG4TruthInfoContainer::ConstRange range = truthinfo->GetParticleRange();

and loops over all of the g4particles. It sums the energy in each layer from the g4hits for that particle, and fills a multimap of (layer, truth_cluster).

However it does have a check for whether the scan_for_embedded flag is set, and it skips clusters from all particles for which gembed <= 0.

So if you run with scan_for_embedded set to true, you get truth clusters only from embedded particles.

Should we change that?

Tony





Archive powered by MHonArc 2.6.24.

Top of Page