CMS 3D CMS Logo

profiles_2016_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_2016_preTS2, optics_2016_postTS2
4 
5 # base profile settings for 2016
6 _base_2016 = _base.clone(
7  ctppsLHCInfo = _base.ctppsLHCInfo.clone(
8  beamEnergy = 6500.
9  )
10 )
11 
12 profile_2016_preTS2 = _base_2016.clone(
13  L_int = 6.138092276 + 3.654039035,
14  ctppsLHCInfo = _base_2016.ctppsLHCInfo.clone(
15  xangleBetaStarHistogramObject = "2016_preTS2/h2_betaStar_vs_xangle"
16  ),
17  ctppsOpticalFunctions = _base_2016.ctppsOpticalFunctions.clone(
18  opticalFunctions = optics_2016_preTS2.opticalFunctions,
19  scoringPlanes = optics_2016_preTS2.scoringPlanes,
20  ),
21  ctppsRPAlignmentCorrectionsDataXML = _base_2016.ctppsRPAlignmentCorrectionsDataXML.clone(
22  MisalignedFiles = ["Validation/CTPPS/alignment/2016_preTS2.xml"],
23  RealFiles = ["Validation/CTPPS/alignment/2016_preTS2.xml"]
24  ),
25  ctppsDirectSimuData = _base_2016.ctppsDirectSimuData.clone(
26  empiricalAperture45 = "3.76296E-05+(([xi]<0.117122)*0.00712775+([xi]>=0.117122)*0.0148651)*([xi]-0.117122)",
27  empiricalAperture56 = "1.85954E-05+(([xi]<0.14324)*0.00475349+([xi]>=0.14324)*0.00629514)*([xi]-0.14324)"
28  )
29 )
30 
31 profile_2016_postTS2 = _base_2016.clone(
32  L_int = 5.007365807,
33  ctppsLHCInfo = _base_2016.ctppsLHCInfo.clone(
34  xangleBetaStarHistogramObject = "2016_postTS2/h2_betaStar_vs_xangle"
35  ),
36  ctppsOpticalFunctions = _base_2016.ctppsOpticalFunctions.clone(
37  opticalFunctions = optics_2016_postTS2.opticalFunctions,
38  scoringPlanes = optics_2016_postTS2.scoringPlanes,
39  ),
40  ctppsRPAlignmentCorrectionsDataXML = _base_2016.ctppsRPAlignmentCorrectionsDataXML.clone(
41  MisalignedFiles = ["Validation/CTPPS/alignment/2016_postTS2.xml"],
42  RealFiles = ["Validation/CTPPS/alignment/2016_postTS2.xml"]
43  ),
44  # direct simu data
45  ctppsDirectSimuData = _base_2016.ctppsDirectSimuData.clone(
46  empiricalAperture45 = "6.10374E-05+(([xi]<0.113491)*0.00795942+([xi]>=0.113491)*0.01935)*([xi]-0.113491)",
47  empiricalAperture56 = "([xi]-0.110)/130.0"
48  )
49 )