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

| Rivet 3.1.9

VisibleFinalState.hh
1// -*- C++ -*-
2#ifndef RIVET_VisibleFinalState_HH
3#define RIVET_VisibleFinalState_HH
4
5#include "Rivet/Tools/Logging.hh"
6#include "Rivet/Config/RivetCommon.hh"
7#include "Rivet/Particle.hh"
8#include "Rivet/Event.hh"
9#include "Rivet/Projection.hh"
10#include "Rivet/Projections/FinalState.hh"
11
12namespace Rivet {
13
14
16 class VisibleFinalState : public FinalState {
17 public:
18
20
21
23 VisibleFinalState(const Cut& c=Cuts::open())
24 {
25 setName("VisibleFinalState");
26 declare(FinalState(c), "FS");
27 }
28
30 VisibleFinalState(const FinalState& fsp)
31 {
32 setName("VisibleFinalState");
33 declare(fsp, "FS");
34 }
35
37 DEFAULT_RIVET_PROJ_CLONE(VisibleFinalState);
38
40
42 using Projection::operator =;
43
44
46 void project(const Event& e);
47
49 CmpState compare(const Projection& p) const;
50
51 };
52
53
54}
55
56#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::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::VisibleFinalState
Final state modifier excluding particles which are not experimentally visible.
Definition VisibleFinalState.hh:16
Rivet::VisibleFinalState::VisibleFinalState
VisibleFinalState(const Cut &c=Cuts::open())
Constructor with min and max pseudorapidity and min (in GeV).
Definition VisibleFinalState.hh:23
Rivet::VisibleFinalState::DEFAULT_RIVET_PROJ_CLONE
DEFAULT_RIVET_PROJ_CLONE(VisibleFinalState)
Clone on the heap.
Rivet::VisibleFinalState::project
void project(const Event &e)
Apply the projection on the supplied event.
Rivet::VisibleFinalState::VisibleFinalState
VisibleFinalState(const FinalState &fsp)
Constructor with specific FinalState.
Definition VisibleFinalState.hh:30
Rivet::VisibleFinalState::compare
CmpState compare(const Projection &p) const
Compare projections.
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