Rivet  3.1.3
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 
8 namespace 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
void setName(const std::string &name)
Used by derived classes to set their name.
Definition: Projection.hh:142
Definition: MC_Cent_pPb.hh:10
DEFAULT_RIVET_PROJ_CLONE(UndressBeamLeptons)
Clone on the heap.
Representation of a HepMC event, and enabler of Projection caching.
Definition: Event.hh:22
UndressBeamLeptons(double theta=0.0)
Definition: UndressBeamLeptons.hh:20
Project out the incoming beams, but subtract any colinear photons from lepton beams within a given co...
Definition: UndressBeamLeptons.hh:13
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
Project out the incoming beams.
Definition: Beam.hh:129
Base class for all Rivet projections.
Definition: Projection.hh:29
virtual void project(const Event &e)
Project on to the Event.