Exemplo n.º 1
0
    ToolSvc += VP1Updator

    from TrkDynamicNoiseAdjustor.TrkDynamicNoiseAdjustorConf import Trk__InDetDynamicNoiseAdjustment
    VP1DNAdjustor = Trk__InDetDynamicNoiseAdjustment(name='VP1DNAdjustor')
    #yminmax = 100.0)
    ToolSvc += VP1DNAdjustor
    from TrkKalmanFitter.TrkKalmanFitterConf import Trk__ForwardKalmanFitter as PublicFKF
    VP1FKF = PublicFKF(name='VP1FKF', StateChi2PerNDFPreCut=25.0)
    ToolSvc += VP1FKF

    from TrkKalmanFitter.TrkKalmanFitterConf import Trk__KalmanSmoother as PublicBKS
    VP1BKS = PublicBKS(name='VP1BKS', InitialCovarianceSeedFactor=200.)
    ToolSvc += VP1BKS

    from TrkKalmanFitter.TrkKalmanFitterConf import Trk__KalmanOutlierLogic as PublicKOL
    VP1KOL = PublicKOL(name='VP1KOL', StateChi2PerNDFCut=12.5)
    ToolSvc += VP1KOL

    #FIXME! Only do this for Muons?
    from MuonRecExample import MuonRecTools
    MdtTubeHitOnTrackCreator = MuonRecTools.getPublicTool(
        "MdtTubeHitOnTrackCreator")

    from TrkRIO_OnTrackCreator.TrkRIO_OnTrackCreatorConf import Trk__RIO_OnTrackCreator
    VP1RotCreator = Trk__RIO_OnTrackCreator(
        name='VP1RotCreator',
        ToolMuonDriftCircle=MdtTubeHitOnTrackCreator,
        Mode='all')
    ToolSvc += VP1RotCreator
    print VP1RotCreator
    print MdtTubeHitOnTrackCreator
Exemplo n.º 2
0
#lambdaxmin = 0)
ToolSvc += ElectronDNAdjustor

# Load Kalman Filter tools
from TrkKalmanFitter.TrkKalmanFitterConf import Trk__ForwardKalmanFitter as PublicFKF
ElectronFKF = PublicFKF(name='ElectronFKF', StateChi2PerNDFPreCut=30.0)
ToolSvc += ElectronFKF

from TrkKalmanFitter.TrkKalmanFitterConf import Trk__KalmanSmoother as PublicBKS
ElectronBKS = PublicBKS(name='ElectronBKS', InitialCovarianceSeedFactor=200.)
ToolSvc += ElectronBKS

from TrkKalmanFitter.TrkKalmanFitterConf import Trk__KalmanOutlierLogic as PublicKOL
ElectronKOL = PublicKOL(
    name='ElectronKOL',
    TrackChi2PerNDFCut=17.0,
    StateChi2PerNDFCut=12.5,
    #BroadPixelClusterHandle = BroadPixelClusterOnTrackTool
)
ToolSvc += ElectronKOL

from TrkKalmanFitter.TrkKalmanFitterConf import Trk__KalmanFitter as ConfiguredKalmanFitter
DNATrackFitter = ConfiguredKalmanFitter(
    name='DNATrackFitter',
    ExtrapolatorHandle=ElectronTrkExtrapolator,
    MeasurementUpdatorHandle=ElectronUpdator,
    ForwardKalmanFitterHandle=ElectronFKF,
    KalmanSmootherHandle=ElectronBKS,
    KalmanOutlierLogicHandle=ElectronKOL,
    DynamicNoiseAdjustorHandle=ElectronDNAdjustor,
    BrempointAnalyserHandle=None,
    AlignableSurfaceProviderHandle=None,
Exemplo n.º 3
0
InDetFKF.OutputLevel = OutputLevel
ToolSvc += InDetFKF
print InDetFKF

from TrkKalmanFitter.TrkKalmanFitterConf import Trk__KalmanSmoother as PublicBKS
InDetBKS = PublicBKS(name='InDetBKS',
                     InitialCovarianceSeedFactor=200.,
                     ExtrapolationEngine=ATLAS_FatrasExEngine,
                     UseExtrapolationEngine=True)
InDetBKS.OutputLevel = OutputLevel
ToolSvc += InDetBKS
print InDetBKS

from TrkKalmanFitter.TrkKalmanFitterConf import Trk__KalmanOutlierLogic as PublicKOL
InDetKOL = PublicKOL(name='InDetKOL',
                     TrackChi2PerNDFCut=17.0,
                     StateChi2PerNDFCut=12.5)
InDetKOL.OutputLevel = OutputLevel
ToolSvc += InDetKOL
print InDetKOL

InDetDNAdjustor = None
InDetDNASeparator = None

from TrkKalmanFitter.TrkKalmanFitterConf import Trk__KalmanFitter as ConfiguredKalmanFitter
InDetTrackFitter = ConfiguredKalmanFitter(
    name='InDetTrackFitter',
    ExtrapolatorHandle=InDetExtrapolator,
    RIO_OnTrackCreatorHandle=InDetRotCreator,
    MeasurementUpdatorHandle=InDetUpdator,
    ForwardKalmanFitterHandle=InDetFKF,