Definition at line 562 of file samplers.py.
◆ __init__()
def python.samplers.EThetaMPhiSampler.__init__ |
( |
|
self, |
|
|
|
energy, |
|
|
|
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)."""
◆ energy() [1/2]
def python.samplers.EThetaMPhiSampler.energy |
( |
|
self | ) |
|
◆ energy() [2/2]
def python.samplers.EThetaMPhiSampler.energy |
( |
|
self, |
|
|
|
x |
|
) |
| |
◆ mass() [1/2]
def python.samplers.EThetaMPhiSampler.mass |
( |
|
self | ) |
|
◆ mass() [2/2]
def python.samplers.EThetaMPhiSampler.mass |
( |
|
self, |
|
|
|
x |
|
) |
| |
◆ phi() [1/2]
def python.samplers.EThetaMPhiSampler.phi |
( |
|
self | ) |
|
Definition at line 598 of file samplers.py.
599 "Azimuthal angle sampler"
◆ phi() [2/2]
def python.samplers.EThetaMPhiSampler.phi |
( |
|
self, |
|
|
|
x |
|
) |
| |
◆ shoot()
def python.samplers.EThetaMPhiSampler.shoot |
( |
|
self | ) |
|
p = sqrt(e^2 - m^2)
pz = p cos(theta)
pt = p sin(theta)
Reimplemented from python.samplers.Sampler.
Definition at line 605 of file samplers.py.
613 p = math.sqrt( e**2 - m**2 )
615 pz = p * math.cos(theta)
616 pt = p * math.sin(theta)
618 px = pt * math.cos(phi)
619 py = pt * math.sin(phi)
620 v4 = ROOT.TLorentzVector(px, py, pz, e)
◆ theta() [1/2]
def python.samplers.EThetaMPhiSampler.theta |
( |
|
self | ) |
|
◆ theta() [2/2]
def python.samplers.EThetaMPhiSampler.theta |
( |
|
self, |
|
|
|
x |
|
) |
| |
◆ _e
python.samplers.EThetaMPhiSampler._e |
|
private |
◆ _m
python.samplers.EThetaMPhiSampler._m |
|
private |
◆ _phi
python.samplers.EThetaMPhiSampler._phi |
|
private |
◆ _theta
python.samplers.EThetaMPhiSampler._theta |
|
private |
◆ energy
python.samplers.EThetaMPhiSampler.energy |
◆ mass
python.samplers.EThetaMPhiSampler.mass |
◆ phi
python.samplers.EThetaMPhiSampler.phi |
◆ theta
python.samplers.EThetaMPhiSampler.theta |
The documentation for this class was generated from the following file: