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

#include <BeamParticles.h>

Public Member Functions

 BeamParticles ()
 
 BeamParticles (const TLorentzVector &hadronBeam, const TLorentzVector &leptonBeam, const TLorentzVector &scatteredHadron, const TLorentzVector &scatteredLepton, const TLorentzVector &exchangedBoson)
 
virtual ~BeamParticles ()
 
void Reset ()
 
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.
 
TLorentzVector mBeamLepton
 Incident lepton beam.
 
TLorentzVector mScatteredHadron
 Scattered hadron beam.
 
TLorentzVector mScatteredLepton
 Scattered lepton beam.
 
TLorentzVector mBoson
 Exchanged boson.
 

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::BeamParticles ( )

Default constructor. Initialises all vector components to not-a-number.

Definition at line 14 of file BeamParticles.cxx.

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 ( )
virtual

Destructor.

Definition at line 30 of file BeamParticles.cxx.

Member Function Documentation

void BeamParticles::Reset ( )

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

Definition at line 33 of file BeamParticles.cxx.


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