|
ATLAS Offline Software
|
|
def | HITowerWeightToolCfg (flags, name="WeightTool", **kwargs) |
|
def | HIEventShapeMapToolCfg (flags, name="HIEventShapeMapTool", **kwargs) |
|
def | HIEventShapeFillerToolCfg (flags, name="HIEventShapeFillerTool", **kwargs) |
|
def | HIEventShapeMakerCfg (flags, name="HIEventShapeMaker", doWeighted=False, **kwargs) |
|
def | HIEventShapeSummaryToolCfg (flags, name="HIEventShapeSummaryTool", **kwargs) |
|
def | HIGlobalRecCfg (flags) |
|
◆ HIEventShapeFillerToolCfg()
def HIGlobalConfig.HIEventShapeFillerToolCfg |
( |
|
flags, |
|
|
|
name = "HIEventShapeFillerTool" , |
|
|
** |
kwargs |
|
) |
| |
Configures HIEventShapeFillerTool
Definition at line 26 of file HIGlobalConfig.py.
27 """Configures HIEventShapeFillerTool"""
29 if "EventShapeMapTool" not in kwargs:
31 kwargs.setdefault(
"EventShapeMapTool", eventShapeMapTool)
32 kwargs.setdefault(
"UseClusters",
False)
33 if kwargs[
"UseClusters"]:
36 kwargs.setdefault(
"TowerWeightTool", TWTool)
38 acc.setPrivateTools(CompFactory.HIEventShapeFillerTool(name, **kwargs))
◆ HIEventShapeMakerCfg()
def HIGlobalConfig.HIEventShapeMakerCfg |
( |
|
flags, |
|
|
|
name = "HIEventShapeMaker" , |
|
|
|
doWeighted = False , |
|
|
** |
kwargs |
|
) |
| |
Configures HIEventShapeMaker, either with weights (for HIJets) or without weight (for HIGlobal)
Definition at line 41 of file HIGlobalConfig.py.
42 """Configures HIEventShapeMaker, either with weights (for HIJets) or without weight (for HIGlobal)"""
46 from CaloRec.CaloRecoConfig
import CaloRecoCfg
48 from CaloRec.CaloTowerMakerConfig
import CaloTowerMakerCfg
51 kwargs.setdefault(
"NaviTowerKey", towerMaker.TowerContainerName)
52 kwargs.setdefault(
"InputTowerKey",
"")
53 kwargs.setdefault(
"OutputContainerKey",
"HIEventShape")
54 if "HIEventShapeFillerTool" not in kwargs:
55 name_esft=
"HIEventShapeFillerTool_Weighted" if doWeighted
else "HIEventShapeFillerTool"
58 UseClusters=doWeighted))
59 kwargs.setdefault(
"HIEventShapeFillerTool",eventShapeTool)
61 acc.addEventAlgo(CompFactory.HIEventShapeMaker(name, **kwargs))
◆ HIEventShapeMapToolCfg()
def HIGlobalConfig.HIEventShapeMapToolCfg |
( |
|
flags, |
|
|
|
name = "HIEventShapeMapTool" , |
|
|
** |
kwargs |
|
) |
| |
Configures HIEventShapeMapTool
Definition at line 20 of file HIGlobalConfig.py.
21 """Configures HIEventShapeMapTool"""
23 acc.setPrivateTools(CompFactory.HIEventShapeMapTool(name, **kwargs))
◆ HIEventShapeSummaryToolCfg()
def HIGlobalConfig.HIEventShapeSummaryToolCfg |
( |
|
flags, |
|
|
|
name = "HIEventShapeSummaryTool" , |
|
|
** |
kwargs |
|
) |
| |
Configures HIEventShapeSummaryTool
Definition at line 64 of file HIGlobalConfig.py.
65 """Configures HIEventShapeSummaryTool"""
69 kwargs.setdefault(
"SubCalos", [
'FCal',
'EMCal',
'HCal',
'ALL'])
70 kwargs.setdefault(
"Samplings", [
'FCAL0',
'FCAL1',
'FCAL2'])
71 kwargs.setdefault(
"DoPositiveNegativeSides",
False)
73 acc.setPrivateTools(CompFactory.HIEventShapeSummaryTool(name, **kwargs))
◆ HIGlobalRecCfg()
def HIGlobalConfig.HIGlobalRecCfg |
( |
|
flags | ) |
|
Configures Heavy Ion Global quantities
Definition at line 76 of file HIGlobalConfig.py.
77 """Configures Heavy Ion Global quantities """
80 shapeKey=flags.HeavyIon.Global.EventShape
81 output = [ f
"xAOD::HIEventShapeContainer#{shapeKey}", f
"xAOD::HIEventShapeAuxContainer#{shapeKey}Aux."]
84 if flags.HeavyIon.Global.doEventShapeSummary:
85 summaryKey =
"CaloSums"
87 kwargs_hies[
"SummaryTool"] = summaryTool
88 kwargs_hies[
"SummaryContainerKey"] = summaryKey
89 output.extend([ f
"xAOD::HIEventShapeContainer#{summaryKey}", f
"xAOD::HIEventShapeAuxContainer#{summaryKey}Aux."])
◆ HITowerWeightToolCfg()
def HIGlobalConfig.HITowerWeightToolCfg |
( |
|
flags, |
|
|
|
name = "WeightTool" , |
|
|
** |
kwargs |
|
) |
| |
Configures HITowerWeightTool
Definition at line 7 of file HIGlobalConfig.py.
8 """Configures HITowerWeightTool"""
11 if "InputFile" not in kwargs:
12 from HIJetRec.HIJetRecUtilsCA
import getHIClusterGeoWeightFile
14 kwargs.setdefault(
"ApplyCorrection", flags.HeavyIon.Jet.ApplyTowerEtaPhiCorrection)
15 kwargs.setdefault(
"ConfigDir",
'HIJetCorrection/')
17 acc.setPrivateTools(CompFactory.HITowerWeightTool(name, **kwargs))
◆ acc
HIGlobalConfig.acc = MainServicesCfg(flags) |
◆ AtlasVersion
HIGlobalConfig.AtlasVersion |
◆ Files
◆ flags
HIGlobalConfig.flags = initConfigFlags() |
◆ GlobalTag
◆ MaxEvents
◆ NumThreads
HIGlobalConfig.NumThreads |
◆ OutputLevel
HIGlobalConfig.OutputLevel |
◆ summariseProps
HIGlobalConfig.summariseProps |
◆ True
◆ withDetails
HIGlobalConfig.withDetails |
def HITowerWeightToolCfg(flags, name="WeightTool", **kwargs)
def CaloRecoCfg(flags, clustersname=None)
def getHIClusterGeoWeightFile(flags)
def HIEventShapeMapToolCfg(flags, name="HIEventShapeMapTool", **kwargs)
def HIEventShapeSummaryToolCfg(flags, name="HIEventShapeSummaryTool", **kwargs)
def addToESD(flags, itemOrList, **kwargs)
def HIEventShapeFillerToolCfg(flags, name="HIEventShapeFillerTool", **kwargs)
def CaloTowerMakerCfg(flags)
def addToAOD(flags, itemOrList, **kwargs)
def HIEventShapeMakerCfg(flags, name="HIEventShapeMaker", doWeighted=False, **kwargs)
def HIGlobalRecCfg(flags)