5 #include "Rivet/Projection.hh" 6 #include "Rivet/Event.hh" 7 #include "Rivet/Particle.hh" 8 #include "Rivet/Math/LorentzTrans.hh" 17 ParticlePair
beams(
const Event& e);
33 return sqrtS(beams.first.momentum(), beams.second.momentum());
143 const ParticlePair&
beams()
const {
return _theBeams; }
196 virtual int compare(
const Projection&)
const {
return EQUIVALENT; }
199 ParticlePair _theBeams;
void setName(const std::string &name)
Used by derived classes to set their name.
Definition: Projection.hh:133
Definition: ALICE_2010_I880049.cc:13
Vector3 cmsBetaVec(const FourMomentum &pa, const FourMomentum &pb)
Get the Lorentz boost to the beam centre-of-mass system (CMS) from a pair of beam momenta...
Definition: Beam.cc:66
double sqrtS() const
Get centre of mass energy, .
Definition: Beam.hh:150
FourMomentum cmsBoostVec(const FourMomentum &pa, const FourMomentum &pb)
Get the Lorentz boost to the beam centre-of-mass system (CMS) from a pair of beam momenta...
Definition: Beam.hh:54
ParticlePair beams(const Event &e)
Get beam particles from an event.
Definition: Beam.cc:9
Vector3 acmsBetaVec(const FourMomentum &pa, const FourMomentum &pb)
Definition: Beam.cc:72
virtual void project(const Event &e)
Project on to the Event.
Definition: Beam.cc:123
LorentzTransform cmsTransform() const
Get the Lorentz transform to the beam centre-of-mass.
Definition: Beam.hh:156
PdgIdPair pids(const ParticlePair &pp)
Definition: ParticleUtils.hh:735
double sqrtS(const FourMomentum &pa, const FourMomentum &pb)
Get beam centre-of-mass energy from a pair of beam momenta.
Definition: Beam.cc:35
double asqrtS() const
Get per-nucleon centre of mass energy, .
Definition: Beam.hh:171
const ParticlePair & beams() const
The pair of beam particles in the current collision.
Definition: Beam.hh:143
Vector3 acmsGammaVec(const FourMomentum &pa, const FourMomentum &pb)
Definition: Beam.cc:91
Beam()
Default (and only) constructor.
Definition: Beam.hh:133
Vector3 cmsGammaVec(const FourMomentum &pa, const FourMomentum &pb)
Get the Lorentz boost to the beam centre-of-mass system (CMS) from a pair of beam momenta...
Definition: Beam.cc:84
Vector3 cmsBetaVec() const
Get the beta factor vector for the Lorentz boost to the beam centre-of-mass.
Definition: Beam.hh:159
FourMomentum acmsBoostVec(const FourMomentum &pa, const FourMomentum &pb)
Get the Lorentz boost to the beam centre-of-mass system (CMS) from a pair of beam momenta...
Definition: Beam.cc:55
FourVector pv() const
Get the beam interaction primary vertex (PV) position.
Definition: Beam.cc:129
double asqrtS(const FourMomentum &pa, const FourMomentum &pb)
Definition: Beam.cc:45
Vector3 acmsGammaVec() const
Get the Lorentz boost to the per-nucleon beam centre-of-mass.
Definition: Beam.hh:177
PdgIdPair beamIds(const ParticlePair &beams)
Definition: Beam.hh:21
FourMomentum cmsBoostVec() const
Get the Lorentz boost to the beam centre-of-mass.
Definition: Beam.hh:153
Specialisation of VectorN to a general (non-momentum) Lorentz 4-vector.
Definition: Vector4.hh:22
LorentzTransform acmsTransform(const FourMomentum &pa, const FourMomentum &pb)
Definition: Beam.cc:108
LorentzTransform cmsTransform(const FourMomentum &pa, const FourMomentum &pb)
Get the Lorentz transformation to the beam centre-of-mass system (CMS) from a pair of beam momenta...
Definition: Beam.cc:103
PdgIdPair beamIds() const
Definition: Beam.hh:147
Project out the incoming beams.
Definition: Beam.hh:129
Vector3 acmsBetaVec() const
Get the Lorentz boost to the per-nucleon beam centre-of-mass.
Definition: Beam.hh:174
LorentzTransform acmsTransform() const
Get the Lorentz transform to the per-nucleon beam centre-of-mass.
Definition: Beam.hh:180
Vector3 cmsGammaVec() const
Get the gamma factor vector for the Lorentz boost to the beam centre-of-mass.
Definition: Beam.hh:162
Base class for all Rivet projections.
Definition: Projection.hh:29
Three-dimensional specialisation of Vector.
Definition: Vector3.hh:26
Specialized version of the FourVector with momentum/energy functionality.
Definition: Vector4.hh:301
DEFAULT_RIVET_PROJ_CLONE(Beam)
Clone on the heap.