2 #ifndef RIVET_TotalVisibleMomentum_HH 3 #define RIVET_TotalVisibleMomentum_HH 5 #include "Rivet/Rivet.hh" 6 #include "Rivet/Projection.hh" 7 #include "Rivet/Projections/FinalState.hh" 8 #include "Rivet/Particle.hh" 9 #include "Rivet/Event.hh" 23 setName(
"TotalVisibleMomentum");
25 getLog() << Log::WARNING <<
"TotalVisibleMomentum projection is deprecated: " 26 <<
"please use the MissingMomentum projection instead." << endl;
void setName(const std::string &name)
Used by derived classes to set their name.
Definition: Projection.hh:120
Definition: MC_JetAnalysis.hh:9
void project(const Event &e)
Apply the projection to the event.
Definition: TotalVisibleMomentum.cc:14
TotalVisibleMomentum(const FinalState &fsp)
Constructor. Make sure you supply an appropriately vetoed FS!
Definition: TotalVisibleMomentum.hh:21
FourMomentum & momentum()
The projected four-momentum vector.
Definition: TotalVisibleMomentum.hh:37
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
Get the total energy vector, allowing missing etc. to be calculated.
Definition: TotalVisibleMomentum.hh:16
virtual const Projection * clone() const
Clone on the heap.
Definition: TotalVisibleMomentum.hh:30
Base class for all Rivet projections.
Definition: Projection.hh:28
double scalarET() const
The projected scalar transverse energy.
Definition: TotalVisibleMomentum.hh:43
Specialized version of the FourVector with momentum/energy functionality.
Definition: Vector4.hh:324
Log & getLog() const
Get a Log object based on the getName() property of the calling projection object.
Definition: Projection.hh:114
const FourMomentum & momentum() const
The projected four-momentum vector.
Definition: TotalVisibleMomentum.hh:40
int compare(const Projection &p) const
Compare projections.
Definition: TotalVisibleMomentum.cc:9