Rivet 3.1.9
UndressBeamLeptons.hh
1// -*- C++ -*-
2#ifndef RIVET_UndressBeamLeptons_HH
3#define RIVET_UndressBeamLeptons_HH
4
5#include "Rivet/Projections/Beam.hh"
6#include "Rivet/Projections/FinalState.hh"
7
8namespace Rivet {
9
10
13 class UndressBeamLeptons : public Beam {
14 public:
15
20 UndressBeamLeptons(double theta = 0.0): _thetamax(theta) {
21 setName("UndressBeamLeptons");
22 declare(FinalState(), "FS");
23 }
24
27
29 using Projection::operator =;
30
31
33 virtual void project(const Event& e);
34
35
36 protected:
37
39 virtual CmpState compare(const Projection & p) const;
40
42 double _thetamax;
43
44 };
45
46
47}
48
49#endif
Project out the incoming beams.
Definition Beam.hh:129
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
const PROJ & declare(const PROJ &proj, const std::string &name)
Register a contained projection (user-facing version)
Definition ProjectionApplier.hh:170
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:142
Project out the incoming beams, but subtract any colinear photons from lepton beams within a given co...
Definition UndressBeamLeptons.hh:13
UndressBeamLeptons(double theta=0.0)
Definition UndressBeamLeptons.hh:20
virtual CmpState compare(const Projection &p) const
Compare with other projections.
virtual void project(const Event &e)
Project on to the Event.
DEFAULT_RIVET_PROJ_CLONE(UndressBeamLeptons)
Clone on the heap.
double p(const ParticleBase &p)
Unbound function access to p.
Definition ParticleBaseUtils.hh:684
Definition MC_Cent_pPb.hh:10