CMS 3D CMS Logo

ctppsProtons_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # import default alignment settings
5 
6 # import default optics settings
8 
9 # import and adjust proton-reconstructions settings
11 ctppsProtons.lhcInfoLabel = ctppsLHCInfoLabel
12 
13 from Configuration.Eras.Modifier_ctpps_cff import ctpps
14 from Configuration.Eras.Modifier_ctpps_2017_cff import ctpps_2017
15 from Configuration.Eras.Modifier_ctpps_2018_cff import ctpps_2018
16 
17 def applyDefaultSettings(ctppsProtons):
18  ctppsProtons.association_cuts_45.x_cut_apply = False
19  ctppsProtons.association_cuts_45.y_cut_apply = False
20  ctppsProtons.association_cuts_45.xi_cut_apply = True
21  ctppsProtons.association_cuts_45.xi_cut_value = 0.010
22  ctppsProtons.association_cuts_45.th_y_cut_apply = False
23  ctppsProtons.association_cuts_45.ti_tr_min = -1.5
24  ctppsProtons.association_cuts_45.ti_tr_max = 2.0
25 
26  ctppsProtons.association_cuts_56.x_cut_apply = False
27  ctppsProtons.association_cuts_56.y_cut_apply = False
28  ctppsProtons.association_cuts_56.xi_cut_apply = True
29  ctppsProtons.association_cuts_56.xi_cut_value = 0.015
30  ctppsProtons.association_cuts_56.th_y_cut_apply = False
31  ctppsProtons.association_cuts_56.ti_tr_min = -1.5
32  ctppsProtons.association_cuts_56.ti_tr_max = 2.0
33 
34  ctppsProtons.pixelDiscardBXShiftedTracks = True
35  ctppsProtons.default_time = -999.
36 
37 ctpps.toModify(ctppsProtons, applyDefaultSettings)
38 
39 def apply2017Settings(ctppsProtons):
40  ctppsProtons.association_cuts_45.x_cut_apply = False
41  ctppsProtons.association_cuts_45.y_cut_apply = False
42 
43  ctppsProtons.association_cuts_45.xi_cut_apply = True
44  ctppsProtons.association_cuts_45.xi_cut_value = 5. * 0.00121
45  ctppsProtons.association_cuts_45.xi_cut_mean = +6.0695e-5
46 
47  ctppsProtons.association_cuts_45.th_y_cut_apply = False
48 
49  ctppsProtons.association_cuts_56.x_cut_apply = False
50 
51  ctppsProtons.association_cuts_56.y_cut_apply = True
52  ctppsProtons.association_cuts_56.y_cut_value = 5. * 0.14777
53  ctppsProtons.association_cuts_56.y_cut_mean = -0.022612
54 
55  ctppsProtons.association_cuts_56.xi_cut_apply = True
56  ctppsProtons.association_cuts_56.xi_cut_value = 5. * 0.0020627
57  ctppsProtons.association_cuts_56.xi_cut_mean = +8.012857e-5
58 
59  ctppsProtons.association_cuts_56.th_y_cut_apply = False
60 
61 ctpps_2017.toModify(ctppsProtons, apply2017Settings)
62 
63 def apply2018Settings(ctppsProtons):
64  ctppsProtons.association_cuts_45.x_cut_apply = True
65  ctppsProtons.association_cuts_45.x_cut_value = 4. * 0.16008188
66  ctppsProtons.association_cuts_45.x_cut_mean = -0.065194856
67 
68  ctppsProtons.association_cuts_45.y_cut_apply = True
69  ctppsProtons.association_cuts_45.y_cut_value = 4. * 0.1407986
70  ctppsProtons.association_cuts_45.y_cut_mean = +0.10973631
71 
72  ctppsProtons.association_cuts_45.xi_cut_apply = True
73  ctppsProtons.association_cuts_45.xi_cut_value = 4. * 0.0012403586
74  ctppsProtons.association_cuts_45.xi_cut_mean = +3.113062e-5
75 
76  ctppsProtons.association_cuts_45.th_y_cut_apply = False
77 
78  ctppsProtons.association_cuts_56.x_cut_apply = True
79  ctppsProtons.association_cuts_56.x_cut_value = 5. * 0.18126434
80  ctppsProtons.association_cuts_56.x_cut_mean = +0.073016431
81 
82  ctppsProtons.association_cuts_56.y_cut_apply = True
83  ctppsProtons.association_cuts_56.y_cut_value = 5. * 0.14990802
84  ctppsProtons.association_cuts_56.y_cut_mean = +0.064261029
85 
86  ctppsProtons.association_cuts_56.xi_cut_apply = True
87  ctppsProtons.association_cuts_56.xi_cut_value = 5. * 0.002046409
88  ctppsProtons.association_cuts_56.xi_cut_mean = -1.1852528e-5
89 
90  ctppsProtons.association_cuts_56.th_y_cut_apply = False
91 
92 ctpps_2018.toModify(ctppsProtons, apply2018Settings)
ctppsProtons_cff.apply2017Settings
def apply2017Settings(ctppsProtons)
Definition: ctppsProtons_cff.py:39
ctppsProtons_cff.apply2018Settings
def apply2018Settings(ctppsProtons)
Definition: ctppsProtons_cff.py:63
ctppsAlignment_cff
ctppsProtons_cff.applyDefaultSettings
def applyDefaultSettings(ctppsProtons)
Definition: ctppsProtons_cff.py:17
ctppsProtons_cfi
ctppsOpticalFunctions_cff