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

#include <Samplers.h>

Collaboration diagram for SampledParticle:

Public Member Functions

 ~SampledParticle ()
 
 SampledParticle (int pid=0, TLorentzVector mom=TLorentzVector(0, 0, 0, 0), TLorentzVector pos=TLorentzVector(0, 0, 0, 0))
 

Public Attributes

int m_pid
 
TLorentzVector m_mom
 
TLorentzVector m_pos
 
float m_mass
 

Detailed Description

Definition at line 740 of file Samplers.h.

Constructor & Destructor Documentation

◆ ~SampledParticle()

SampledParticle::~SampledParticle ( )
inline

Definition at line 742 of file Samplers.h.

742 {};

◆ SampledParticle()

SampledParticle::SampledParticle ( int  pid = 0,
TLorentzVector  mom = TLorentzVector(0,0,0,0),
TLorentzVector  pos = TLorentzVector(0,0,0,0) 
)
inline

Definition at line 743 of file Samplers.h.

743  {
744  // Constructor/initializer: PID is the (int) PDG particle ID code
745  // of this particle, mom is its momentum 4-vector, and pos is
746  // the vertex 4-position (both as ROOT.TLorentzVector, in MeV).
747  m_pid = pid;
748  m_mom = mom;
749  m_pos = pos;
750  m_mass = 0;
751  }

Member Data Documentation

◆ m_mass

float SampledParticle::m_mass

Definition at line 754 of file Samplers.h.

◆ m_mom

TLorentzVector SampledParticle::m_mom

Definition at line 753 of file Samplers.h.

◆ m_pid

int SampledParticle::m_pid

Definition at line 752 of file Samplers.h.

◆ m_pos

TLorentzVector SampledParticle::m_pos

Definition at line 753 of file Samplers.h.


The documentation for this class was generated from the following file:
ParticleGun_EoverP_Config.mom
mom
Definition: ParticleGun_EoverP_Config.py:63
ParticleGun_EoverP_Config.pid
pid
Definition: ParticleGun_EoverP_Config.py:62
python.LumiBlobConversion.pos
pos
Definition: LumiBlobConversion.py:18
SampledParticle::m_mass
float m_mass
Definition: Samplers.h:754
SampledParticle::m_pid
int m_pid
Definition: Samplers.h:752
SampledParticle::m_pos
TLorentzVector m_pos
Definition: Samplers.h:753
SampledParticle::m_mom
TLorentzVector m_mom
Definition: Samplers.h:753