Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 10:04:58

0001 import FWCore.ParameterSet.Config as cms
0002 from SimPPS.DirectSimProducer.profile_base_cff import profile_base as _base
0003 from CalibPPS.ESProducers.ctppsOpticalFunctions_non_DB_cff import optics_2018 as _optics
0004 
0005 # base profile settings for 2018
0006 _base_2018 = _base.clone(
0007     ctppsLHCInfo = _base.ctppsLHCInfo.clone(
0008         beamEnergy = 6500.
0009     ),
0010     ctppsOpticalFunctions = _base.ctppsOpticalFunctions.clone(
0011         opticalFunctions = _optics.opticalFunctions,
0012         scoringPlanes = _optics.scoringPlanes,
0013     ),
0014     ctppsDirectSimuData = _base.ctppsDirectSimuData.clone(
0015         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))",
0016         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))"
0017     )
0018 )
0019 
0020 profile_2018_preTS1 = _base_2018.clone(
0021     L_int = 18.488297964,
0022     ctppsLHCInfo = _base_2018.ctppsLHCInfo.clone(
0023         xangleBetaStarHistogramObject = "2018_preTS1/h2_betaStar_vs_xangle"
0024     ),
0025     ctppsRPAlignmentCorrectionsDataXML = _base_2018.ctppsRPAlignmentCorrectionsDataXML.clone(
0026         MisalignedFiles = ["Validation/CTPPS/alignment/2018_preTS1.xml"],
0027         RealFiles = ["Validation/CTPPS/alignment/2018_preTS1.xml"]
0028     ),
0029     ctppsDirectSimuData = _base_2018.ctppsDirectSimuData.clone(
0030         # timing not available in this period
0031         timeResolutionDiamonds45 = "0.200",
0032         timeResolutionDiamonds56 = "0.200"
0033     )
0034 )
0035 
0036 profile_2018_TS1_TS2 = _base_2018.clone(
0037     L_int = 26.812002394,
0038     ctppsLHCInfo = _base_2018.ctppsLHCInfo.clone(
0039         xangleBetaStarHistogramObject = "2018_TS1_TS2/h2_betaStar_vs_xangle"
0040     ),
0041     ctppsRPAlignmentCorrectionsDataXML = _base_2018.ctppsRPAlignmentCorrectionsDataXML.clone(
0042         MisalignedFiles = ["Validation/CTPPS/alignment/2018_TS1_TS2.xml"],
0043         RealFiles = ["Validation/CTPPS/alignment/2018_TS1_TS2.xml"]
0044     ),
0045     ctppsDirectSimuData = _base_2018.ctppsDirectSimuData.clone(
0046         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)",
0047         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)"
0048     )
0049 )
0050 
0051 profile_2018_postTS2 = _base_2018.clone(
0052     L_int = 10.415769561,
0053     ctppsLHCInfo = _base_2018.ctppsLHCInfo.clone(
0054         xangleBetaStarHistogramObject = "2018_postTS2/h2_betaStar_vs_xangle"
0055     ),
0056     ctppsRPAlignmentCorrectionsDataXML = _base_2018.ctppsRPAlignmentCorrectionsDataXML.clone(
0057         MisalignedFiles = ["Validation/CTPPS/alignment/2018_postTS2.xml"],
0058         RealFiles = ["Validation/CTPPS/alignment/2018_postTS2.xml"]
0059     ),
0060     ctppsDirectSimuData = _base_2018.ctppsDirectSimuData.clone(
0061         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)",
0062         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)",
0063     )
0064 )