ATLAS Offline Software
Public Member Functions | List of all members
python.samplers.MomSampler Class Reference

Momentum sampling. More...

Inheritance diagram for python.samplers.MomSampler:
Collaboration diagram for python.samplers.MomSampler:

Public Member Functions

def shoot (self)
 
def __call__ (self)
 

Detailed Description

Momentum sampling.

Base class for four-momentum sampling.

There are many ways to unambiguously specify four-momenta. Not all are sensible/useful,
though. The following are implemented here:
 * M,px,py,pz
 * E,M,phi,eta
 * E,M,phi,y
 * E,M,phi,theta
 * pT,M,phi,eta
 * pT,M,phi,y
 * pT,M,phi,theta

Possibly the following (not yet implemented) could be useful: let us know if you
need one of these:
 * E,px,py,pz
 * pT,E,M,phi

Definition at line 343 of file samplers.py.

Member Function Documentation

◆ __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.

17  def __call__(self):
18  """This is the call method that will actually be used (so that normal
19  functions can also be passed in as samplers)."""
20  return self.shoot()
21 

◆ shoot()

def python.samplers.Sampler.shoot (   self)
inherited

The documentation for this class was generated from the following file: