- Nov 01, 2018
-
-
Mark Jones authored
1) Read-in of the trigger reference time cuts was in ReadDatabase method when it should be in Init method. Moved to the Init method before call to InitHitList where the reference cuts are used. 2) Modified the selection of the good TDC hit for filling the TdcTimeRaw and TdcTime. Previosly used the TdcTime but not picks the TDC hit with the TdcTimeRaw that is within the time min and max windows that can be set by parameters. Default windows are min=0 and max=10000. If two hits in the time window then selects last hit within window. If not hits within time window then TdcTimeRaw=0 and TdcTime=0. The TdcMultiplicity is always filled.
-
Mark Jones authored
1) Read-in of the trigger reference time cuts was in ReadDatabase method when it should be in Init method. Moved to the Init method before call to InitHitList where the reference cuts are used. 2) Modified the selection of the good TDC hit for filling the TdcTimeRaw and TdcTime. Previosly used the TdcTime but not picks the TDC hit with the TdcTimeRaw that is within the time min and max windows that can be set by parameters. Default windows are min=0 and max=10000. If two hits in the time window then selects last hit within window. If not hits within time window then TdcTimeRaw=0 and TdcTime=0. The TdcMultiplicity is always filled.
-
- 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.
-
- Aug 24, 2018
-
-
Eric Pooser authored
-
- 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
-
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 19, 2018
-
-
Stephen A. Wood authored
So that the counts can be reported in report files.
-
- 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.
-
- 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
-
- Jul 28, 2017
-
-
Eric Pooser 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 17, 2016
-
-
Jure Bericic authored
As it turns out, this was not so easy fix. I had to do: - add at least c++0x support to scons (works for g++ 4.4.7!) - change how my DefineVariables works The c++0x support is bonus, since now we can use some additional features, like auto keyword (see https://gcc.gnu.org/gcc-4.4/cxx0x_status.html).
-
- Dec 09, 2016
-
-
Jure Bericic authored
Modified THcTrigRawHit. Modified THcTrigDet. Updated documentation.
-
- Dec 02, 2016
-
-
Jure Bericic authored
-
Jure Bericic authored
-