ATLAS Offline Software
CaloClusterRemoveBad.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
2 
3 
4 # File: CaloClusterCorrection/python/CaloClusterRemoveBad.py
5 # Created: July 2010 Hong Ma
6 # Purpose: Steering module for bad cluster removal
7 
8 from AthenaConfiguration.ComponentFactory import CompFactory
9 from CaloClusterCorrection.constants import \
10  CALOCORR_NOPOOL, CALOCORR_DEFAULT_KEY, CALOCORR_SW
11 from CaloClusterCorrection.common import makecorr
12 
13 cls = CompFactory.CaloClusterRemoveBad # CaloCusterCorrection
14 CaloClusterRemoveBad_versions = [
15  ['', cls,
16  ['CaloClusterRemoveBad.CaloClusterRemoveBad_parms',
17  CALOCORR_NOPOOL]],
18  ]
19 
21  name = None,
22  suffix = None,
23  version = None,
24  key = CALOCORR_DEFAULT_KEY,
25  source = None,
26  confclass = None,
27  **kw):
28  return makecorr (flags,
29  versions = CaloClusterRemoveBad_versions,
30  name = name,
31  basename = 'removebad',
32  suffix = suffix,
33  version = version,
34  key = key,
35  sampling = None,
36  source = source,
37  confclass = confclass,
38  corrclass = CALOCORR_SW,
39  **kw)
40 
41 
43  # Energy threshold for removal.
44  EMin = 0
CaloClusterRemoveBad.CaloClusterRemoveBad_parms
Definition: CaloClusterRemoveBad.py:42
CaloClusterRemoveBad.make_CaloClusterRemoveBad
def make_CaloClusterRemoveBad(flags, name=None, suffix=None, version=None, key=CALOCORR_DEFAULT_KEY, source=None, confclass=None, **kw)
Definition: CaloClusterRemoveBad.py:20