CMS 3D CMS Logo

l1tGTScales.py
Go to the documentation of this file.
1 from libL1TriggerPhase2L1GT import L1GTScales as CppScales
2 import FWCore.ParameterSet.Config as cms
3 import math
4 
5 scale_parameter = cms.PSet(
6  pT_lsb=cms.double(0.03125), # GeV
7  phi_lsb=cms.double(math.pi / 2**12), # radiants
8  eta_lsb=cms.double(math.pi / 2**12), # radiants
9  z0_lsb=cms.double(1/(5*2**9)), # cm
10  # d0_lsb = cms.double(...), TODO input scales far apart
11  isolation_lsb=cms.double(0.25), # GeV
12  beta_lsb=cms.double(1. / 2**4), # [0, 1]
13  mass_lsb=cms.double(0.25), # GeV^2
14  seed_pT_lsb=cms.double(0.25), # GeV
15  seed_z0_lsb=cms.double(30. / 2**9), # ? cm
16  sca_sum_lsb=cms.double(0.03125), # GeV
17  sum_pT_pv_lsb=cms.double(0.25), # GeV
18  pos_chg=cms.int32(1),
19  neg_chg=cms.int32(0)
20 )
21 
22 l1tGTScales = CppScales(*[param.value() for param in scale_parameter.parameters_().values()])