Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-11-23 03:27:49

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def CTPPSBeamParametersFromLHCInfoESSource(*args, **kwargs):
0004   mod = cms.ESProducer('CTPPSBeamParametersFromLHCInfoESSource',
0005     lhcInfoLabel = cms.string(''),
0006     lhcInfoPerLSLabel = cms.string(''),
0007     lhcInfoPerFillLabel = cms.string(''),
0008     useNewLHCInfo = cms.bool(False),
0009     beamDivX45 = cms.double(0.1),
0010     beamDivY45 = cms.double(0.1),
0011     beamDivX56 = cms.double(0.1),
0012     beamDivY56 = cms.double(0.1),
0013     vtxOffsetX45 = cms.double(0.01),
0014     vtxOffsetY45 = cms.double(0.01),
0015     vtxOffsetZ45 = cms.double(0.01),
0016     vtxOffsetX56 = cms.double(0.01),
0017     vtxOffsetY56 = cms.double(0.01),
0018     vtxOffsetZ56 = cms.double(0.01),
0019     vtxStddevX = cms.double(0.02),
0020     vtxStddevY = cms.double(0.02),
0021     vtxStddevZ = cms.double(0.02),
0022     appendToDataLabel = cms.string('')
0023   )
0024   for a in args:
0025     mod.update_(a)
0026   mod.update_(kwargs)
0027   return mod