ATLAS Offline Software
Loading...
Searching...
No Matches
CaloSwPhioff_v4data Namespace Reference

Classes

class  CaloSwPhioff_v4data_b2_parms

Functions

 _flip_phi2 (corr2)
 _flip_phi1 (corr1)
 _flip_phi (corr)
 _copy_parms (src, dst)

Variables

dict CaloSwPhioff_v4data_parms

Function Documentation

◆ _copy_parms()

CaloSwPhioff_v4data._copy_parms ( src,
dst )
protected

Definition at line 32 of file CaloSwPhioff_v4data.py.

32def _copy_parms (src, dst):
33 for (k, v) in src.__dict__.items():
34 if k[0] == '_': continue
35 if k == 'correction':
36 v = _flip_phi (v)
37 setattr (dst, k, v)
38 return
39

◆ _flip_phi()

CaloSwPhioff_v4data._flip_phi ( corr)
protected

Definition at line 28 of file CaloSwPhioff_v4data.py.

28def _flip_phi (corr):
29 return dict([[k, _flip_phi1(v)] for k,v in corr.items()])
30
31

◆ _flip_phi1()

CaloSwPhioff_v4data._flip_phi1 ( corr1)
protected

Definition at line 26 of file CaloSwPhioff_v4data.py.

26def _flip_phi1 (corr1):
27 return [_flip_phi2(c) for c in corr1]

◆ _flip_phi2()

CaloSwPhioff_v4data._flip_phi2 ( corr2)
protected

Definition at line 24 of file CaloSwPhioff_v4data.py.

24def _flip_phi2 (corr2):
25 return [[eta, -off] for (eta,off) in corr2]

Variable Documentation

◆ CaloSwPhioff_v4data_parms

dict CaloSwPhioff_v4data.CaloSwPhioff_v4data_parms
Initial value:
1= { EMB2 : CaloSwPhioff_v4data_b2_parms,
2 EME2 : CaloSwPhioff_v4_e2_parms,
3 }

Definition at line 43 of file CaloSwPhioff_v4data.py.