Skip to content
Snippets Groups Projects
Commit eba3d56e authored by Carlos Yero's avatar Carlos Yero Committed by Mark K Jones
Browse files

1)added THcCoinTime module to replay_production_coin_pElec_hProt.C

2)added eHadron coin offset parameter
3)added HMS/SHMS central pathlength parameter
parent 2057c363
No related branches found
No related tags found
No related merge requests found
block T.coin.hTRIG*
block T.coin.pTRIG*
block CTime*
block H.cer.*
block H.dc.*
......@@ -23,6 +24,7 @@ block P.kin.*
block P.rb.*
block P.react.*
begin epics
IBC3H00CRCUR4
hac_bcm_average
......
......@@ -6,7 +6,9 @@
href_npaddles = 0
href_nsperchan = 0.1
href_offset = 0.0
;
;HMS Central Path Lenth from target to focal plane
HMS_CentralPathLen = 22.*100 ; 22 m (or 2200 cm)
hcal_num_layers = 4
......
;SHMS Central Path Lenth from target to focal plane
SHMS_CentralPathLen = 18.1*100 ; 18.1 m (or 1810 cm)
; Parameters we need to keep THcHallCSpectrometer Happy
;p_recon_coeff_filename = "DATFILES/SHMS_fr3_rec__order_5.dat"
;p_recon_coeff_filename = "DATFILES/shms-2011-26cm-monte_q2_p20_rec.dat"
......
......@@ -3,6 +3,12 @@ t_coin_numTdc = 110
t_coin_tdcoffset = 300.
t_coin_adc_tdc_offset = 200.
t_coin_tdcchanperns = 0.1
eHadCoinTime_Offset = 0.
;NOTE: pTRIG1_ROC1, pTRIG4_ROC1, pTRIG1_ROC2, pTRIG4_ROC2 (tdcTimeRaw), are hard-coded in THcTrigDet.cxx class
; These varibles and their indices are used for the coincidence time calculation, and should NOT change here.
; If you do change them, please make sure to modify the THcTrigDet.cxx class.
; bar num: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
t_coin_adcNames = "hASUM hBSUM hCSUM hDSUM hPSHWR hSHWR hAER hCER hFADC_TREF_ROC1 pAER pHGCER pNGCER pPSHWR pFADC_TREF_ROC2 pHGCER_MOD pNGCER_MOD pHEL_NEG pHEL_POS pHEL_MPS"
......
......@@ -181,6 +181,12 @@ void replay_production_coin_pElec_hProt (Int_t RunNumber = 0, Int_t MaxEvent = 0
gHaApps->Add(TRG);
// Add trigger detector to trigger apparatus
THcTrigDet* coin = new THcTrigDet("coin", "Coincidence Trigger Information");
//Add coin physics module
THcCoinTime* coinTime = new THcCoinTime("CTime", "Coincidende Time Determination", "H", "P", "T.coin");
gHaPhysics->Add(coinTime);
// Suppress missing reference time warnings for these event types
coin->SetEvtType(1);
coin->AddEvtType(2);
......
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