Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
L1CALO2.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2 #====================================================================
3 # L1CALO2.py
4 # Contact: paul.daniel.thompson@cern.ch
5 # Component accumulator version (L1Calo legacy unthinned towers)
6 # IMPORTANT: this is NOT an AOD based derived data type but one built
7 # during reconstruction from HITS or RAW. It consequently has to be
8 # run from Reco_tf
9 #====================================================================
10 
11 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
12 
13 # Main config
14 def L1CALO2Cfg(flags):
15  """Main config fragment for L1CALO2"""
16  acc = ComponentAccumulator()
17  from AthenaCommon.Logging import logging
18  log = logging.getLogger('RAWtoALL')
19  log.info('****************** L1CALO2 *****************')
20 
21  from DerivationFrameworkL1Calo.L1CALOCore import L1CALOCoreCfg
22  L1CALO2 = L1CALOCoreCfg(flags, deriv="L1CALO2")
23  acc.merge(L1CALO2)
24 
25  return acc
26 
27 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
L1CALOCore.L1CALOCoreCfg
def L1CALOCoreCfg(flags, deriv='L1CALO1', **kwargs)
Definition: L1CALOCore.py:15
L1CALO2.L1CALO2Cfg
def L1CALO2Cfg(flags)
Definition: L1CALO2.py:14