1 from libL1TriggerPhase2L1GT
import L1GTScales
as CppScales
2 import FWCore.ParameterSet.Config
as cms
5 scale_parameter = cms.PSet(
6 pT_lsb=cms.double(0.03125),
7 phi_lsb=cms.double(math.pi / 2**12),
8 eta_lsb=cms.double(math.pi / 2**12),
9 z0_lsb=cms.double(1/(5*2**9)),
11 isolation_lsb=cms.double(0.25),
12 beta_lsb=cms.double(1. / 2**4),
13 mass_lsb=cms.double(0.25),
14 seed_pT_lsb=cms.double(0.25),
15 seed_z0_lsb=cms.double(30. / 2**9),
16 sca_sum_lsb=cms.double(0.03125),
17 sum_pT_pv_lsb=cms.double(0.25),
22 l1tGTScales = CppScales(*[param.value()
for param
in scale_parameter.parameters_().
values()])