Definition at line 749 of file samplers.py.
◆ __init__()
def python.samplers.PtThetaMPhiSampler.__init__ |
( |
|
self, |
|
|
|
pt, |
|
|
|
theta, |
|
|
|
mass = 0.0 , |
|
|
|
phi = [0, TWOPI] |
|
) |
| |
◆ __call__()
def python.samplers.Sampler.__call__ |
( |
|
self | ) |
|
|
inherited |
This is the call method that will actually be used (so that normal
functions can also be passed in as samplers).
Definition at line 17 of file samplers.py.
18 """This is the call method that will actually be used (so that normal
19 functions can also be passed in as samplers)."""
◆ mass() [1/2]
def python.samplers.PtThetaMPhiSampler.mass |
( |
|
self | ) |
|
◆ mass() [2/2]
def python.samplers.PtThetaMPhiSampler.mass |
( |
|
self, |
|
|
|
x |
|
) |
| |
◆ phi() [1/2]
def python.samplers.PtThetaMPhiSampler.phi |
( |
|
self | ) |
|
Definition at line 783 of file samplers.py.
784 "Azimuthal angle sampler"
◆ phi() [2/2]
def python.samplers.PtThetaMPhiSampler.phi |
( |
|
self, |
|
|
|
x |
|
) |
| |
◆ pt() [1/2]
def python.samplers.PtThetaMPhiSampler.pt |
( |
|
self | ) |
|
Definition at line 759 of file samplers.py.
760 "Transverse momentum sampler"
◆ pt() [2/2]
def python.samplers.PtThetaMPhiSampler.pt |
( |
|
self, |
|
|
|
x |
|
) |
| |
◆ shoot()
def python.samplers.PtThetaMPhiSampler.shoot |
( |
|
self | ) |
|
p = pt / math.sin(theta)
pz = p cos(theta)
pt = p sin(theta)
E = sqrt(p^2 + m^2)
Reimplemented from python.samplers.Sampler.
Definition at line 790 of file samplers.py.
792 p = pt / math.sin(theta)
799 p = pt / math.sin(theta)
801 px = pt * math.cos(phi)
802 py = pt * math.sin(phi)
803 pz = p * math.cos(theta)
805 e = math.sqrt( p**2 + m**2 )
806 v4 = ROOT.TLorentzVector(px, py, pz, e)
◆ theta() [1/2]
def python.samplers.PtThetaMPhiSampler.theta |
( |
|
self | ) |
|
◆ theta() [2/2]
def python.samplers.PtThetaMPhiSampler.theta |
( |
|
self, |
|
|
|
x |
|
) |
| |
◆ _m
python.samplers.PtThetaMPhiSampler._m |
|
private |
◆ _phi
python.samplers.PtThetaMPhiSampler._phi |
|
private |
◆ _pt
python.samplers.PtThetaMPhiSampler._pt |
|
private |
◆ _theta
python.samplers.PtThetaMPhiSampler._theta |
|
private |
◆ mass
python.samplers.PtThetaMPhiSampler.mass |
◆ phi
python.samplers.PtThetaMPhiSampler.phi |
◆ pt
python.samplers.PtThetaMPhiSampler.pt |
◆ theta
python.samplers.PtThetaMPhiSampler.theta |
The documentation for this class was generated from the following file: