rivet is hosted by Hepforge, IPPP Durham
Rivet 3.1.6
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 void project(const Event& e);
22
23
24 protected:
25
27 bool accept(const Particle& p) const;
28
29 };
30
31
32}
33
34#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
DEFAULT_RIVET_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:53
double p(const ParticleBase &p)
Unbound function access to p.
Definition: ParticleBaseUtils.hh:653
const Cut & open()
Fully open cut singleton, accepts everything.
Definition: MC_Cent_pPb.hh:10