- Feb 19, 2018
-
-
Stephen A. Wood authored
First hit above this cut is taken as the reference time. Cuts are per detector and read as an optional parameter in each detector class. TDCs and Flash ADC times have separate cuts. Implement a second method of selecting best reference time. If InitHitList is passed a possitive reference time cut, use the first reference time above that cut. If none of the hits pass the cut, then no reference time is set If InitHitList is passed a negative cut, the cut is taken to be the absolute value of the cut, but a reference time is garuanteed to be set as long as there is at least one reference time hit. If none of the reference time hits pass the cut, then the last hit is taken to be the reference time. (Should be the largest.) Allow reference time cuts for all the spectrometer detector classes Hodoscopes, drift chambers, Aerogels, Gas Cherenkovs, Calorimeters
-
- Feb 15, 2018
-
-
Stephen A. Wood authored
Add End method to each detector that calls MissReport which prints the number of events with missing TDC and ADC reference times.
-
- Feb 12, 2018
-
-
Stephen A. Wood authored
in THcDummySpectrometer and THcTrigApp by removing calls to DefineVarsFromList that are not needed because those classes define no variables.
-
Stephen A. Wood authored
-
- Feb 11, 2018
-
-
hallc-online authored
THcHallCSpectrometer 1) Add variables fMispointing_x and fMispointing_y which are filled by parameters hmispointing_x, hmispointing_y in PARAM/HMS/GEN/hmsflags.param and pmispointing_x, pmispointing_y in PARAM/SHMS/GEN/shmsflags.param . The offsets are used in THcExtTarCor and THaReactionPoint 2) Modify argument to method CalculateTargetQuantities to be xtar instead of gbeam_y . THcExtTarCor 1) add call to get spectrometer pointing offsets 2) The mispointing_x is added to xtar 3) Set xtar to start as -beam_y = - vertex(1)+mispointing_x for first call to CalculateTargetQuantities After first call the xtar is recalculated using the returned xptar and a second call is done to get the target xptar,ytar,yptar and delta. 4) Fill golden track with final xtar
-
- Feb 05, 2018
-
-
Stephen A. Wood authored
-
- Feb 04, 2018
-
-
hallc-online authored
Added call trkifo->Set since it is used in THcPrimaryKine and THcSecondaryKine Fill golden track with target quantities after correction for vertical target position.
-
hallc-online authored
When filling beam position that is used in determining the reaction point multiply the raster X by -1 to put in the right handed coordinate system The raster coordinate system is left-handed to match the EPICS beam coordinate system.
-
- Feb 03, 2018
-
-
hallc-online authored
Increase default size static const int fMaxAdcChannels = 200; static const int fMaxTdcChannels = 200;
-
- Jan 30, 2018
-
-
hallc-online authored
Add TH1f histogram hTime to replace timehist array
-
- Jan 29, 2018
-
-
sanghwapark authored
-
sanghwapark authored
-
- Jan 27, 2018
-
-
hallc-online authored
1) add error message if Time between sucessive reads is zero. This should never happen. 2) Add the event number of that scaler read to the Scaler root tree The tree variable is evNumber
-
- Jan 22, 2018
-
-
hallc-online authored
Added a check that fDeltatime>0 when calculating charge and current.
-
- Jan 12, 2018
-
-
Stephen A. Wood authored
-
Stephen A. Wood authored
For a TrigDet associated with one spectrometer, call SetSpectName so that H.present or P.present can be found. For coin TrigDet, supply a list of event types for which warnings should be suppressed.
-
Stephen A. Wood authored
-
Stephen A. Wood authored
Other missing energy def name changed to emiss_nuc Get secondary particle mass from the parameter DB instead of the spectrometer object
-
Stephen A. Wood authored
-
- Jan 09, 2018
-
-
Melanie Cardona authored
Switched X and Y rasters to make them consistent with epics left-handed coordinate system, and changed sign of x in fDirection() to make the beam position a right-handed system
-
- Jan 05, 2018
-
-
Stephen A. Wood authored
Don't use prefix to construct name
-
- Dec 20, 2017
-
-
Stephen A. Wood authored
It was a stupid idea
-
- Dec 18, 2017
-
-
Melanie Cardona authored
Edited CalculatePedestals() method to correctly fill rasters, and corrected typos in fYA_ADC and fXB_ADC when calculating the currents
-
- Dec 14, 2017
-
-
Stephen A. Wood authored
The Event handler can now be given any name. (Only one THcConfigEvtHandler should be instatiated.) Also: THcConfigEventHandler clears CrateInfoMap on Init. THcHitList caches FADC config on first event
-
- Dec 13, 2017
-
-
Brad Sawatzky authored
Add _ti_ps_factors[] array with prescale factors computed from exponents
-
Brad Sawatzky authored
-
- Dec 12, 2017
-
-
Stephen A. Wood authored
-
- Dec 11, 2017
-
-
Stephen A. Wood authored
-
- Dec 09, 2017
-
-
hallc-online authored
Add variable for the difference between the Hodoscope start time and the ADC pulse time. Select good adc hit based on window on this difference
-
hallc-online authored
Have variables fGoodPosAdcTdcDiffTime and fGoodNegAdcTdcDiffTime which are the difference between TDC time and ADC pulse time Replace ADC pulse time cut with cut on difference between TDC time and ADC pulse time to select good ADC pulse.
-
hallc-online authored
Eliminate cut on fStartTimeCenter in selecting good focal plane times.
-
- Dec 08, 2017
-
-
hallc-online authored
Add code for doing the vertical target position correction to the optics.
-
hallc-online authored
Fix mistake of add target offsets twice. Fix mistake in units for the HMS Q3 correction
-
- Dec 06, 2017
-
-
hallc-online authored
Add in offsets for xptar, yptar and delta Add in delta correction as function of xpfp and central momentum for HMS. This corrects for a problem in setting Q3 current. There was an unknown zero offset in the Q3 current. This was determined by T. Horn in 2003.
-
Stephen A. Wood authored
To do this suppression, a trigger detector object needs to know the name of spectrometer it is associated with. By default it will get this name from the first character of the it's own name. This can be overridden with the SetSpectName method.
-
Stephen A. Wood authored
Each detector object will check the global variable X.present each event. If X.present is false, it indicates that the parent spectrometer object determineted that this spectrometer is not in this event, and therefor reference times are not expected. If X.present is false, then the reference time warning messages will be suppressed.
-
Stephen A. Wood authored
-
Stephen A. Wood authored
-
- Dec 05, 2017
-
-
Stephen A. Wood authored
-
Edward Brash authored
-