2 #ifndef RIVET_SINGLEVALUEPROJECTION_HH 3 #define RIVET_SINGLEVALUEPROJECTION_HH 5 #include "Rivet/Projection.hh" 24 setName(
"SingleValueProjection");
void setName(const std::string &name)
Used by derived classes to set their name.
Definition: Projection.hh:133
Definition: ALICE_2010_I880049.cc:13
Base class for projections returning a single floating point value.
Definition: SingleValueProjection.hh:18
bool isSet() const
Returns true if the value has been set.
Definition: SingleValueProjection.hh:28
SingleValueProjection()
The default constructor.
Definition: SingleValueProjection.hh:23
double operator()() const
Return the single value.
Definition: SingleValueProjection.hh:33
Base class for all Rivet projections.
Definition: Projection.hh:29
void clear()
Unset the value.
Definition: SingleValueProjection.hh:47