2 #ifndef RIVET_Thrust_HH 3 #define RIVET_Thrust_HH 5 #include "Rivet/Projection.hh" 6 #include "Rivet/Projections/AxesDefinition.hh" 7 #include "Rivet/Projections/FinalState.hh" 8 #include "Rivet/Event.hh" 64 const vector<Particle> ps
65 = applyProjection<FinalState>(e,
"FS").particles();
79 double thrust()
const {
return _thrusts[0]; }
85 double oblateness()
const {
return _thrusts[1] - _thrusts[2]; }
114 void calc(
const vector<Particle>& fsparticles);
117 void calc(
const vector<FourMomentum>& fsmomenta);
120 void calc(
const vector<Vector3>& threeMomenta);
128 vector<double> _thrusts;
131 vector<Vector3> _thrustAxes;
136 void _calcThrust(
const vector<Vector3>& fsmomenta);
void setName(const std::string &name)
Used by derived classes to set their name.
Definition: Projection.hh:120
Definition: MC_JetAnalysis.hh:9
double thrustMinor() const
The thrust minor scalar, , (thrust along thrust minor axis).
Definition: Thrust.hh:83
const Vector3 & thrustMajorAxis() const
The thrust major axis (axis of max thrust perpendicular to thrust axis).
Definition: Thrust.hh:92
int compare(const Projection &p) const
Compare projections.
Definition: Thrust.hh:70
const Vector3 & axis1() const
AxesDefinition axis accessors.
Definition: Thrust.hh:98
Base class for projections which define a spatial basis.
Definition: AxesDefinition.hh:20
Thrust()
Constructor.
Definition: Thrust.hh:48
double oblateness() const
The oblateness, .
Definition: Thrust.hh:85
void calc(const FinalState &fs)
Manually calculate the thrust, without engaging the caching system.
Definition: Thrust.cc:10
void project(const Event &e)
Perform the projection on the Event.
Definition: Thrust.hh:63
Get the e+ e- thrust basis and the thrust, thrust major and thrust minor scalars. ...
Definition: Thrust.hh:44
Cmp< Projection > mkNamedPCmp(const Projection &otherparent, const std::string &pname) const
Definition: Projection.cc:51
Project out all final-state particles in an event. Probably the most important projection in Rivet! ...
Definition: FinalState.hh:14
const PROJ & addProjection(const PROJ &proj, const std::string &name)
Definition: ProjectionApplier.hh:113
double thrustMajor() const
The thrust major scalar, , (thrust along thrust major axis).
Definition: Thrust.hh:81
double thrust() const
Definition: Thrust.hh:79
const Vector3 & axis3() const
The least significant ("minor") axis.
Definition: Thrust.hh:100
virtual const Projection * clone() const
Clone on the heap.
Definition: Thrust.hh:56
const Vector3 & axis2() const
The 2nd most significant ("major") axis.
Definition: Thrust.hh:99
const Vector3 & thrustAxis() const
Definition: Thrust.hh:90
Base class for all Rivet projections.
Definition: Projection.hh:28
Three-dimensional specialisation of Vector.
Definition: Vector3.hh:26
const Vector3 & thrustMinorAxis() const
The thrust minor axis (axis perpendicular to thrust and thrust major).
Definition: Thrust.hh:94