Rivet  1.8.0
ChargedLeptons.hh
1 // -*- C++ -*-
2 #ifndef RIVET_ChargedLeptons_HH
3 #define RIVET_ChargedLeptons_HH
4 
5 #include "Rivet/Projection.hh"
6 #include "Rivet/Projections/ChargedFinalState.hh"
7 #include "Rivet/Particle.hh"
8 #include "Rivet/Event.hh"
9 
10 namespace Rivet {
11 
12 
16  class ChargedLeptons : public FinalState {
17  public:
18 
21  {
22  setName("ChargedLeptons");
23  addProjection(ChargedFinalState(fsp), "ChFS");
24  }
25 
27  virtual const Projection* clone() const {
28  return new ChargedLeptons(*this);
29  }
30 
31  protected:
32 
34  void project(const Event& evt);
35 
37  int compare(const Projection& other) const;
38 
39  public:
40 
42  const ParticleVector& chargedLeptons() const {
43  return _theParticles;
44  }
45 
46  };
47 
48 
49 }
50 
51 #endif