15 from CaloClusterCorrection.constants
import EME2, EMB2
16 from CaloClusterCorrection.CaloSwPhioff_v4
import \
17 CaloSwPhioff_v4_b2_parms, CaloSwPhioff_v4_e2_parms
25 return [[eta, -off]
for (eta,off)
in corr2]
29 return dict([[k,
_flip_phi1(v)]
for k,v
in corr.items()])
33 for (k, v)
in src.__dict__.items():
34 if k[0] ==
'_':
continue
40 _copy_parms (CaloSwPhioff_v4_b2_parms, CaloSwPhioff_v4data_b2_parms)
43 CaloSwPhioff_v4data_parms = { EMB2 : CaloSwPhioff_v4data_b2_parms,
44 EME2 : CaloSwPhioff_v4_e2_parms,