rivet is hosted by Hepforge, IPPP Durham
Rivet 4.0.0
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
12 class UndressBeamLeptons : public Beam {
13 public:
14
15 using Beam::operator=;
16
21 UndressBeamLeptons(double theta = 0.0): _thetamax(theta) {
22 setName("UndressBeamLeptons");
23 declare(FinalState(), "FS");
24 }
25
28
30 using Projection::operator =;
31
32
34 virtual void project(const Event& e);
35
36
37 protected:
38
40 virtual CmpState compare(const Projection & p) const;
41
43 double _thetamax;
44
45 };
46
47
48}
49
50#endif
Project out the incoming beams.
Definition Beam.hh:15
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) 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
Incoming lepton beams with collinear photons subtracted.
Definition UndressBeamLeptons.hh:12
RIVET_DEFAULT_PROJ_CLONE(UndressBeamLeptons)
Clone on the heap.
UndressBeamLeptons(double theta=0.0)
Constructor with an angle as argument.
Definition UndressBeamLeptons.hh:21
virtual CmpState compare(const Projection &p) const
Compare with other projections.
virtual void project(const Event &e)
Project on to the Event.
Definition MC_CENT_PPB_Projections.hh:10