Skip to content
Snippets Groups Projects
  • hallc-online's avatar
    e04a61b0
    Modified HcTrigDet::Init , Decode and ReadDatabase · e04a61b0
    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.
    e04a61b0
    History
    Modified HcTrigDet::Init , Decode and ReadDatabase
    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.