2 #ifndef RIVET_TRIGGERPROJECTION_HH 3 #define RIVET_TRIGGERPROJECTION_HH 5 #include "Rivet/Projection.hh" void setName(const std::string &name)
Used by derived classes to set their name.
Definition: Projection.hh:142
Definition: MC_Cent_pPb.hh:10
virtual void project(const Event &e)
Definition: TriggerProjection.hh:40
bool operator()() const
Definition: TriggerProjection.hh:34
Representation of a HepMC event, and enabler of Projection caching.
Definition: Event.hh:22
Base class for projections returning a bool corresponding to a trigger.
Definition: TriggerProjection.hh:19
void fail()
Indicate that the event has failed the trigger.
Definition: TriggerProjection.hh:55
TriggerProjection()
The default constructor.
Definition: TriggerProjection.hh:24
DEFAULT_RIVET_PROJ_CLONE(TriggerProjection)
Clone on the heap.
Base class for all Rivet projections.
Definition: Projection.hh:29
virtual CmpState compare(const Projection &) const
Compare projections.
Definition: TriggerProjection.hh:50
void pass()
Indicate that the event has passed the trigger.
Definition: TriggerProjection.hh:45