- Oct 22, 2018
-
-
Mark Jones authored
1) THcTrigDet a) Modify code to use string vector fTrigNames to identify which of the trigger trigger detector TDC signals to use for coincidence timing. This replaces the hard-coded names. The integer array fTrigId[4] keeps track of the array ID in the overall fTDcNames vector that goes with the fTrigNames[4] b) The fTrigNames must be in order of SHMS ROC1, HMS ROC1, SHMS ROC2 and HMS ROC2. c) Default names are "pTRIG1_ROC1","pTRIG4_ROC1","pTRIG1_ROC2","pTRIG4_ROC2" The parameter is t_coin_trigNames For example: t_coin_trigNames="pTRIG1_ROC1 pTRIG4_ROC1 pTRIG1_ROC2 pTRIG4_ROC2" This parameter is read-in and the split into a string vector fTrigNames. d) In HcTrigDet::ReadDatabase , all members of fTrigID array are set to -1 then a loop over all Tdc in the trigger detector looks for match between fTdcNames amd fTrigNames to set fTrigId. If match not found the fTrigId = -1. e) In THcTrigDet.h made new method Get_CT_TrigTime(Int_t ii) to be used in in THcCoinTime to get the 4 trigger times: SHMS ROC1 (ii=0), HMS ROC1 (ii=1), SHMS ROC2 (ii=2) and HMS ROC2 (ii=3). If fTrigId[ii]=0 then it returns 0 otherwise returns fTdcTime[fTrigID[ii]]. 2) THcCoinTime a) Previously used the raw trigger times and had a hard-coded 0.1 ns/channel conversion. Now use the trigger times which already are in ns using the ns/channel conversion set in the TrigDet. b) Now use the new TrgiDet method Get_CT_TrigTime(ii) to get the trigger times for SHMS ROC1, HMS ROC1, SHMS ROC2 and HMS ROC2.
-
- Apr 30, 2018
-
-
Carlos Yero authored
1) Created Coincidence Time Physics Module 2) Created method to get coin. trig times in the THcTrigDet.cxx class
-
- Apr 23, 2018
-
-
hallc-online authored
1) Have time cut on TrigDet reference time for TDC and ADC, to select reference time from multiple hits 2) Have time window to select best TDC or ADC reference time subtracted time hit for each channel.
-
- 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 03, 2018
-
-
hallc-online authored
Increase default size static const int fMaxAdcChannels = 200; static const int fMaxTdcChannels = 200;
-
- Jan 12, 2018
-
-
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.
-
- Dec 06, 2017
-
-
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.
-
- Nov 30, 2017
-
-
Mark Jones authored
-
Mark Jones authored
-
- Mar 16, 2017
-
-
hallc-online authored
In HcTrigDet::Init moved InitHitList after gHcDetectorMap->FillMap so that the refindex can be filled for the trigger TDC modules In ReadDatabase add parameters fTdcOffset and fTdcChanperNS In Decode set fTdcTime[cnt] = rawTdcHit.GetTime()*fTdcChanperNS-fTdcOffset Ths makes the time into a positive number wiht units of ns Need to add the parameter to either thms.param or tshms.param or it will use defaults of 0.1 and 300. Need to eventually get the fTdcChanperNS from event 125.
-
- Feb 06, 2017
-
-
Jure Bericic authored
`THcTrigRawHit` now uses raw ADC and TDC classes. Added new leaves to the `THcTrigDet` Root output.
-
- Dec 09, 2016
-
-
Jure Bericic authored
Modified THcTrigRawHit. Modified THcTrigDet. Updated documentation.
-
- Dec 02, 2016
-
-
Jure Bericic authored
-