CMS 3D CMS Logo

profiles_2018_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from SimPPS.DirectSimProducer.profile_base_cff import profile_base as _base
3 from CalibPPS.ESProducers.ctppsOpticalFunctions_non_DB_cff import optics_2018 as _optics
4 
5 # base profile settings for 2018
6 _base_2018 = _base.clone(
7  ctppsLHCInfo = _base.ctppsLHCInfo.clone(
8  beamEnergy = 6500.
9  ),
10  ctppsOpticalFunctions = _base.ctppsOpticalFunctions.clone(
11  opticalFunctions = _optics.opticalFunctions,
12  scoringPlanes = _optics.scoringPlanes,
13  ),
14  ctppsDirectSimuData = _base.ctppsDirectSimuData.clone(
15  empiricalAperture45 = "-(8.44219E-07*[xangle]-0.000100957)+(([xi]<(0.000247185*[xangle]+0.101599))*-(1.40289E-05*[xangle]-0.00727237)+([xi]> = (0.000247185*[xangle]+0.101599))*-(0.000107811*[xangle]-0.0261867))*([xi]-(0.000247185*[xangle]+0.101599))",
16  empiricalAperture56 = "-(-4.74758E-07*[xangle]+3.0881E-05)+(([xi]<(0.000727859*[xangle]+0.0722653))*-(2.43968E-05*[xangle]-0.0085461)+([xi]> = (0.000727859*[xangle]+0.0722653))*-(7.19216E-05*[xangle]-0.0148267))*([xi]-(0.000727859*[xangle]+0.0722653))"
17  )
18 )
19 
20 profile_2018_preTS1 = _base_2018.clone(
21  L_int = 18.488297964,
22  ctppsLHCInfo = _base_2018.ctppsLHCInfo.clone(
23  xangleBetaStarHistogramObject = "2018_preTS1/h2_betaStar_vs_xangle"
24  ),
25  ctppsRPAlignmentCorrectionsDataXML = _base_2018.ctppsRPAlignmentCorrectionsDataXML.clone(
26  MisalignedFiles = ["Validation/CTPPS/alignment/2018_preTS1.xml"],
27  RealFiles = ["Validation/CTPPS/alignment/2018_preTS1.xml"]
28  ),
29  ctppsDirectSimuData = _base_2018.ctppsDirectSimuData.clone(
30  # timing not available in this period
31  timeResolutionDiamonds45 = "0.200",
32  timeResolutionDiamonds56 = "0.200"
33  )
34 )
35 
36 profile_2018_TS1_TS2 = _base_2018.clone(
37  L_int = 26.812002394,
38  ctppsLHCInfo = _base_2018.ctppsLHCInfo.clone(
39  xangleBetaStarHistogramObject = "2018_TS1_TS2/h2_betaStar_vs_xangle"
40  ),
41  ctppsRPAlignmentCorrectionsDataXML = _base_2018.ctppsRPAlignmentCorrectionsDataXML.clone(
42  MisalignedFiles = ["Validation/CTPPS/alignment/2018_TS1_TS2.xml"],
43  RealFiles = ["Validation/CTPPS/alignment/2018_TS1_TS2.xml"]
44  ),
45  ctppsDirectSimuData = _base_2018.ctppsDirectSimuData.clone(
46  timeResolutionDiamonds45 = "2*((x<16)*(-0.171784+0.175856*x-0.0322344*x^2+0.00231489*x^3-5.7575E-05*x^4)+(x>=16)*0.105)",
47  timeResolutionDiamonds56 = "2*((x<16)*(-0.014943+0.102806*x-0.0209404*x^2+0.00158264*x^3-4.08241E-05*x^4)+(x>=16)*0.089)"
48  )
49 )
50 
51 profile_2018_postTS2 = _base_2018.clone(
52  L_int = 10.415769561,
53  ctppsLHCInfo = _base_2018.ctppsLHCInfo.clone(
54  xangleBetaStarHistogramObject = "2018_postTS2/h2_betaStar_vs_xangle"
55  ),
56  ctppsRPAlignmentCorrectionsDataXML = _base_2018.ctppsRPAlignmentCorrectionsDataXML.clone(
57  MisalignedFiles = ["Validation/CTPPS/alignment/2018_postTS2.xml"],
58  RealFiles = ["Validation/CTPPS/alignment/2018_postTS2.xml"]
59  ),
60  ctppsDirectSimuData = _base_2018.ctppsDirectSimuData.clone(
61  timeResolutionDiamonds45 = "2*((x<16)*(-0.381504+0.255095*x-0.0415622*x^2+0.00275877*x^3-6.47115E-05*x^4)+(x>=16)*0.118)",
62  timeResolutionDiamonds56 = "2*((x<16)*(-0.279298+0.219838*x-0.0384257*x^2+0.00268906*x^3-6.60572E-05*x^4)+(x>=16)*0.099)",
63  )
64 )