ATLAS Offline Software
Loading...
Searching...
No Matches
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 280 of file Samplers.h.

Constructor & Destructor Documentation

◆ ~NullMomSampler()

NullMomSampler::~NullMomSampler ( )
inline

Definition at line 282 of file Samplers.h.

282{};

◆ NullMomSampler()

NullMomSampler::NullMomSampler ( float mass = 0.0)
inlineexplicit

Definition at line 283 of file Samplers.h.

283{ m_mass = new ConstSampler(mass);};
ConstSampler * m_mass
Definition Samplers.h:45

Member Function Documentation

◆ shoot()

TLorentzVector NullMomSampler::shoot ( )
inlinevirtual

Reimplemented from MomSampler.

Definition at line 285 of file Samplers.h.

285 {
286 return TLorentzVector(0, 0, 0, m_mass->shoot());
287 }

Member Data Documentation

◆ m_mass

ConstSampler* MomSampler::m_mass {}
inherited

Definition at line 45 of file Samplers.h.

45{};

◆ m_val

TLorentzVector MomSampler::m_val
inherited

Definition at line 44 of file Samplers.h.


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