ATLAS Offline Software
Loading...
Searching...
No Matches
python.samplers.NullMomSampler Class Reference
Inheritance diagram for python.samplers.NullMomSampler:
Collaboration diagram for python.samplers.NullMomSampler:

Public Types

typedef HLT::TypeInformation::for_each_type_c< typenameEDMLIST::map, my_functor, my_result<>, my_arg< HLT::TypeInformation::get_cont, CONTAINER > >::type result

Public Member Functions

 __init__ (self, mass=0.0)
 mass (self)
 mass (self, x)
 shoot (self)
 __call__ (self)

Public Attributes

 mass = mass

Protected Attributes

 _m = mksampler(x)

Detailed Description

Definition at line 365 of file samplers.py.

Member Typedef Documentation

◆ result

Definition at line 90 of file EDM_MasterSearch.h.

Constructor & Destructor Documentation

◆ __init__()

python.samplers.NullMomSampler.__init__ ( self,
mass = 0.0 )

Definition at line 368 of file samplers.py.

368 def __init__(self, mass=0.0):
369 self.mass = mass
370

Member Function Documentation

◆ __call__()

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

◆ mass() [1/2]

python.samplers.NullMomSampler.mass ( self)

Definition at line 372 of file samplers.py.

372 def mass(self):
373 "Mass sampler"
374 return self._m

◆ mass() [2/2]

python.samplers.NullMomSampler.mass ( self,
x )

Definition at line 376 of file samplers.py.

376 def mass(self, x):
377 self._m = mksampler(x)
378

◆ shoot()

python.samplers.NullMomSampler.shoot ( self)

Reimplemented from python.samplers.Sampler.

Definition at line 379 of file samplers.py.

379 def shoot(self):
380 v4 = ROOT.TLorentzVector(0, 0, 0, self.mass)
381 return v4
382
383

Member Data Documentation

◆ _m

python.samplers.NullMomSampler._m = mksampler(x)
protected

Definition at line 377 of file samplers.py.

◆ mass

python.samplers.NullMomSampler.mass = mass

Definition at line 369 of file samplers.py.


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