Esempio n. 1
0
def getParametricSimServiceID(name="ISF_ParametricSimSvc", **kwargs):
    kwargs.setdefault("Identifier", "ParametricSim")
    kwargs.setdefault("OutputLevel", ISF_ParSimFlags.OutputLevelGeneral())
    kwargs.setdefault("ParticleSmearers",
                      [getPublicTool('ISF_TrackParticleSmearer')])
    kwargs.setdefault("TrackingGeometrySvc",
                      getService("AtlasTrackingGeometrySvc"))

    from ISF_ParSimServices.ISF_ParSimServicesConf import iParSim__ParametricSimSvc
    return iParSim__ParametricSimSvc(name, **kwargs)
Esempio n. 2
0
def getTrackParticleSmearer(name="ISF_TrackParticleSmearer", **kwargs):
    kwargs.setdefault("OutputLevel", ISF_ParSimFlags.OutputLevelGeneral())
    kwargs.setdefault("ISPtoPerigeeTool",
                      getPublicTool('ISF_ISPtoPerigeeTool'))
    kwargs.setdefault("ChargedSmearers", [
        getPublicTool('ISF_DefaultSmearer'),
        getPublicTool('ISF_MuonSmearer'),
        getPublicTool('ISF_ElectronSmearer'),
        getPublicTool('ISF_PionSmearer')
    ])

    from ISF_ParSimTools.ISF_ParSimToolsConf import iParSim__TrackParticleSmearer
    return iParSim__TrackParticleSmearer(name, **kwargs)
Esempio n. 3
0
def getMuonSmearer(name="ISF_MuonSmearer", **kwargs):
    kwargs.setdefault("OutputLevel", ISF_ParSimFlags.OutputLevelGeneral())
    kwargs.setdefault("MuonSmearerMode",
                      ISF_ParSimTuningFlags.MuonSmearerMode())
    kwargs.setdefault("filenameMC12MuonPtBins",
                      ISF_ParSimTuningFlags.MC12MuonSmearerPtBinsFileName())
    kwargs.setdefault("filenameMC12MuonEtaBins",
                      ISF_ParSimTuningFlags.MC12MuonSmearerEtaBinsFileName())
    kwargs.setdefault(
        "filenamesMC12MuonSmearer",
        ISF_ParSimTuningFlags.MC12MuonSmearerParametrisationFileNames())

    from ISF_ParSimTools.ISF_ParSimToolsConf import iParSim__MuonSmearer
    return iParSim__MuonSmearer(name, **kwargs)
Esempio n. 4
0
def getPionSmearer(name="ISF_PionSmearer", **kwargs):
    kwargs.setdefault("OutputLevel", ISF_ParSimFlags.OutputLevelGeneral())

    from ISF_ParSimTools.ISF_ParSimToolsConf import iParSim__PionSmearer
    return iParSim__PionSmearer(name, **kwargs)
Esempio n. 5
0
def getISPtoPerigeeTool(name="ISF_ISPtoPerigeeTool", **kwargs):
    kwargs.setdefault("OutputLevel", ISF_ParSimFlags.OutputLevelGeneral())

    from ISF_ParSimTools.ISF_ParSimToolsConf import iParSim__ISPtoPerigeeTool
    return iParSim__ISPtoPerigeeTool(name, **kwargs)