Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:58:37

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 
0004 # by default, (raw) optical functions are now loaded from CondDB using a GT
0005 
0006 #from CalibPPS.ESProducers.ctppsOpticalFunctionsESSource_cfi import *
0007 #
0008 ## add 2016 pre-TS2 configuration
0009 #config_2016_preTS2 = cms.PSet(
0010 #  validityRange = cms.EventRange("273725:min - 280385:max"),
0011 #
0012 #  opticalFunctions = cms.VPSet(
0013 #      cms.PSet( xangle = cms.double(185), fileName = cms.FileInPath("CalibPPS/ESProducers/data/optical_functions_2016.root") )
0014 #  ),
0015 #
0016 #  scoringPlanes = cms.VPSet(
0017 #      # z in cm
0018 #      cms.PSet( rpId = cms.uint32(0x76100000), dirName = cms.string("XRPH_C6L5_B2"), z = cms.double(-20382.6) ),  # RP 002, strip
0019 #      cms.PSet( rpId = cms.uint32(0x76180000), dirName = cms.string("XRPH_D6L5_B2"), z = cms.double(-21255.1) ),  # RP 003, strip
0020 #      cms.PSet( rpId = cms.uint32(0x77100000), dirName = cms.string("XRPH_C6R5_B1"), z = cms.double(+20382.6) ),  # RP 102, strip
0021 #      cms.PSet( rpId = cms.uint32(0x77180000), dirName = cms.string("XRPH_D6R5_B1"), z = cms.double(+21255.1) ),  # RP 103, strip
0022 #  )
0023 #)
0024 #
0025 #ctppsOpticalFunctionsESSource.configuration.append(config_2016_preTS2)
0026 
0027 # optics interpolation between crossing angles
0028 from CalibPPS.ESProducers.ctppsInterpolatedOpticalFunctionsESSource_cfi import *