rivet is hosted by Hepforge, IPPP Durham
Rivet 4.0.0
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 {
21 setName("NeutralFinalState");
22 declare(fsp, "FS");
23 }
24
26 NeutralFinalState(const Cut& c=Cuts::open()) : _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
59#endif
Representation of a HepMC event, and enabler of Projection caching.
Definition Event.hh:22
Project out all final-state particles in an event. Probably the most important projection in Rivet!
Definition FinalState.hh:12
Project only neutral final state particles.
Definition NeutralFinalState.hh:11
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:26
const PROJ & declare(const PROJ &proj, const std::string &name) const
Register a contained projection (user-facing version)
Definition ProjectionApplier.hh:175
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:148
const Cut & open()
Fully open cut singleton, accepts everything.
Definition MC_CENT_PPB_Projections.hh:10