CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions | Variables
base_cff Namespace Reference

Functions

def SetLargeTheta
 
def SetLevel1
 
def SetLevel2
 
def SetLevel3
 
def SetLevel4
 
def SetLowTheta
 
def SetSmearingLevel1
 
def SetSmearingLevel2
 
def UseConstantXangleBetaStar
 
def UseXangleBetaStarHistogram
 

Variables

tuple ctppsBeamParametersFromLHCInfoESSource
 
tuple profile_base
 
tuple RandomNumberGeneratorService
 
tuple source
 

Function Documentation

def base_cff.SetLargeTheta (   process)

Definition at line 166 of file base_cff.py.

167 def SetLargeTheta(process):
168  pass
def SetLargeTheta
Definition: base_cff.py:166
def base_cff.SetLevel1 (   process)

Definition at line 140 of file base_cff.py.

References SetSmearingLevel1().

141 def SetLevel1(process):
142  SetSmearingLevel1(process.ctppsBeamParametersFromLHCInfoESSource)
143 
144  process.ctppsDirectProtonSimulation.roundToPitch = False
def SetLevel1
Definition: base_cff.py:140
def SetSmearingLevel1
Definition: base_cff.py:131
def base_cff.SetLevel2 (   process)

Definition at line 151 of file base_cff.py.

References SetSmearingLevel2().

152 def SetLevel2(process):
153  SetSmearingLevel2(process.ctppsBeamParametersFromLHCInfoESSource)
154 
155  process.ctppsDirectProtonSimulation.roundToPitch = False
def SetSmearingLevel2
Definition: base_cff.py:145
def SetLevel2
Definition: base_cff.py:151
def base_cff.SetLevel3 (   process)

Definition at line 156 of file base_cff.py.

157 def SetLevel3(process):
158  process.ctppsDirectProtonSimulation.roundToPitch = False
def SetLevel3
Definition: base_cff.py:156
def base_cff.SetLevel4 (   process)

Definition at line 159 of file base_cff.py.

160 def SetLevel4(process):
161  pass
def SetLevel4
Definition: base_cff.py:159
def base_cff.SetLowTheta (   process)

Definition at line 162 of file base_cff.py.

163 def SetLowTheta(process):
164  process.generator.theta_x_sigma = 0E-6
165  process.generator.theta_y_sigma = 0E-6
def SetLowTheta
Definition: base_cff.py:162
def base_cff.SetSmearingLevel1 (   obj)

Definition at line 131 of file base_cff.py.

Referenced by SetLevel1().

132 def SetSmearingLevel1(obj):
133  obj.vtxStddevX = 0E-4
134  obj.vtxStddevZ = 0
135 
136  obj.beamDivX45 = 0E-6
137  obj.beamDivX56 = 0E-6
138  obj.beamDivY45 = 0E-6
139  obj.beamDivY56 = 0E-6
def SetSmearingLevel1
Definition: base_cff.py:131
def base_cff.SetSmearingLevel2 (   obj)

Definition at line 145 of file base_cff.py.

Referenced by SetLevel2().

146 def SetSmearingLevel2(obj):
147  obj.beamDivX45 = 0E-6
148  obj.beamDivX56 = 0E-6
149  obj.beamDivY45 = 0E-6
150  obj.beamDivY56 = 0E-6
def SetSmearingLevel2
Definition: base_cff.py:145
def base_cff.UseConstantXangleBetaStar (   process,
  xangle,
  betaStar 
)

Definition at line 169 of file base_cff.py.

170 def UseConstantXangleBetaStar(process, xangle, betaStar):
171  for p in ctppsCompositeESSource.periods:
172  p.ctppsLHCInfo.xangle = xangle
173  p.ctppsLHCInfo.betaStar = betaStar
def UseConstantXangleBetaStar
Definition: base_cff.py:169
def base_cff.UseXangleBetaStarHistogram (   process,
  f = "",
  obj = "" 
)

Definition at line 174 of file base_cff.py.

175 def UseXangleBetaStarHistogram(process, f="", obj=""):
176  for p in ctppsCompositeESSource.periods:
177  p.ctppsLHCInfo.xangle = -1 # negative value indicates to use the xangle/beta* histogram
178 
179  if f:
180  p.ctppsLHCInfo.xangleBetaStarHistogramFile = f
181  if obj:
182  p.ctppsLHCInfo.xangleBetaStarHistogramObject = obj
def UseXangleBetaStarHistogram
Definition: base_cff.py:174

Variable Documentation

tuple base_cff.ctppsBeamParametersFromLHCInfoESSource
Initial value:
1 = cms.ESProducer("CTPPSBeamParametersFromLHCInfoESSource",
2  lhcInfoLabel = cms.string(""),
3 
4  # beam divergence (rad)
5  beamDivX45 = cms.double(30E-6),
6  beamDivX56 = cms.double(30E-6),
7  beamDivY45 = cms.double(30E-6),
8  beamDivY56 = cms.double(30E-6),
9 
10  # vertex offset (cm)
11  vtxOffsetX45 = cms.double(0.),
12  vtxOffsetX56 = cms.double(0.),
13  vtxOffsetY45 = cms.double(0.),
14  vtxOffsetY56 = cms.double(0.),
15  vtxOffsetZ45 = cms.double(0.),
16  vtxOffsetZ56 = cms.double(0.),
17 
18  # vertex sigma (cm)
19  vtxStddevX = cms.double(10E-4),
20  vtxStddevY = cms.double(10E-4),
21  vtxStddevZ = cms.double(5)
22 )

Definition at line 49 of file base_cff.py.

tuple base_cff.profile_base

Definition at line 10 of file base_cff.py.

tuple base_cff.RandomNumberGeneratorService
Initial value:
1 = cms.Service("RandomNumberGeneratorService",
2  sourceSeed = cms.PSet(initialSeed = cms.untracked.uint32(98765)),
3  generator = cms.PSet(initialSeed = cms.untracked.uint32(98766)),
4  beamDivergenceVtxGenerator = cms.PSet(initialSeed = cms.untracked.uint32(3849)),
5  ctppsDirectProtonSimulation = cms.PSet(initialSeed = cms.untracked.uint32(4981))
6 )

Definition at line 76 of file base_cff.py.

tuple base_cff.source
Initial value:
1 = cms.Source("EmptySource",
2  firstRun = cms.untracked.uint32(1),
3  numberEventsInLuminosityBlock = ctppsCompositeESSource.generateEveryNEvents
4 )

Definition at line 84 of file base_cff.py.