rivet is hosted by Hepforge, IPPP Durham
Rivet  2.7.0
FinalPartons.hh
1 // -*- C++ -*-
2 #ifndef RIVET_FinalPartons_HH
3 #define RIVET_FinalPartons_HH
4 
5 #include "Rivet/Projections/FinalState.hh"
6 
7 namespace Rivet {
8 
9 
10  class FinalPartons : public FinalState {
11  public:
12 
14  FinalPartons(const Cut& c=Cuts::open())
15  : FinalState(c) { }
16 
19 
21  void project(const Event& e);
22 
23 
24  protected:
25 
27  bool accept(const Particle& p) const;
28 
29  };
30 
31 
32 }
33 
34 #endif
Definition: ALICE_2010_I880049.cc:13
Particle representation, either from a HepMC::GenEvent or reconstructed.
Definition: Particle.hh:18
FinalPartons(const Cut &c=Cuts::open())
Constructor.
Definition: FinalPartons.hh:14
Definition: Event.hh:22
DEFAULT_RIVET_PROJ_CLONE(FinalPartons)
Clone method.
const Cut & open()
Fully open cut singleton, accepts everything.
Definition: Cuts.cc:81
Definition: FinalPartons.hh:10
void project(const Event &e)
Do the calculation.
Definition: FinalPartons.cc:32
Project out all final-state particles in an event. Probably the most important projection in Rivet! ...
Definition: FinalState.hh:12
bool accept(const Particle &p) const
Cut-applying method overload.
Definition: FinalPartons.cc:9