#include <Samplers.h>
Definition at line 293 of file Samplers.h.
◆ ~PtEtaMPhiSampler()
| PtEtaMPhiSampler::~PtEtaMPhiSampler |
( |
| ) |
|
|
inline |
◆ PtEtaMPhiSampler() [1/2]
◆ PtEtaMPhiSampler() [2/2]
| PtEtaMPhiSampler::PtEtaMPhiSampler |
( |
float | ptmin, |
|
|
float | ptmax, |
|
|
float | etamin, |
|
|
float | etamax, |
|
|
float | mass = 0.0, |
|
|
float | phimin = 0, |
|
|
float | phimax = 2.*TMath::Pi() ) |
|
inline |
Definition at line 298 of file Samplers.h.
298 {
300 m_pt =
new ConstSampler(ptmin);
301 else
303 if (etamin==etamax)
304 m_eta =
new ConstSampler(etamin);
305 else
306 m_eta =
new UniformSampler(etamin,etamax);
307 m_mass =
new ConstSampler(mass);
308 if (phimin==phimax)
309 m_phi =
new ConstSampler(phimin);
310 else
311 m_phi =
new UniformSampler(phimin,phimax);
312 };
◆ operator=()
◆ shoot()
| TLorentzVector PtEtaMPhiSampler::shoot |
( |
| ) |
|
|
inlinevirtual |
Reimplemented from MomSampler.
Definition at line 314 of file Samplers.h.
314 {
319 TLorentzVector tlv; tlv.SetPtEtaPhiM(pt,
eta,
phi,m);
320 return tlv;
321 };
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
◆ m_eta
| Sampler * PtEtaMPhiSampler::m_eta {} |
|
private |
◆ m_mass
◆ m_phi
| Sampler * PtEtaMPhiSampler::m_phi {} |
|
private |
◆ m_pt
◆ m_val
| TLorentzVector MomSampler::m_val |
|
inherited |
The documentation for this class was generated from the following file: