eic-smear  1.0.3
A collection of ROOT classes for Monte Carlo events and a fast-smearing code simulating detector effects for the Electron-Ion Collider task force
BeamParticles Class Reference

Wrapper class around energy-momentum 4-vectors defining the incident and scattered beams and the exchanged boson. More...

#include <BeamParticles.h>

Public Member Functions

 BeamParticles ()
 Default constructor. More...
 
 BeamParticles (const TLorentzVector &hadronBeam, const TLorentzVector &leptonBeam, const TLorentzVector &scatteredHadron, const TLorentzVector &scatteredLepton, const TLorentzVector &exchangedBoson)
 Constructor initialsing all particles. More...
 
virtual ~BeamParticles ()
 Destructor. More...
 
void Reset ()
 Sets all the 4-vectors' components to not-a-number. More...
 
void SetBeamHadron (const TLorentzVector &)
 
void SetBeamLepton (const TLorentzVector &)
 
void SetScatteredHadron (const TLorentzVector &)
 
void SetScatteredLepton (const TLorentzVector &)
 
void SetBoson (const TLorentzVector &)
 
const TLorentzVector & BeamHadron () const
 
const TLorentzVector & BeamLepton () const
 
const TLorentzVector & GetScatteredHadron () const
 
const TLorentzVector & ScatteredLepton () const
 
const TLorentzVector & GetBoson () const
 

Protected Attributes

TLorentzVector mBeamHadron
 Incident hadron beam. More...
 
TLorentzVector mBeamLepton
 Incident lepton beam. More...
 
TLorentzVector mScatteredHadron
 Scattered hadron beam. More...
 
TLorentzVector mScatteredLepton
 Scattered lepton beam. More...
 
TLorentzVector mBoson
 Exchanged boson. More...
 

Detailed Description

Wrapper class around energy-momentum 4-vectors defining the incident and scattered beams and the exchanged boson.

Definition at line 20 of file BeamParticles.h.

Constructor & Destructor Documentation

◆ BeamParticles() [1/2]

BeamParticles::BeamParticles ( )

Default constructor.

Initialises all vector components to not-a-number.

Definition at line 14 of file BeamParticles.cxx.

◆ BeamParticles() [2/2]

BeamParticles::BeamParticles ( const TLorentzVector &  hadronBeam,
const TLorentzVector &  leptonBeam,
const TLorentzVector &  scatteredHadron,
const TLorentzVector &  scatteredLepton,
const TLorentzVector &  exchangedBoson 
)

Constructor initialsing all particles.

Definition at line 18 of file BeamParticles.cxx.

◆ ~BeamParticles()

BeamParticles::~BeamParticles ( )
virtual

Destructor.

Definition at line 30 of file BeamParticles.cxx.

Member Function Documentation

◆ BeamHadron()

const TLorentzVector & BeamParticles::BeamHadron ( ) const
inline

Definition at line 77 of file BeamParticles.h.

◆ BeamLepton()

const TLorentzVector & BeamParticles::BeamLepton ( ) const
inline

Definition at line 81 of file BeamParticles.h.

◆ GetBoson()

const TLorentzVector & BeamParticles::GetBoson ( ) const
inline

Definition at line 93 of file BeamParticles.h.

◆ GetScatteredHadron()

const TLorentzVector & BeamParticles::GetScatteredHadron ( ) const
inline

Definition at line 85 of file BeamParticles.h.

◆ Reset()

void BeamParticles::Reset ( )

Sets all the 4-vectors' components to not-a-number.

Definition at line 33 of file BeamParticles.cxx.

◆ ScatteredLepton()

const TLorentzVector & BeamParticles::ScatteredLepton ( ) const
inline

Definition at line 89 of file BeamParticles.h.

◆ SetBeamHadron()

void BeamParticles::SetBeamHadron ( const TLorentzVector &  vec)
inline

Definition at line 97 of file BeamParticles.h.

◆ SetBeamLepton()

void BeamParticles::SetBeamLepton ( const TLorentzVector &  vec)
inline

Definition at line 101 of file BeamParticles.h.

◆ SetBoson()

void BeamParticles::SetBoson ( const TLorentzVector &  vec)
inline

Definition at line 113 of file BeamParticles.h.

◆ SetScatteredHadron()

void BeamParticles::SetScatteredHadron ( const TLorentzVector &  vec)
inline

Definition at line 105 of file BeamParticles.h.

◆ SetScatteredLepton()

void BeamParticles::SetScatteredLepton ( const TLorentzVector &  vec)
inline

Definition at line 109 of file BeamParticles.h.

Member Data Documentation

◆ mBeamHadron

TLorentzVector BeamParticles::mBeamHadron
protected

Incident hadron beam.

Definition at line 68 of file BeamParticles.h.

◆ mBeamLepton

TLorentzVector BeamParticles::mBeamLepton
protected

Incident lepton beam.

Definition at line 69 of file BeamParticles.h.

◆ mBoson

TLorentzVector BeamParticles::mBoson
protected

Exchanged boson.

Definition at line 72 of file BeamParticles.h.

◆ mScatteredHadron

TLorentzVector BeamParticles::mScatteredHadron
protected

Scattered hadron beam.

Definition at line 70 of file BeamParticles.h.

◆ mScatteredLepton

TLorentzVector BeamParticles::mScatteredLepton
protected

Scattered lepton beam.

Definition at line 71 of file BeamParticles.h.


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