ATLAS Offline Software
GeneratorPhysValConfig.py
Go to the documentation of this file.
1 #
2 # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 #
4 
5 
6 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
7 from AthenaConfiguration.ComponentFactory import CompFactory
8 
9 def GeneratorPhysValMonitoringToolCfg(flags, **kwargs):
10  acc = ComponentAccumulator()
11 
12  kwargs.setdefault("binning_N_TruthParticle", [600,0.,6000])
13  kwargs.setdefault("binning_N_GeneratorLevelParticle", [50,0.,1500])
14  kwargs.setdefault("binning_N_SimulationLevelParticle", [200,0,200])
15 
16  acc.setPrivateTools(CompFactory.GeneratorPhysVal.GeneratorPhysValMonitoringTool(**kwargs))
17  return acc
18 
19 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
GeneratorPhysValConfig.GeneratorPhysValMonitoringToolCfg
def GeneratorPhysValMonitoringToolCfg(flags, **kwargs)
Definition: GeneratorPhysValConfig.py:9