Rivet  1.8.3
NonHadronicFinalState.hh
1 // -*- C++ -*-
2 #ifndef RIVET_NonHadronicFinalState_HH
3 #define RIVET_NonHadronicFinalState_HH
4 
5 #include "Rivet/Tools/Logging.hh"
6 #include "Rivet/Rivet.hh"
7 #include "Rivet/Particle.hh"
8 #include "Rivet/Event.hh"
9 #include "Rivet/Projection.hh"
10 #include "Rivet/Projections/FinalState.hh"
11 
12 
13 namespace Rivet {
14 
17 
18  public:
19 
22  {
23  setName("NonHadronicFinalState");
24  addProjection(fsp, "FS");
25  }
26 
27  NonHadronicFinalState(double mineta = -MAXRAPIDITY,
28  double maxeta = MAXRAPIDITY,
29  double minpt = 0.0*GeV)
30  {
31  setName("NonHadronicFinalState");
32  addProjection(FinalState(mineta, maxeta, minpt), "FS");
33  }
34 
36  virtual const Projection* clone() const {
37  return new NonHadronicFinalState(*this);
38  }
39 
40  protected:
41 
43  void project(const Event& e);
44 
46  int compare(const Projection& p) const;
47 
48  };
49 
50 
51 }
52 
53 
54 #endif