Dc calib work (#428)
* remove optional flag dc_1hit, since ndata==1 cut was made a requirement for good track * remove useless method printInitVar() :: remove useless variable dir_log_name * remove pintInit() method from main_calib.C :: rename offset to tdc_offset * Added SetTdcOffset() method to initialize the tdc offsets values independently of the event loop, and save some lines of coding * incorporated ApplyTZeroCorrection() Method into the EventLoop() Method, with an oprional parameter. This way, there will be a single event loop in the entire code * removed un-necessary ndata_wirenum variable. Removed pid_hadron optional flag, removed h(p)EL_CLEAN tdcTime cut since it is too restrictive, and cerenkov/calorimeter cuts can be used instead * added chamber1/2 hit counters to require at least 5/6 planes hit per event per chamber as critereon for good event * Added option to EventLoop() method to fill Uncorrected times
Showing
- CALIBRATION/dc_calib/scripts/DC_calib.C 108 additions, 442 deletionsCALIBRATION/dc_calib/scripts/DC_calib.C
- CALIBRATION/dc_calib/scripts/DC_calib.h 9 additions, 13 deletionsCALIBRATION/dc_calib/scripts/DC_calib.h
- CALIBRATION/dc_calib/scripts/main_calib.C 7 additions, 7 deletionsCALIBRATION/dc_calib/scripts/main_calib.C
Loading
Please register or sign in to comment