Esempio n. 1
0
# ------------------------
# SET UP FITTER
# ------------------------

# User's analysis requirements here:
# ----------------------------------

from TrkExTools.AtlasExtrapolator import AtlasExtrapolator
InDetExtrapolator = AtlasExtrapolator(name="AtlasExtrapolator")
ToolSvc += InDetExtrapolator
print InDetExtrapolator

from TrkV0Fitter.TrkV0FitterConf import Trk__TrkV0VertexFitter
TrkV0Fitter = Trk__TrkV0VertexFitter(name="TrkV0FitterName",
                                     MaxIterations=10,
                                     Use_deltaR=False,
                                     Extrapolator=InDetExtrapolator)
ToolSvc += TrkV0Fitter
print TrkV0Fitter

from TrkVKalVrtFitter.TrkVKalVrtFitterConf import Trk__TrkVKalVrtFitter
TrkVKalVrtFitter = Trk__TrkVKalVrtFitter(name="VKalVrtFitter",
                                         Extrapolator=InDetExtrapolator,
                                         FirstMeasuredPoint=False,
                                         MakeExtendedVertex=True)
ToolSvc += TrkVKalVrtFitter
print TrkVKalVrtFitter

from InDetConversionFinderTools.InDetConversionFinderToolsConf import InDet__VertexPointEstimator
VtxPointEstimator = InDet__VertexPointEstimator(
    name="VtxPointEstimator",
Esempio n. 2
0
        InDetLowBetaTrkAlgorithm = ConfiguredLowBetaFinder(
            InDetKeys.TrackParticles(), False)

# -------------------------------------------------------------------------
#
# ----------- V0 Finder Algorithm
#
# -------------------------------------------------------------------------

if InDetFlags.doV0Finder():
    #
    if InDetFlags.useV0Fitter():
        from TrkV0Fitter.TrkV0FitterConf import Trk__TrkV0VertexFitter
        InDetV0Fitter = Trk__TrkV0VertexFitter(
            name='InDetV0Fitter',
            MaxIterations=10,
            Use_deltaR=False,
            Extrapolator="Trk::Extrapolator/InDetExtrapolator")
        ToolSvc += InDetV0Fitter
        #InDetV0Fitter.OutputLevel = DEBUG
        if (InDetFlags.doPrintConfigurables()):
            print InDetV0Fitter
        #
        InDetVKVertexFitter = None
        InDetKshortFitter = None
        InDetLambdaFitter = None
        InDetLambdabarFitter = None
    else:
        InDetV0Fitter = None
        #
        from TrkVKalVrtFitter.TrkVKalVrtFitterConf import Trk__TrkVKalVrtFitter
Esempio n. 3
0
#------------------------------------------------------------------------------

from TrkVKalVrtFitter.TrkVKalVrtFitterConf import Trk__TrkVKalVrtFitter
TrkVKalVrtFitter = Trk__TrkVKalVrtFitter(name                    = 'VKalVrtFitterName',
                                         Extrapolator            = InDetExtrapolator,
                                         MagFieldSvc             = InDetMagField,
                                         FirstMeasuredPoint      = True,
                                         #FirstMeasuredPointLimit = True,
                                         MakeExtendedVertex      = True)
ToolSvc += TrkVKalVrtFitter
print      TrkVKalVrtFitter

from TrkV0Fitter.TrkV0FitterConf import Trk__TrkV0VertexFitter
TrkV0Fitter = Trk__TrkV0VertexFitter(name              = 'TrkV0FitterName',
                                     MaxIterations     = 10,
                                     Use_deltaR        = False,
                                     Extrapolator      = InDetExtrapolator,
                                     MagneticFieldTool = InDetMagField)
ToolSvc += TrkV0Fitter
print      TrkV0Fitter

#------------------------------------------------------------------------------
# Load linearized track factory
#------------------------------------------------------------------------------

from TrkVertexFitterUtils.TrkVertexFitterUtilsConf import Trk__FullLinearizedTrackFactory
InDetLinFactory = Trk__FullLinearizedTrackFactory(name              = 'InDetFullLinearizedTrackFactory',
                                                  Extrapolator      = InDetExtrapolator,
                                                  MagneticFieldTool = InDetMagField)
ToolSvc += InDetLinFactory
print      InDetLinFactory