Rivet API documentation

Rivet 4.1.3
NeutralFinalState.hh
1// -*- C++ -*-
2#ifndef RIVET_NeutralFinalState_HH
3#define RIVET_NeutralFinalState_HH
4
5#include "Rivet/Projections/FinalState.hh"
6
7namespace Rivet {
8
9
12 public:
13
16
18 NeutralFinalState(const FinalState& fsp, double etmin = 0 * GeV)
19 : _Etmin(etmin) {
20 setName("NeutralFinalState");
21 declare(fsp, "FS");
22 }
23
25 NeutralFinalState(const Cut& c = Cuts::open())
26 : _Etmin(0.0 * GeV) {
27 setName("NeutralFinalState");
28 declare(FinalState(c), "FS");
29 }
30
33
35
37 using Projection::operator=;
38
39
41 void project(const Event& e);
42
44 CmpState compare(const Projection& p) const;
45
46
47 protected:
48
51 double _Etmin;
52 };
53
54
55}
56
57
58#endif
Representation of a HepMC event, and enabler of Projection caching.
Definition Event.hh:22
FinalState(const Cut &c=Cuts::OPEN)
Construction using Cuts object.
CmpState compare(const Projection &p) const
Compare projections.
NeutralFinalState(const FinalState &fsp, double etmin=0 *GeV)
Construction from another FinalState.
Definition NeutralFinalState.hh:18
RIVET_DEFAULT_PROJ_CLONE(NeutralFinalState)
Clone on the heap.
void project(const Event &e)
Apply the projection on the supplied event.
NeutralFinalState(const Cut &c=Cuts::open())
Construction using Cuts object.
Definition NeutralFinalState.hh:25
const PROJ & declare(const PROJ &proj, const std::string &name) const
Register a contained projection (user-facing version).
Definition ProjectionApplier.hh:205
Base class for all Rivet projections.
Definition Projection.hh:29
void setName(const std::string &name)
Used by derived classes to set their name.
Definition Projection.hh:146
double p(const ParticleBase &p)
Unbound function access to p.
Definition ParticleBaseUtils.hh:819
const Cut & open()
Fully open cut singleton, accepts everything.
Definition LHCbCommon.hh:9