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

| Rivet 3.1.9

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
11 class NeutralFinalState : public FinalState {
12 public:
13
15
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
32 DEFAULT_RIVET_PROJ_CLONE(NeutralFinalState);
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
Rivet::Event
Representation of a HepMC event, and enabler of Projection caching.
Definition Event.hh:22
Rivet::FinalState
Project out all final-state particles in an event. Probably the most important projection in Rivet!
Definition FinalState.hh:12
Rivet::NeutralFinalState
Project only neutral final state particles.
Definition NeutralFinalState.hh:11
Rivet::NeutralFinalState::compare
CmpState compare(const Projection &p) const
Compare projections.
Rivet::NeutralFinalState::NeutralFinalState
NeutralFinalState(const FinalState &fsp, double etmin=0 *GeV)
Construction from another FinalState.
Definition NeutralFinalState.hh:18
Rivet::NeutralFinalState::project
void project(const Event &e)
Apply the projection on the supplied event.
Rivet::NeutralFinalState::NeutralFinalState
NeutralFinalState(const Cut &c=Cuts::open())
Construction using Cuts object.
Definition NeutralFinalState.hh:26
Rivet::NeutralFinalState::DEFAULT_RIVET_PROJ_CLONE
DEFAULT_RIVET_PROJ_CLONE(NeutralFinalState)
Clone on the heap.
Rivet::ProjectionApplier::declare
const PROJ & declare(const PROJ &proj, const std::string &name)
Register a contained projection (user-facing version)
Definition ProjectionApplier.hh:170
Rivet::Projection
Base class for all Rivet projections.
Definition Projection.hh:29
Rivet::Projection::setName
void setName(const std::string &name)
Used by derived classes to set their name.
Definition Projection.hh:142
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