ATLAS Offline Software
Classes | Functions | Variables
CaloSwLayers Namespace Reference

Classes

class  _etaphi_getter
 
class  CaloSwLayers_parms
 
class  CaloSwLayersWt_parms
 

Functions

def make_CaloSwLayers (flags, name=None, suffix=None, version=None, key=CALOCORR_DEFAULT_KEY, source=None, confclass=None, cells_name=None, **kw)
 
def _parse_key (k)
 

Variables

 cls = CompFactory.CaloFillRectangularCluster
 
list CaloSwLayers_versions
 

Function Documentation

◆ _parse_key()

def CaloSwLayers._parse_key (   k)
private

Definition at line 91 of file CaloSwLayers.py.

91 def _parse_key (k):
92  k = k.lstrip (string.ascii_letters + '_')
93  k = k.rstrip (string.ascii_letters + '_')
94  if k.find ('_') > 0:
95  (eta, phi) = k.split ('_')
96  else:
97  (eta, phi) = (k[0], k[1])
98  return (int (eta), int (phi))
99 

◆ make_CaloSwLayers()

def CaloSwLayers.make_CaloSwLayers (   flags,
  name = None,
  suffix = None,
  version = None,
  key = CALOCORR_DEFAULT_KEY,
  source = None,
  confclass = None,
  cells_name = None,
**  kw 
)

Definition at line 65 of file CaloSwLayers.py.

65 def make_CaloSwLayers (flags,
66  name = None,
67  suffix = None,
68  version = None,
69  key = CALOCORR_DEFAULT_KEY,
70  source = None,
71  confclass = None,
72  cells_name = None,
73  **kw):
74 
75  if cells_name is not None:
76  kw['cells_name'] = cells_name
77 
78  return makecorr (flags,
79  versions = CaloSwLayers_versions,
80  name = name,
81  basename = 'layers',
82  suffix = suffix,
83  version = version,
84  key = key,
85  sampling = None,
86  source = source,
87  confclass = confclass,
88  corrclass = CALOCORR_SW,
89  **kw)
90 

Variable Documentation

◆ CaloSwLayers_versions

list CaloSwLayers.CaloSwLayers_versions
Initial value:
1 = [
2  ['wt', cls, ['CaloSwLayers.CaloSwLayersWt_parms', CALOCORR_NOPOOL]],
3  ['', cls, ['CaloSwLayers.CaloSwLayers_parms', CALOCORR_NOPOOL]],
4  ]

Definition at line 36 of file CaloSwLayers.py.

◆ cls

CaloSwLayers.cls = CompFactory.CaloFillRectangularCluster

Definition at line 35 of file CaloSwLayers.py.

CaloSwLayers.make_CaloSwLayers
def make_CaloSwLayers(flags, name=None, suffix=None, version=None, key=CALOCORR_DEFAULT_KEY, source=None, confclass=None, cells_name=None, **kw)
Definition: CaloSwLayers.py:65
CaloSwLayers._parse_key
def _parse_key(k)
Definition: CaloSwLayers.py:91