Rivet: /Users/chrisg/software/rivet/include/Rivet/Projections/FinalPartons.hh Source File

| Rivet 3.1.9

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
18 DEFAULT_RIVET_PROJ_CLONE(FinalPartons);
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
Rivet::Event
Representation of a HepMC event, and enabler of Projection caching.
Definition Event.hh:22
Rivet::FinalPartons
Definition FinalPartons.hh:10
Rivet::FinalPartons::FinalPartons
FinalPartons(const Cut &c=Cuts::open())
Constructor.
Definition FinalPartons.hh:14
Rivet::FinalPartons::DEFAULT_RIVET_PROJ_CLONE
DEFAULT_RIVET_PROJ_CLONE(FinalPartons)
Clone method.
Rivet::FinalPartons::project
void project(const Event &e)
Do the calculation.
Rivet::FinalPartons::accept
bool accept(const Particle &p) const
Cut-applying method overload.
Rivet::FinalState
Project out all final-state particles in an event. Probably the most important projection in Rivet!
Definition FinalState.hh:12
Rivet::Particle
Particle representation, either from a HepMC::GenEvent or reconstructed.
Definition Particle.hh:53
Rivet::Kin::p
double p(const ParticleBase &p)
Unbound function access to p.
Definition ParticleBaseUtils.hh:684
Rivet::Cuts::open
const Cut & open()
Fully open cut singleton, accepts everything.
Rivet
Definition MC_Cent_pPb.hh:10