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

#include <Samplers.h>

Collaboration diagram for PosSampler:

Public Member Functions

 ~PosSampler ()=default
 
 PosSampler ()=default
 
 PosSampler (float x, float y, float z, float t=0)
 
TLorentzVector shoot ()
 

Private Attributes

Sampler m_x {0.f}
 
Sampler m_y {0.f}
 
Sampler m_z {0.f}
 
Sampler m_t {0.f}
 

Detailed Description

Definition at line 256 of file Samplers.h.

Constructor & Destructor Documentation

◆ ~PosSampler()

PosSampler::~PosSampler ( )
default

◆ PosSampler() [1/2]

PosSampler::PosSampler ( )
default

◆ PosSampler() [2/2]

PosSampler::PosSampler ( float  x,
float  y,
float  z,
float  t = 0 
)
inline

Definition at line 260 of file Samplers.h.

260  :
262  //nop
263  }

Member Function Documentation

◆ shoot()

TLorentzVector PosSampler::shoot ( )
inline

Definition at line 265 of file Samplers.h.

265  {
266  float x = m_x.shoot();
267  float y = m_y.shoot();
268  float z = m_z.shoot();
269  float t = m_t.shoot();
270  return TLorentzVector(x, y, z, t);
271  }

Member Data Documentation

◆ m_t

Sampler PosSampler::m_t {0.f}
private

Definition at line 273 of file Samplers.h.

◆ m_x

Sampler PosSampler::m_x {0.f}
private

Definition at line 273 of file Samplers.h.

◆ m_y

Sampler PosSampler::m_y {0.f}
private

Definition at line 273 of file Samplers.h.

◆ m_z

Sampler PosSampler::m_z {0.f}
private

Definition at line 273 of file Samplers.h.


The documentation for this class was generated from the following file:
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
Sampler::shoot
virtual float shoot()
Definition: Samplers.h:23
ConstSampler
Definition: Samplers.h:29
x
#define x
z
#define z
PosSampler::m_x
Sampler m_x
Definition: Samplers.h:273
PosSampler::m_z
Sampler m_z
Definition: Samplers.h:273
y
#define y
PosSampler::m_y
Sampler m_y
Definition: Samplers.h:273
PosSampler::m_t
Sampler m_t
Definition: Samplers.h:273