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_2016_cff import ctpps_2016
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 
24  ctppsProtons.association_cuts_56.x_cut_apply = False
25  ctppsProtons.association_cuts_56.y_cut_apply = False
26  ctppsProtons.association_cuts_56.xi_cut_apply = True
27  ctppsProtons.association_cuts_56.xi_cut_value = 0.015
28  ctppsProtons.association_cuts_56.th_y_cut_apply = False
29 
30 ctpps_2016.toModify(ctppsProtons, applyDefaultSettings) # applied for all Run2 years (2016, 2017 and 2018)
31 
32 def apply2017Settings(ctppsProtons):
33  ctppsProtons.association_cuts_45.xi_cut_value = 0.010
34  ctppsProtons.association_cuts_56.xi_cut_value = 0.015
35 
36 ctpps_2017.toModify(ctppsProtons, apply2017Settings)
37 
38 def apply2018Settings(ctppsProtons):
39  ctppsProtons.association_cuts_45.xi_cut_value = 0.013
40  ctppsProtons.association_cuts_45.th_y_cut_apply = True
41  ctppsProtons.association_cuts_45.th_y_cut_value = 30E-6
42 
43  ctppsProtons.association_cuts_56.xi_cut_value = 0.013
44  ctppsProtons.association_cuts_56.th_y_cut_apply = True
45  ctppsProtons.association_cuts_56.th_y_cut_value = 20E-6
46 
47 ctpps_2018.toModify(ctppsProtons, apply2018Settings)
def apply2018Settings(ctppsProtons)
def applyDefaultSettings(ctppsProtons)
def apply2017Settings(ctppsProtons)