ATLAS Offline Software
ZeeValidationMonToolConfig.py
Go to the documentation of this file.
1 #
2 # Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 #
4 
5 '''@file ZeeValidationMonToolConfig.py
6 @author N.Pettersson
7 @date 2022-07-08
8 @brief Main CA-based python configuration for ZeeValidationMonitoringTool
9 '''
10 
11 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
12 from AthenaConfiguration.ComponentFactory import CompFactory
13 
14 def PhysValZeeCfg(flags, **kwargs):
15  acc = ComponentAccumulator()
16 
17  from AthenaCommon.Constants import WARNING
18  kwargs.setdefault("IsData", flags.Input.isMC)
19  kwargs.setdefault("EnableLumi", False)
20  kwargs.setdefault("OutputLevel", WARNING)
21  kwargs.setdefault("DetailLevel", 10)
22  kwargs.setdefault("PhotonContainerName", "Photons")
23  kwargs.setdefault("ElectronContainerName", "Electrons")
24  kwargs.setdefault("ElectronContainerFrwdName", "ForwardElectrons")
25  kwargs.setdefault("TruthParticleContainerName", "TruthParticles")
26 
27  tool = CompFactory.ZeeValidation.ZeeValidationMonitoringTool(**kwargs)
28  acc.setPrivateTools(tool)
29  return acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
ZeeValidationMonToolConfig.PhysValZeeCfg
def PhysValZeeCfg(flags, **kwargs)
Definition: ZeeValidationMonToolConfig.py:14
Constants
some useful constants -------------------------------------------------—