Forked from
atlas / athena
137760 commits behind, 5080 commits ahead of the upstream repository.
-
Petr Jacka authored
Former-commit-id: 4e05e76e080dc510451d7aa22fed9d8c0e386d4a
Petr Jacka authoredFormer-commit-id: 4e05e76e080dc510451d7aa22fed9d8c0e386d4a
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
"""
Tools configurations for ISF_FastCaloSimParametrization
"""
from AthenaCommon import CfgMgr
from AthenaCommon.Constants import * # FATAL,ERROR etc.
from AthenaCommon.SystemOfUnits import *
from AthenaCommon.DetFlags import DetFlags
def getFastCaloSimCaloExtrapolation(name="FastCaloSimCaloExtrapolation", **kwargs):
from ISF_FastCaloSimParametrization.ISF_FastCaloSimParametrizationConf import FastCaloSimCaloExtrapolation
kwargs.setdefault("CaloBoundaryR" , 1148.0 )
kwargs.setdefault("CaloBoundaryZ" , 3549.5 )
kwargs.setdefault("CaloMargin" , 100 )
kwargs.setdefault("Extrapolator" , "TimedExtrapolator" )
kwargs.setdefault("CaloSurfaceHelper" , "CaloSurfaceHelper" )
kwargs.setdefault("CaloGeometryHelper" , "FastCaloSimGeometryHelper" )
kwargs.setdefault("CaloEntrance" , "InDet::Containers::InnerDetector" )
return CfgMgr.FastCaloSimCaloExtrapolation(name, **kwargs)
def getFastCaloSimGeometryHelper(name="FastCaloSimGeometryHelper", **kwargs):
from ISF_FastCaloSimParametrization.ISF_FastCaloSimParametrizationConf import FastCaloSimGeometryHelper
return CfgMgr.FastCaloSimGeometryHelper(name, **kwargs)