Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:30:52

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_2017 as _optics
0004 
0005 # base profile settings for 2017
0006 _base_2017 = _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 )
0015 
0016 profile_2017_preTS2 = _base_2017.clone(
0017     L_int = 15.012899190,
0018     ctppsLHCInfo = _base_2017.ctppsLHCInfo.clone(
0019         xangleBetaStarHistogramObject = "2017_preTS2/h2_betaStar_vs_xangle"
0020     ),
0021     ctppsRPAlignmentCorrectionsDataXML = _base_2017.ctppsRPAlignmentCorrectionsDataXML.clone(
0022         MisalignedFiles = ["Validation/CTPPS/alignment/2017_preTS2.xml"],
0023         RealFiles = ["Validation/CTPPS/alignment/2017_preTS2.xml"]
0024     ),
0025     ctppsDirectSimuData = _base_2017.ctppsDirectSimuData.clone(
0026         empiricalAperture45 = "-(8.71198E-07*[xangle]-0.000134726)+(([xi]<(0.000264704*[xangle]+0.081951))*-(4.32065E-05*[xangle]-0.0130746)+([xi]>=(0.000264704*[xangle]+0.081951))*-(0.000183472*[xangle]-0.0395241))*([xi]-(0.000264704*[xangle]+0.081951))",
0027         empiricalAperture56 = "3.43116E-05+(([xi]<(0.000626936*[xangle]+0.061324))*0.00654394+([xi]>=(0.000626936*[xangle]+0.061324))*-(0.000145164*[xangle]-0.0272919))*([xi]-(0.000626936*[xangle]+0.061324))",
0028         timeResolutionDiamonds45 = "2*(-0.10784+0.105194*x-0.0182611*x^2+0.00134731*x^3-3.58212E-05*x^4)",
0029         timeResolutionDiamonds56 = "2*(0.00735552+0.0272707*x-0.00247151*x^2+8.62788E-05*x^3-7.99605E-07*x^4)"
0030     )
0031 )
0032 
0033 profile_2017_postTS2 = _base_2017.clone(
0034     L_int = 22.179613387,
0035     ctppsLHCInfo = _base_2017.ctppsLHCInfo.clone(
0036         xangleBetaStarHistogramObject = "2017_postTS2/h2_betaStar_vs_xangle"
0037     ),
0038     ctppsRPAlignmentCorrectionsDataXML = _base_2017.ctppsRPAlignmentCorrectionsDataXML.clone(
0039         MisalignedFiles = ["Validation/CTPPS/alignment/2017_postTS2.xml"],
0040         RealFiles = ["Validation/CTPPS/alignment/2017_postTS2.xml"]
0041     ),
0042     ctppsDirectSimuData = _base_2017.ctppsDirectSimuData.clone(
0043         empiricalAperture45 = "-(8.92079E-07*[xangle]-0.000150214)+(([xi]<(0.000278622*[xangle]+0.0964383))*-(3.9541e-05*[xangle]-0.0115104)+([xi]>=(0.000278622*[xangle]+0.0964383))*-(0.000108249*[xangle]-0.0249303))*([xi]-(0.000278622*[xangle]+0.0964383))",
0044         empiricalAperture56 = "4.56961E-05+(([xi]<(0.00075625*[xangle]+0.0643361))*-(3.01107e-05*[xangle]-0.00985126)+([xi]>=(0.00075625*[xangle]+0.0643361))*-(8.95437e-05*[xangle]-0.0169474))*([xi]-(0.00075625*[xangle]+0.0643361))",
0045         timeResolutionDiamonds45 = "2*(0.0152613+0.0498784*x-0.00824168*x^2+0.000599844*x^3-1.5923E-05*x^4)",
0046         timeResolutionDiamonds56 = "2*(-0.00458856+0.0522619*x-0.00806666*x^2+0.000558331*x^3-1.42165E-05*x^4)"
0047     )
0048 )