ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
NullMomSampler Class Reference

#include <Samplers.h>

Inheritance diagram for NullMomSampler:
Collaboration diagram for NullMomSampler:

Public Member Functions

 ~NullMomSampler ()
 
 NullMomSampler (float mass=0.0)
 
TLorentzVector shoot ()
 

Public Attributes

TLorentzVector m_val
 
ConstSamplerm_mass
 

Detailed Description

Definition at line 313 of file Samplers.h.

Constructor & Destructor Documentation

◆ ~NullMomSampler()

NullMomSampler::~NullMomSampler ( )
inline

Definition at line 315 of file Samplers.h.

315 {};

◆ NullMomSampler()

NullMomSampler::NullMomSampler ( float  mass = 0.0)
inline

Definition at line 316 of file Samplers.h.

316 { m_mass = new ConstSampler(mass);};

Member Function Documentation

◆ shoot()

TLorentzVector NullMomSampler::shoot ( )
inlinevirtual

Reimplemented from MomSampler.

Definition at line 318 of file Samplers.h.

318  {
319  return TLorentzVector(0, 0, 0, m_mass->shoot());
320  }

Member Data Documentation

◆ m_mass

ConstSampler* MomSampler::m_mass
inherited

Definition at line 44 of file Samplers.h.

◆ m_val

TLorentzVector MomSampler::m_val
inherited

Definition at line 43 of file Samplers.h.


The documentation for this class was generated from the following file:
Base_Fragment.mass
mass
Definition: Sherpa_i/share/common/Base_Fragment.py:59
MomSampler::m_mass
ConstSampler * m_mass
Definition: Samplers.h:44
ConstSampler
Definition: Samplers.h:29
ConstSampler::shoot
virtual float shoot()
Definition: Samplers.h:34