ATLAS Offline Software
L1CALO1.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2 #====================================================================
3 # L1CALO1.py
4 # Contact: paul.daniel.thompson@cern.ch
5 # Component accumulator version (L1Calo legacy thinned 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 L1CALO1Cfg(flags):
15  """Main config fragment for L1CALO1"""
16  acc = ComponentAccumulator()
17  from AthenaCommon.Logging import logging
18  log = logging.getLogger('RAWtoALL')
19  log.info('****************** L1CALO1 *****************')
20 
21  from DerivationFrameworkL1Calo.L1CALOCore import L1CALOCoreCfg
22  L1CALO1 = L1CALOCoreCfg(flags, deriv="L1CALO1")
23  acc.merge(L1CALO1)
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
L1CALO1.L1CALO1Cfg
def L1CALO1Cfg(flags)
Definition: L1CALO1.py:14