rivet is hosted by Hepforge, IPPP Durham
Rivet 4.0.0
FinalPartons.hh
1// -*- C++ -*-
2#ifndef RIVET_FinalPartons_HH
3#define RIVET_FinalPartons_HH
4
5#include "Rivet/Projections/FinalState.hh"
6
7namespace Rivet {
8
9
10 class FinalPartons : public FinalState {
11 public:
12
14 FinalPartons(const Cut& c=Cuts::open())
15 : FinalState(c) { }
16
19
21 using Projection::operator =;
22
24 void project(const Event& e);
25
26
27 protected:
28
30 bool accept(const Particle& p) const;
31
32 };
33
34
35}
36
37#endif
Representation of a HepMC event, and enabler of Projection caching.
Definition Event.hh:22
Definition FinalPartons.hh:10
FinalPartons(const Cut &c=Cuts::open())
Constructor.
Definition FinalPartons.hh:14
RIVET_DEFAULT_PROJ_CLONE(FinalPartons)
Clone method.
void project(const Event &e)
Do the calculation.
bool accept(const Particle &p) const
Cut-applying method overload.
Project out all final-state particles in an event. Probably the most important projection in Rivet!
Definition FinalState.hh:12
Particle representation, either from a HepMC::GenEvent or reconstructed.
Definition Particle.hh:45
const Cut & open()
Fully open cut singleton, accepts everything.
Definition MC_CENT_PPB_Projections.hh:10