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.cxx
Go to the documentation of this file.
1 
11 
12 #include <cmath>
13 
15  Reset();
16 }
17 
18 BeamParticles::BeamParticles(const TLorentzVector& hadronBeam,
19  const TLorentzVector& leptonBeam,
20  const TLorentzVector& scatteredHadron,
21  const TLorentzVector& scatteredLepton,
22  const TLorentzVector& exchangedBoson)
23 : mBeamHadron(hadronBeam)
24 , mBeamLepton(leptonBeam)
25 , mScatteredHadron(scatteredHadron)
26 , mScatteredLepton(scatteredLepton)
27 , mBoson(exchangedBoson) {
28 }
29 
31 }
32 
34  mBeamHadron.SetXYZT(NAN, NAN, NAN, NAN);
35  mBeamLepton.SetXYZT(NAN, NAN, NAN, NAN);
36  mScatteredHadron.SetXYZT(NAN, NAN, NAN, NAN);
37  mScatteredLepton.SetXYZT(NAN, NAN, NAN, NAN);
38  mBoson.SetXYZT(NAN, NAN, NAN, NAN);
39 }
TLorentzVector mBeamHadron
Incident hadron beam.
Definition: BeamParticles.h:68
virtual ~BeamParticles()
TLorentzVector mScatteredHadron
Scattered hadron beam.
Definition: BeamParticles.h:70
TLorentzVector mScatteredLepton
Scattered lepton beam.
Definition: BeamParticles.h:71
TLorentzVector mBeamLepton
Incident lepton beam.
Definition: BeamParticles.h:69
TLorentzVector mBoson
Exchanged boson.
Definition: BeamParticles.h:72