103 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
105 acc.merge(
AFP_LocReco_SiD_Cfg(flags, {
"tracksContainerName":
recordable(
"HLT_AFPTrackContainer"),
"AFPSiHitsClusterContainerKey":
"HLT_AFPSiHitsClusterContainer"}))
106 AFP_SID = acc.getEventAlgo(
"AFP_SIDLocReco")
108 from AthenaMonitoringKernel.GenericMonitoringTool
import GenericMonitoringTool
111 monTool_AFP_SIDLocRecoTool.defineHistogram(
'TrkSize', path=
'EXPERT', type=
'TH1F', title=
'AFP tracks size',xbins=50, xmin=0, xmax=50 )
112 AFP_SID.recoTool.MonTool = monTool_AFP_SIDLocRecoTool
114 for i, kalmanTool
in enumerate(AFP_SID.recoTool.RecoToolsList):
117 monTool_AFP_BasicKalman.defineHistogram(
'TrkStationID', path=
'EXPERT', type=
'TH1F', title=
'Track station ID',xbins=4, xmin=0, xmax=4, cutmask=
'TrkMask' )
118 monTool_AFP_BasicKalman.defineHistogram(
'TrkXLocal', path=
'EXPERT', type=
'TH1F', title=
'Track xLocal',xbins=100, xmin=-200, xmax=200, cutmask=
'TrkMask' )
119 monTool_AFP_BasicKalman.defineHistogram(
'TrkYLocal', path=
'EXPERT', type=
'TH1F', title=
'Track yLocal',xbins=100, xmin=-30, xmax=30, cutmask=
'TrkMask' )
120 monTool_AFP_BasicKalman.defineHistogram(
'TrkZLocal', path=
'EXPERT', type=
'TH1F', title=
'Track zLocal',xbins=100, xmin=-500000, xmax=500000, cutmask=
'TrkMask' )
121 monTool_AFP_BasicKalman.defineHistogram(
'TrkXSlope', path=
'EXPERT', type=
'TH1F', title=
'Track x slope',xbins=100, xmin=-0.5, xmax=0.5, cutmask=
'TrkMask' )
122 monTool_AFP_BasicKalman.defineHistogram(
'TrkYSlope', path=
'EXPERT', type=
'TH1F', title=
'Track y slope',xbins=100, xmin=-0.5, xmax=0.5, cutmask=
'TrkMask' )
123 monTool_AFP_BasicKalman.defineHistogram(
'TrkNClusters', path=
'EXPERT', type=
'TH1F', title=
'Track number of clusters',xbins=100, xmin=0, xmax=100, cutmask=
'TrkMask' )
124 monTool_AFP_BasicKalman.defineHistogram(
'TrkNHoles', path=
'EXPERT', type=
'TH1F', title=
'Track number of holes',xbins=100, xmin=0, xmax=100, cutmask=
'TrkMask' )
125 monTool_AFP_BasicKalman.defineHistogram(
'TrkChi2', path=
'EXPERT', type=
'TH1F', title=
'Track chi2',xbins=50, xmin=0, xmax=10, cutmask=
'TrkMask' )
127 AFP_SID.recoTool.RecoToolsList[i].MonTool = monTool_AFP_BasicKalman