Commit b02568f6 authored by Gerhard Raven's avatar Gerhard Raven
Browse files

use UT versions of ST code for UT

parent daaa865f
Pipeline #1318718 passed with stage
in 36 seconds
......@@ -12,7 +12,7 @@ from Gaudi.Configuration import *
from GaudiKernel.SystemOfUnits import *
from Configurables import MCUTDepositCreator, UTChargeSharingTool
from Configurables import SiAmplifierResponse, STSelectClustersByChannel, STRndmEffSelector
from Configurables import SiAmplifierResponse, UTSelectClustersByChannel, UTRndmEffSelector
MCUTDepositCreator = MCUTDepositCreator('MCUTDepositCreator', DetType='UT')
......@@ -24,10 +24,10 @@ MCUTDepositCreator.SpillTimes = [0.]
# charge sharing function for UT
MCUTDepositCreator.ChargeSharerTypes = ["250"]
MCUTDepositCreator.addTool(UTChargeSharingTool, name='STChargeSharingTool250')
MCUTDepositCreator.STChargeSharingTool250.Thickness = 0.250 * mm
MCUTDepositCreator.STChargeSharingTool250.UseAnalyticErf = True
MCUTDepositCreator.STChargeSharingTool250.ErfWidth = 0.005
MCUTDepositCreator.addTool(UTChargeSharingTool, name='UTChargeSharingTool250')
MCUTDepositCreator.UTChargeSharingTool250.Thickness = 0.250 * mm
MCUTDepositCreator.UTChargeSharingTool250.UseAnalyticErf = True
MCUTDepositCreator.UTChargeSharingTool250.ErfWidth = 0.005
# beetle response
MCUTDepositCreator.ResponseTypes = ["20signal", "20capCoupling"]
......@@ -76,8 +76,8 @@ MCUTDepositCreator.XTalkParamsRightOdd = [0.05, 0]
MCUTDepositCreator.XTalkParamsRightEven = [0.05, 0]
# Tools
ToolSvc().addTool(STSelectClustersByChannel, 'UTKiller')
ToolSvc().UTKiller.addTool(STRndmEffSelector, 'Selector')
ToolSvc().addTool(UTSelectClustersByChannel, 'UTKiller')
ToolSvc().UTKiller.addTool(UTRndmEffSelector, 'Selector')
ToolSvc().UTKiller.Selector.DetType = "UT"
#ToolSvc.STSignalToNoiseToolUT.DetType = "UT"
#ToolSvc.UTSignalToNoiseToolUT.DetType = "UT"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment