JeffersonLab / hcana

Hall C++ Analyzer
7 stars 118 forks source link

Peter updates #440

Closed MarkKJones closed 5 years ago

MarkKJones commented 5 years ago

Commit 1) Update THcCoinTime to add new ways to calculate coincidence time (see commit)

Commit 2)Modify HallCSpectrometer to have a tree variable for monitor which cut is used in the BestTrackUsingPruning method

Commit 3) Modify THcDC

In THcDC.h change MAXTRACKS from 10 to 50. The maximum number of tracks is set by parameter ntracks_max_fp Previously the LinkStubs method would not create any tracks if the total number of spacepoints in the two chambers was larger than 10. Now LinkStubs will create a vector of THcSpacePoints of up to 100 spacepoints with no more than 50 spacepoints from chamber 1 and use that to find possible tracks. Commit 4) Add THcScintPlaneClust, Modify THcHodoscope and THcScintillatorPlane 1) THcScintPlaneCluster is a new class to hold information about scintillator plane clusters of paddle hits. The clusters of paddles for each plane are formed in THcHodoscope::TrackEffTest which is used in the tracking efficiency. 2) Modify THcScintillatorPlane so that the cluster information (number of clusters, size,pos, flag if cluster used) is in the tree. 3) Modify THcHodoscope::TrackEffTest so position difference are taken for all clusters in X1 (or Y1) with all clusters in X2 (Y2).