Skip to Content.
Sympa Menu

sphenix-tracking-l - Re: [Sphenix-tracking-l] Evaluator update

sphenix-tracking-l AT lists.bnl.gov

Subject: sPHENIX tracking discussion

List archive

Chronological Thread  
  • From: Haiwang Yu <yuhw.pku AT gmail.com>
  • To: Christof Roland <christof.roland AT cern.ch>, "Frawley, Anthony" <afrawley AT fsu.edu>
  • Cc: "sphenix-tracking-l AT lists.bnl.gov" <sphenix-tracking-l AT lists.bnl.gov>
  • Subject: Re: [Sphenix-tracking-l] Evaluator update
  • Date: Mon, 12 Jun 2017 22:49:27 +0000

Hi Christof, Tony and all,

I pulled in this change to my repository with some other changes.
https://github.com/HaiwangYu/coresoftware/tree/KalmanPatRec_merge_CR_2017_06_12

two libraries needs to be compiled:
simulation/g4simulation/g4eval
simulation/g4simulation/g4hough

To reconstruct primary/vertex tracks, simply turn on the set_fit_primary_tracks switch for PHG4TrackKalmanFitter like here:
https://github.com/HaiwangYu/macros/blob/KalmanPatRec_merge_CR_2017_06_12/macros/g4simulations/RunKalmanPatRec.C#L165

Another node containing the primary tracks will be created naming PrimaryTrackMap

And to use Christof’s evaluator to evaluate those tracks instead of the default SvtxTrackMap
One could change the SvtxEvaluator constructor like this:
https://github.com/HaiwangYu/macros/blob/KalmanPatRec_merge_CR_2017_06_12/macros/g4simulations/RunKalmanPatRec.C#L202

Cheers,
Haiwang

On Mon, Jun 12, 2017 at 4:06 PM Christof Roland christof.roland AT cern.ch wrote:

Hi, 

anybody who wants to geve the updated evaluator a try please look at:
https://github.com/bogui56/coresoftware/tree/master/simulation/g4simulation/g4eval

In this version all number of hits, layer and tru hit counts are filled for maps, intt and tpc.
Number of wrong (unmatched) hits are also counted now. 

There is an option to run the evaluator without truth matching, so one can just dump the 
entire event into the ntuple without the check for embed flag. To use this modify your 
macro like below:

SvtxEvaluator* eval = new SvtxEvaluator("SVTXEVALUATOR",
g4svtx_eval_out_name);
eval->do_cluster_eval(false);
eval->do_g4hit_eval(false);
eval->do_hit_eval(false);
eval->do_gpoint_eval(false);
eval->do_track_match(false);
eval->scan_for_embedded(false); 
eval->Verbosity(0);
se->registerSubsystem(eval);

Cheers

   Christof 

On 12.06.2017, at 12:34, Frawley, Anthony <afrawley AT fsu.edu> wrote:

Hi All,

We will connect to Bluejeans at 2:30 pm EDT this afternoon for some discussion of our progress.

Best regards
Tony
_______________________________________________
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




Archive powered by MHonArc 2.6.24.

Top of Page