rivet is hosted by Hepforge, IPPP Durham
Rivet 3.1.6
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
28
30 virtual void project(const Event& e);
31
32
33 private:
34
36 virtual CmpState compare(const Projection & p) const;
37
39 double _thetamax;
40
41 };
42
43
44}
45
46#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 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:653
Definition: MC_Cent_pPb.hh:10