CMS 3D CMS Logo

Functions
base_cff Namespace Reference

Functions

def SetLargeTheta (process)
 
def SetLevel1 (process)
 
def SetLevel2 (process)
 
def SetLevel3 (process)
 
def SetLevel4 (process)
 
def SetLowTheta (process)
 
def SetSmearingLevel1 (obj)
 
def SetSmearingLevel2 (obj)
 
def UseConstantXangleBetaStar (process, xangle, betaStar)
 
def UseXangleBetaStarHistogram (process, f="", obj="")
 

Function Documentation

◆ SetLargeTheta()

def base_cff.SetLargeTheta (   process)

Definition at line 39 of file base_cff.py.

39 def SetLargeTheta(process):
40  pass
41 
def SetLargeTheta(process)
Definition: base_cff.py:39

◆ SetLevel1()

def base_cff.SetLevel1 (   process)

Definition at line 13 of file base_cff.py.

References SetSmearingLevel1().

13 def SetLevel1(process):
14  SetSmearingLevel1(process.ctppsBeamParametersFromLHCInfoESSource)
15 
16  process.ppsDirectProtonSimulation.roundToPitch = False
17 
def SetSmearingLevel1(obj)
Definition: base_cff.py:4
def SetLevel1(process)
Definition: base_cff.py:13

◆ SetLevel2()

def base_cff.SetLevel2 (   process)

Definition at line 24 of file base_cff.py.

References SetSmearingLevel2().

24 def SetLevel2(process):
25  SetSmearingLevel2(process.ctppsBeamParametersFromLHCInfoESSource)
26 
27  process.ppsDirectProtonSimulation.roundToPitch = False
28 
def SetSmearingLevel2(obj)
Definition: base_cff.py:18
def SetLevel2(process)
Definition: base_cff.py:24

◆ SetLevel3()

def base_cff.SetLevel3 (   process)

Definition at line 29 of file base_cff.py.

29 def SetLevel3(process):
30  process.ppsDirectProtonSimulation.roundToPitch = False
31 
def SetLevel3(process)
Definition: base_cff.py:29

◆ SetLevel4()

def base_cff.SetLevel4 (   process)

Definition at line 32 of file base_cff.py.

32 def SetLevel4(process):
33  pass
34 
def SetLevel4(process)
Definition: base_cff.py:32

◆ SetLowTheta()

def base_cff.SetLowTheta (   process)

Definition at line 35 of file base_cff.py.

35 def SetLowTheta(process):
36  process.generator.theta_x_sigma = 0E-6
37  process.generator.theta_y_sigma = 0E-6
38 
def SetLowTheta(process)
Definition: base_cff.py:35

◆ SetSmearingLevel1()

def base_cff.SetSmearingLevel1 (   obj)

Definition at line 4 of file base_cff.py.

Referenced by SetLevel1().

4 def SetSmearingLevel1(obj):
5  obj.vtxStddevX = 0E-4
6  obj.vtxStddevZ = 0
7 
8  obj.beamDivX45 = 0E-6
9  obj.beamDivX56 = 0E-6
10  obj.beamDivY45 = 0E-6
11  obj.beamDivY56 = 0E-6
12 
def SetSmearingLevel1(obj)
Definition: base_cff.py:4

◆ SetSmearingLevel2()

def base_cff.SetSmearingLevel2 (   obj)

Definition at line 18 of file base_cff.py.

Referenced by SetLevel2().

18 def SetSmearingLevel2(obj):
19  obj.beamDivX45 = 0E-6
20  obj.beamDivX56 = 0E-6
21  obj.beamDivY45 = 0E-6
22  obj.beamDivY56 = 0E-6
23 
def SetSmearingLevel2(obj)
Definition: base_cff.py:18

◆ UseConstantXangleBetaStar()

def base_cff.UseConstantXangleBetaStar (   process,
  xangle,
  betaStar 
)

Definition at line 42 of file base_cff.py.

42 def UseConstantXangleBetaStar(process, xangle, betaStar):
43  for p in ctppsCompositeESSource.periods:
44  p.ctppsLHCInfo.xangle = xangle
45  p.ctppsLHCInfo.betaStar = betaStar
46 
def UseConstantXangleBetaStar(process, xangle, betaStar)
Definition: base_cff.py:42

◆ UseXangleBetaStarHistogram()

def base_cff.UseXangleBetaStarHistogram (   process,
  f = "",
  obj = "" 
)

Definition at line 47 of file base_cff.py.

47 def UseXangleBetaStarHistogram(process, f="", obj=""):
48  for p in ctppsCompositeESSource.periods:
49  p.ctppsLHCInfo.xangle = -1 # negative value indicates to use the xangle/beta* histogram
50 
51  if f:
52  p.ctppsLHCInfo.xangleBetaStarHistogramFile = f
53  if obj:
54  p.ctppsLHCInfo.xangleBetaStarHistogramObject = obj
55 
56 
def UseXangleBetaStarHistogram(process, f="", obj="")
Definition: base_cff.py:47