ATLAS Offline Software
KeepCellsConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
2 
3 from AthenaConfiguration.ComponentFactory import CompFactory
4 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
5 
6 def KeepCellsCfg(flags, streamName = 'StreamAOD'):
7 
9 
10  samplings = [
11  "PreSamplerB",
12  "EMB1",
13  "EMB2",
14  "EMB3",
15  "PreSamplerE",
16  "EME1",
17  "EME2",
18  "EME3",
19  "HEC0",
20  "HEC1",
21  "HEC2",
22  "HEC3",
23  "TileBar0",
24  "TileBar1",
25  "TileBar2",
26  "TileGap1",
27  "TileGap2",
28  "TileGap3",
29  "TileExt0",
30  "TileExt1",
31  "TileExt2",
32  "FCAL0",
33  "FCAL1",
34  "FCAL2",
35  ]
36  CaloThinCellsBySamplingAlg = CompFactory.CaloThinCellsBySamplingAlg
37  alg = CaloThinCellsBySamplingAlg ('CaloThinCellsBySamplingAlg_All_' + streamName,
38  StreamName = streamName,
39  SamplingCellsName = samplings,
40  Cells = 'AllCalo')
41  cfg.addEventAlgo(alg)
42 
43  return cfg
KeepCellsConfig.KeepCellsCfg
def KeepCellsCfg(flags, streamName='StreamAOD')
Definition: KeepCellsConfig.py:6
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302