2 #ifndef RIVET_ClusteredPhotons_HH
3 #define RIVET_ClusteredPhotons_HH
5 #include "Rivet/Tools/Logging.hh"
6 #include "Rivet/Rivet.hh"
7 #include "Rivet/Particle.hh"
8 #include "Rivet/Event.hh"
9 #include "Rivet/Projection.hh"
10 #include "Rivet/Projections/FinalState.hh"
11 #include "Rivet/Projections/IdentifiedFinalState.hh"
void setName(const std::string &name)
Used by derived classes to set their name.
Definition: Projection.hh:120
Definition: MC_JetAnalysis.hh:9
IdentifiedFinalState & acceptId(PdgId pid)
Add an accepted particle ID.
Definition: IdentifiedFinalState.hh:50
Produce a final state which only contains specified particle IDs.
Definition: IdentifiedFinalState.hh:16
ClusteredPhotons(const FinalState &fs, const FinalState &signal, double dRmax)
Definition: ClusteredPhotons.hh:24
Find final state photons which in a cone around any particle in the "signal" final state...
Definition: ClusteredPhotons.hh:17
void project(const Event &e)
Apply the projection on the supplied event.
Definition: ClusteredPhotons.cc:23
int compare(const Projection &p) const
Compare projections.
Definition: ClusteredPhotons.cc:10
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
Base class for all Rivet projections.
Definition: Projection.hh:28
virtual const Projection * clone() const
Clone on the heap.
Definition: ClusteredPhotons.hh:36