Skip to content
Snippets Groups Projects
Commit d5134c3d authored by hallc-online's avatar hallc-online
Browse files

Modify THcDC and THcHallCSpectrometer

The purpose is to add a call in THcHallCSpectrometer:TrackCalc
to fill variables in THcDC for the golden track.

THcHallCSpectrometer.h
----------------------
1) Add object THcDC* fDC
2) Eliminate object fShower since it was not being used.

THcHallCSpectrometer.cxx
----------------------
1) in ReadDatabase method cast fDC in detector "dc" is defined
2) in FindVertices method add call
    to fDC->SetFocalPlaneBestTrack(hit_gold_track)
    where hit_gold_track is the HaTracks array index
    of the golden track

THcDC.h
-------
1) Add method SetFocalPlaneBestTrack

THcDC.cxx
---------
1) Eliminate filling of best focal plane quantities
   in CoarseTrack which defined "best" by lowest chi2
2) Create method SetFocalPlaneBestTrack
   a)fills the best focal plane quantities using the golden track
   b) fills fResiduals using golden track
parent 09089663
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment