11 """Configure the derivation framework driving algorithm (kernel) for SCTVALID"""
19 SCTVALIDSequenceName=
'SCTVALIDSequence'
20 acc.addSequence(
seqAND(SCTVALIDSequenceName))
25 from DerivationFrameworkTools.DerivationFrameworkToolsConfig
import PrescaleToolCfg
28 flags, name=
"SCTxAOD_PrescaleTool", Prescale=flags.InDet.SCTxAODPrescale))
30 skimmingTools += [prescaleTool]
32 SCTVALIDKernelPresel = CompFactory.DerivationFramework.DerivationKernel(
"SCTVALIDKernelPresel",
33 SkimmingTools=skimmingTools)
34 acc.addEventAlgo(SCTVALIDKernelPresel, sequenceName=
"SCTVALIDSequence")
36 from InDetConfig.InDetPrepRawDataToxAODConfig
import InDetSCT_PrepDataToxAODCfg
39 WriteRDOinformation=
True,
42 UseTruthInfo=flags.Input.isMC),
43 sequenceName=SCTVALIDSequenceName)
46 from InDetConfig.InDetPrepRawDataToxAODConfig
import InDetSCT_RawDataToxAODCfg
48 sequenceName=SCTVALIDSequenceName)
53 if flags.Reco.EnableTracking
is True:
54 from DerivationFrameworkInDet.InDetToolsConfig
import TrackStateOnSurfaceDecoratorCfg
61 augmentationTools.append(DFTSOS)
63 from DerivationFrameworkInDet.InDetToolsConfig
import EventInfoBSErrDecoratorCfg
65 augmentationTools.append(DFEI)
67 from DerivationFrameworkInDet.InDetToolsConfig
import UnassociatedHitsGetterToolCfg
69 TrackCollection =
"CombinedInDetTracks",
70 PixelClusters =
"PixelClusters",
71 SCTClusterContainer =
"SCT_Clusters",
72 TRTDriftCircleContainer =
"TRT_DriftCircles"))
74 from DerivationFrameworkInDet.InDetToolsConfig
import UnassociatedHitsDecoratorCfg
76 name=
'SCTxAOD_unassociatedHitsDecorator',
77 UnassociatedHitsGetter = unassociatedHitsGetterTool))
78 augmentationTools.append(unassociatedHitsDecorator)
80 acc.addEventAlgo(CompFactory.DerivationFramework.DerivationKernel(
82 AugmentationTools=augmentationTools,
83 SkimmingTools=skimmingTools,
85 OutputLevel=INFO), sequenceName=SCTVALIDSequenceName)