1 import FWCore.ParameterSet.Config
as cms
13 del ctppsInterpolatedOpticalFunctionsESSource
16 ctppsLHCInfoESSource = cms.ESSource(
"CTPPSLHCInfoESSource",
17 label = cms.string(
""),
18 validityRange = cms.EventRange(
"0:min - 999999:max"),
19 beamEnergy = cms.double(6500),
20 xangle = cms.double(-1)
24 ctppsBeamParametersESSource = cms.ESSource(
"CTPPSBeamParametersESSource",
25 setBeamPars = cms.bool(
True),
28 beamMom45 = cms.double(6500.),
29 beamMom56 = cms.double(6500.),
32 betaStarX45 = cms.double(0.),
33 betaStarX56 = cms.double(0.),
34 betaStarY45 = cms.double(0.),
35 betaStarY56 = cms.double(0.),
38 beamDivX45 = cms.double(30E-6),
39 beamDivX56 = cms.double(30E-6),
40 beamDivY45 = cms.double(30E-6),
41 beamDivY56 = cms.double(30E-6),
44 halfXangleX45 = cms.double(-1),
45 halfXangleX56 = cms.double(-1),
46 halfXangleY45 = cms.double(0.),
47 halfXangleY56 = cms.double(0.),
50 vtxOffsetX45 = cms.double(0.),
51 vtxOffsetX56 = cms.double(0.),
52 vtxOffsetY45 = cms.double(0.),
53 vtxOffsetY56 = cms.double(0.),
54 vtxOffsetZ45 = cms.double(0.),
55 vtxOffsetZ56 = cms.double(0.),
58 vtxStddevX = cms.double(10E-4),
59 vtxStddevY = cms.double(10E-4),
60 vtxStddevZ = cms.double(5)
67 RandomNumberGeneratorService = cms.Service(
"RandomNumberGeneratorService",
68 sourceSeed = cms.PSet(initialSeed =cms.untracked.uint32(98765)),
69 generator = cms.PSet(initialSeed = cms.untracked.uint32(98766)),
70 beamDivergenceVtxGenerator = cms.PSet(initialSeed =cms.untracked.uint32(3849))
74 source = cms.Source(
"EmptySource",
75 firstRun = cms.untracked.uint32(1)
80 generator.xi_max = 0.25
81 generator.theta_x_sigma = 60E-6
82 generator.theta_y_sigma = 60E-6
89 ctppsDirectProtonSimulation.verbosity = 0
90 ctppsDirectProtonSimulation.hepMCTag = cms.InputTag(
'beamDivergenceVtxGenerator')
91 ctppsDirectProtonSimulation.roundToPitch =
True 92 ctppsDirectProtonSimulation.pitchStrips = 66E-3 * 12 / 19
93 ctppsDirectProtonSimulation.pitchPixelsHor = 50E-3
94 ctppsDirectProtonSimulation.pitchPixelsVer = 80E-3
95 ctppsDirectProtonSimulation.produceHitsRelativeToBeam =
True 96 ctppsDirectProtonSimulation.produceScoringPlaneHits =
False 97 ctppsDirectProtonSimulation.produceRecHits =
True 104 totemRPUVPatternFinder.tagRecHit = cms.InputTag(
'ctppsDirectProtonSimulation')
105 ctppsPixelLocalTracks.label =
"ctppsDirectProtonSimulation" 106 ctppsLocalTrackLiteProducer.includeDiamonds =
False 109 ctppsProtons.tagLocalTrackLite = cms.InputTag(
'ctppsLocalTrackLiteProducer')
114 process.ctppsBeamParametersESSource.vtxStddevX = 0E-4
115 process.ctppsBeamParametersESSource.vtxStddevZ = 0
117 process.ctppsBeamParametersESSource.beamDivX45 = 0E-6
118 process.ctppsBeamParametersESSource.beamDivX56 = 0E-6
119 process.ctppsBeamParametersESSource.beamDivY45 = 0E-6
120 process.ctppsBeamParametersESSource.beamDivY56 = 0E-6
122 process.ctppsDirectProtonSimulation.roundToPitch =
False 126 process.ctppsBeamParametersESSource.beamDivX45 = 0E-6
127 process.ctppsBeamParametersESSource.beamDivX56 = 0E-6
128 process.ctppsBeamParametersESSource.beamDivY45 = 0E-6
129 process.ctppsBeamParametersESSource.beamDivY56 = 0E-6
131 process.ctppsDirectProtonSimulation.roundToPitch =
False 135 process.ctppsDirectProtonSimulation.roundToPitch =
False 143 process.generator.theta_x_sigma = 0E-6
144 process.generator.theta_y_sigma = 0E-6
152 process.ctppsLHCInfoESSource.xangle = xangle
153 process.ctppsBeamParametersESSource.halfXangleX45 = xangle * 1E-6
154 process.ctppsBeamParametersESSource.halfXangleX56 = xangle * 1E-6
def UseCrossingAngle(xangle, process)
def SetLargeTheta(process)