ATLAS Offline Software
L1CALO1.py
Go to the documentation of this file.
1 #!/usr/bin/env python
2 # Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 #====================================================================
4 # L1CALO1.py
5 # Contact: paul.daniel.thompson@cern.ch
6 # Component accumulator version (L1Calo legacy thinned towers)
7 # IMPORTANT: this is NOT an AOD based derived data type but one built
8 # during reconstruction from HITS or RAW. It consequently has to be
9 # run from Reco_tf
10 #====================================================================
11 
12 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
13 
14 # Main config
15 def L1CALO1Cfg(flags):
16  """Main config fragment for L1CALO1"""
17  acc = ComponentAccumulator()
18  from AthenaCommon.Logging import logging
19  log = logging.getLogger('RAWtoALL')
20  log.info('****************** L1CALO1 *****************')
21 
22  from DerivationFrameworkL1Calo.L1CALOCore import L1CALOCoreCfg
23  L1CALO1 = L1CALOCoreCfg(flags, deriv="L1CALO1")
24  acc.merge(L1CALO1)
25 
26  return acc
27 
28 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
L1CALOCore.L1CALOCoreCfg
def L1CALOCoreCfg(flags, deriv='L1CALO1', **kwargs)
Definition: L1CALOCore.py:16
L1CALO1.L1CALO1Cfg
def L1CALO1Cfg(flags)
Definition: L1CALO1.py:15