Skip to content
Snippets Groups Projects
Commit a1c8b509 authored by Yero1990's avatar Yero1990 Committed by Eric Pooser
Browse files

Dc calib work (#429)

* moved 'old_scripts' directory to UTIL_ED

* Added optional num_evts argument to take '-1' as an option to loop over all events in the TTree.

* updated good_event definition: X.cal.etot>0.1&&X.cer_npeSum>1.0&&(5/6 PLANE HITS)

* added percent variable to determine fit region for HMS/SHMS independently

* add t0_err_threshold as criteria for accepting good wire drift time fits

* Started to implement Per Card DC Calibration: 1)Added per-card methods in header file, 2)Added varible plane_cars[NPLANES] to store max number of disc. cards in a plane

* added per-card histogram definitions

* added GetCard() method

* Added option to calibrated by card ... Currently working on EventLoop() method

* Implement GetCard() method within EventLoop() method :: Add option to fill uncorrected plane and card drift times while in 'card' mode during the calibration

* added GetTwentyPercent_Card() method

* added FitCardDriftTime() method

* re-arranged methods

* added card histograms to WriteToFile() method

* added mode string to setup directory methood

* Working version of DC Calib using 'card' optional argument

* Finished implementing per card DC Calibration
parent 239ffb87
No related branches found
No related tags found
No related merge requests found
Showing
with 1016 additions and 2611 deletions
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