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
Branches
Tags
No related merge requests found
block T.coin.hTRIG* block T.coin.hTRIG*
block T.coin.pTRIG* block T.coin.pTRIG*
block CTime*
block H.cer.* block H.cer.*
block H.dc.* block H.dc.*
...@@ -23,6 +24,7 @@ block P.kin.* ...@@ -23,6 +24,7 @@ block P.kin.*
block P.rb.* block P.rb.*
block P.react.* block P.react.*
begin epics begin epics
IBC3H00CRCUR4 IBC3H00CRCUR4
hac_bcm_average hac_bcm_average
......
...@@ -6,7 +6,9 @@ ...@@ -6,7 +6,9 @@
href_npaddles = 0 href_npaddles = 0
href_nsperchan = 0.1 href_nsperchan = 0.1
href_offset = 0.0 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 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 ; Parameters we need to keep THcHallCSpectrometer Happy
;p_recon_coeff_filename = "DATFILES/SHMS_fr3_rec__order_5.dat" ;p_recon_coeff_filename = "DATFILES/SHMS_fr3_rec__order_5.dat"
;p_recon_coeff_filename = "DATFILES/shms-2011-26cm-monte_q2_p20_rec.dat" ;p_recon_coeff_filename = "DATFILES/shms-2011-26cm-monte_q2_p20_rec.dat"
......
...@@ -3,6 +3,12 @@ t_coin_numTdc = 110 ...@@ -3,6 +3,12 @@ t_coin_numTdc = 110
t_coin_tdcoffset = 300. t_coin_tdcoffset = 300.
t_coin_adc_tdc_offset = 200. t_coin_adc_tdc_offset = 200.
t_coin_tdcchanperns = 0.1 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 ; 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" 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 ...@@ -181,6 +181,12 @@ void replay_production_coin_pElec_hProt (Int_t RunNumber = 0, Int_t MaxEvent = 0
gHaApps->Add(TRG); gHaApps->Add(TRG);
// Add trigger detector to trigger apparatus // Add trigger detector to trigger apparatus
THcTrigDet* coin = new THcTrigDet("coin", "Coincidence Trigger Information"); 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 // Suppress missing reference time warnings for these event types
coin->SetEvtType(1); coin->SetEvtType(1);
coin->AddEvtType(2); coin->AddEvtType(2);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment