ATLAS Offline Software
Classes | Functions | Variables
CaloSwCorrections Namespace Reference

Classes

class  CaloSwCorrectionsSetup
 

Functions

def layers (flags, cells_name, *args, **kw)
 Here we define wrapper functions to set up all of the standard corrections. More...
 
def weight (flags, cells_name, *args, **kw)
 
def rfac (flags, cells_name, *args, **kw)
 
def etaoff_b1 (flags, cells_name, *args, **kw)
 
def etaoff_b2 (flags, cells_name, *args, **kw)
 
def etaoff_e1 (flags, cells_name, *args, **kw)
 
def etaoff_e2 (flags, cells_name, *args, **kw)
 
def phioff_b2 (flags, cells_name, *args, **kw)
 
def phioff_e2 (flags, cells_name, *args, **kw)
 
def phimod (flags, cells_name, *args, **kw)
 
def etamod (flags, cells_name, *args, **kw)
 
def update (flags, cells_name, *args, **kw)
 
def gap (flags, cells_name, *args, **kw)
 
def lwc (flags, cells_name, *args, **kw)
 
def calhits (flags, cells_name, *args, **kw)
 
def trcorr (flags, cells_name, *args, **kw)
 
def deadOTXps (flags, cells_name, *args, **kw)
 
def deadOTXback (flags, cells_name, *args, **kw)
 
def clcon (flags, cells_name, *args, **kw)
 
def removeduplicates (flags, cells_name, *args, **kw)
 
def removebad (flags, cells_name, *args, **kw)
 
def listBadChannel (flags, cells_name, *args, **kw)
 
def time (flags, cells_name, *args, **kw)
 
def _version_match (version, fragment)
 The class responsible for making the corrections. More...
 
def make_CaloSwCorrectionsCfg (flags, key=None, suffix='', version=None, corrlist=None, cells_name=None, source=None, weighting=False, remdup=False, rembad=False, **kw)
 Main entry point to create a list of correction tools. More...
 

Variables

 CaloSwCorrections = CaloSwCorrectionsSetup()
 

Function Documentation

◆ _version_match()

def CaloSwCorrections._version_match (   version,
  fragment 
)
private

The class responsible for making the corrections.

Definition at line 250 of file CaloSwCorrections.py.

250 def _version_match (version, fragment):
251  pat = '(_' + fragment + ')(_|$)'
252  m = re.search (pat, version)
253  ret = False
254  if m:
255  ret = True
256  version = version[:m.start(1)] + version[m.end(1):]
257  return (ret, version)
258 
259 

◆ calhits()

def CaloSwCorrections.calhits (   flags,
  cells_name,
args,
**  kw 
)

Definition at line 218 of file CaloSwCorrections.py.

218 def calhits (flags, cells_name, *args, **kw):
219  return make_CaloSwCalibHitsCalibration (flags, None, *args, **kw)
220 

◆ clcon()

def CaloSwCorrections.clcon (   flags,
  cells_name,
args,
**  kw 
)

Definition at line 230 of file CaloSwCorrections.py.

230 def clcon (flags, cells_name, *args, **kw):
231  return make_CaloSwClcon (flags, None, *args, **kw)
232 

◆ deadOTXback()

def CaloSwCorrections.deadOTXback (   flags,
  cells_name,
args,
**  kw 
)

Definition at line 227 of file CaloSwCorrections.py.

227 def deadOTXback (flags, cells_name, *args, **kw):
228  return make_CaloSwDeadOTX_back (flags, None, *args, **kw )
229 

◆ deadOTXps()

def CaloSwCorrections.deadOTXps (   flags,
  cells_name,
args,
**  kw 
)

Definition at line 224 of file CaloSwCorrections.py.

224 def deadOTXps (flags, cells_name, *args, **kw):
225  return make_CaloSwDeadOTX_ps (flags, None, *args, **kw )
226 

◆ etamod()

def CaloSwCorrections.etamod (   flags,
  cells_name,
args,
**  kw 
)

Definition at line 206 of file CaloSwCorrections.py.

206 def etamod (flags, cells_name, *args, **kw):
207  return make_CaloSwEtamod (flags, None, *args, **kw)
208 

◆ etaoff_b1()

def CaloSwCorrections.etaoff_b1 (   flags,
  cells_name,
args,
**  kw 
)

Definition at line 185 of file CaloSwCorrections.py.

185 def etaoff_b1 (flags, cells_name, *args, **kw):
186  return make_CaloSwEtaoff (flags, EMB1, None, *args, **kw)
187 

◆ etaoff_b2()

def CaloSwCorrections.etaoff_b2 (   flags,
  cells_name,
args,
**  kw 
)

Definition at line 188 of file CaloSwCorrections.py.

188 def etaoff_b2 (flags, cells_name, *args, **kw):
189  return make_CaloSwEtaoff (flags, EMB2, None, *args, **kw)
190 

◆ etaoff_e1()

def CaloSwCorrections.etaoff_e1 (   flags,
  cells_name,
args,
**  kw 
)

Definition at line 191 of file CaloSwCorrections.py.

191 def etaoff_e1 (flags, cells_name, *args, **kw):
192  return make_CaloSwEtaoff (flags, EME1, None, *args, **kw)
193 

◆ etaoff_e2()

def CaloSwCorrections.etaoff_e2 (   flags,
  cells_name,
args,
**  kw 
)

Definition at line 194 of file CaloSwCorrections.py.

194 def etaoff_e2 (flags, cells_name, *args, **kw):
195  return make_CaloSwEtaoff (flags, EME2, None, *args, **kw)
196 

◆ gap()

def CaloSwCorrections.gap (   flags,
  cells_name,
args,
**  kw 
)

Definition at line 212 of file CaloSwCorrections.py.

212 def gap (flags, cells_name, *args, **kw):
213  return make_CaloSwGap (flags, None, *args, cells_name=cells_name, **kw)
214 

◆ layers()

def CaloSwCorrections.layers (   flags,
  cells_name,
args,
**  kw 
)

Here we define wrapper functions to set up all of the standard corrections.

In the case where a correction has multiple versions for different samplings, we define multiple wrappers here. These are the names to use in the correction list and in the arguments to make_CaloSwCorrectionCfg.

Definition at line 176 of file CaloSwCorrections.py.

176 def layers (flags, cells_name, *args, **kw):
177  return make_CaloSwLayers (flags, None, *args, cells_name=cells_name, **kw)
178 

◆ listBadChannel()

def CaloSwCorrections.listBadChannel (   flags,
  cells_name,
args,
**  kw 
)

Definition at line 239 of file CaloSwCorrections.py.

239 def listBadChannel (flags, cells_name, *args, **kw):
240  return make_CaloClusterListBadChannel (flags, CALOCORR_SW, None, *args, **kw)
241 

◆ lwc()

def CaloSwCorrections.lwc (   flags,
  cells_name,
args,
**  kw 
)

Definition at line 215 of file CaloSwCorrections.py.

215 def lwc (flags, cells_name, *args, **kw):
216  return make_CaloSwLongWeights (flags, None, *args, **kw)
217 

◆ make_CaloSwCorrectionsCfg()

def CaloSwCorrections.make_CaloSwCorrectionsCfg (   flags,
  key = None,
  suffix = '',
  version = None,
  corrlist = None,
  cells_name = None,
  source = None,
  weighting = False,
  remdup = False,
  rembad = False,
**  kw 
)

Main entry point to create a list of correction tools.

Definition at line 1222 of file CaloSwCorrections.py.

1222 def make_CaloSwCorrectionsCfg (flags,
1223  key = None,
1224  suffix = '',
1225  version = None,
1226  corrlist = None,
1227  cells_name = None,
1228  source = None,
1229  weighting = False,
1230  remdup = False,
1231  rembad = False,
1232  **kw):
1233  return CaloSwCorrections.make_corrections (flags,
1234  corrclass = CALOCORR_SW,
1235  key = key,
1236  suffix = suffix,
1237  version = version,
1238  corrlist = corrlist,
1239  cells_name = cells_name,
1240  source = source,
1241  weighting = weighting,
1242  remdup = remdup,
1243  rembad = rembad,
1244  **kw)

◆ phimod()

def CaloSwCorrections.phimod (   flags,
  cells_name,
args,
**  kw 
)

Definition at line 203 of file CaloSwCorrections.py.

203 def phimod (flags, cells_name, *args, **kw):
204  return make_CaloSwPhimod (flags, None, *args, **kw)
205 

◆ phioff_b2()

def CaloSwCorrections.phioff_b2 (   flags,
  cells_name,
args,
**  kw 
)

Definition at line 197 of file CaloSwCorrections.py.

197 def phioff_b2 (flags, cells_name, *args, **kw):
198  return make_CaloSwPhioff (flags, EMB2, None, *args, **kw)
199 

◆ phioff_e2()

def CaloSwCorrections.phioff_e2 (   flags,
  cells_name,
args,
**  kw 
)

Definition at line 200 of file CaloSwCorrections.py.

200 def phioff_e2 (flags, cells_name, *args, **kw):
201  return make_CaloSwPhioff (flags, EME2, None, *args, **kw)
202 

◆ removebad()

def CaloSwCorrections.removebad (   flags,
  cells_name,
args,
**  kw 
)

Definition at line 236 of file CaloSwCorrections.py.

236 def removebad (flags, cells_name, *args, **kw):
237  return make_CaloClusterRemoveBad (flags, None, *args, **kw)
238 

◆ removeduplicates()

def CaloSwCorrections.removeduplicates (   flags,
  cells_name,
args,
**  kw 
)

Definition at line 233 of file CaloSwCorrections.py.

233 def removeduplicates (flags, cells_name, *args, **kw):
234  return make_CaloClusterRemoveDuplicates (flags, None, *args, **kw)
235 

◆ rfac()

def CaloSwCorrections.rfac (   flags,
  cells_name,
args,
**  kw 
)

Definition at line 182 of file CaloSwCorrections.py.

182 def rfac (flags, cells_name, *args, **kw):
183  return make_CaloSwRfac (flags, None, *args, **kw)
184 

◆ time()

def CaloSwCorrections.time (   flags,
  cells_name,
args,
**  kw 
)

Definition at line 242 of file CaloSwCorrections.py.

242 def time (flags, cells_name, *args, **kw):
243  return make_CaloSwTime (flags, None, *args, **kw)
244 
245 

◆ trcorr()

def CaloSwCorrections.trcorr (   flags,
  cells_name,
args,
**  kw 
)

Definition at line 221 of file CaloSwCorrections.py.

221 def trcorr (flags, cells_name, *args, **kw):
222  return make_CaloSwTransitionRegionsCorr (flags, None, *args, **kw)
223 

◆ update()

def CaloSwCorrections.update (   flags,
  cells_name,
args,
**  kw 
)

Definition at line 209 of file CaloSwCorrections.py.

209 def update (flags, cells_name, *args, **kw):
210  return make_CaloSwClusterUpdate (flags, None, *args, **kw)
211 

◆ weight()

def CaloSwCorrections.weight (   flags,
  cells_name,
args,
**  kw 
)

Definition at line 179 of file CaloSwCorrections.py.

179 def weight (flags, cells_name, *args, **kw):
180  return make_CaloComputeSWcellWeights (flags, None, *args, **kw)
181 

Variable Documentation

◆ CaloSwCorrections

CaloSwCorrections.CaloSwCorrections = CaloSwCorrectionsSetup()

Definition at line 1196 of file CaloSwCorrections.py.

CaloSwCorrections.etaoff_e1
def etaoff_e1(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:191
CaloSwCorrections.calhits
def calhits(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:218
CaloSwCorrections.etaoff_b2
def etaoff_b2(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:188
CaloSwCorrections.removebad
def removebad(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:236
CaloSwCorrections.lwc
def lwc(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:215
CaloSwCorrections.etaoff_e2
def etaoff_e2(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:194
CaloSwCorrections.etaoff_b1
def etaoff_b1(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:185
CaloSwCorrections.update
def update(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:209
CaloSwCorrections.deadOTXps
def deadOTXps(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:224
CaloSwCorrections.deadOTXback
def deadOTXback(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:227
CaloSwCorrections.gap
def gap(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:212
CaloSwCorrections.weight
def weight(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:179
CaloSwCorrections.etamod
def etamod(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:206
CaloSwCorrections.phioff_b2
def phioff_b2(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:197
CaloSwCorrections.rfac
def rfac(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:182
CaloSwCorrections.phioff_e2
def phioff_e2(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:200
CaloSwCorrections.phimod
def phimod(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:203
CaloSwCorrections.listBadChannel
def listBadChannel(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:239
CaloSwCorrections.trcorr
def trcorr(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:221
CaloSwCorrections.make_CaloSwCorrectionsCfg
def make_CaloSwCorrectionsCfg(flags, key=None, suffix='', version=None, corrlist=None, cells_name=None, source=None, weighting=False, remdup=False, rembad=False, **kw)
Main entry point to create a list of correction tools.
Definition: CaloSwCorrections.py:1222
CaloSwCorrections.removeduplicates
def removeduplicates(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:233
CaloSwCorrections.layers
def layers(flags, cells_name, *args, **kw)
Here we define wrapper functions to set up all of the standard corrections.
Definition: CaloSwCorrections.py:176
CaloSwCorrections._version_match
def _version_match(version, fragment)
The class responsible for making the corrections.
Definition: CaloSwCorrections.py:250
CaloSwCorrections.clcon
def clcon(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:230