Rivet  3.1.2
ChargedFinalState.hh
1 // -*- C++ -*-
2 #ifndef RIVET_ChargedFinalState_HH
3 #define RIVET_ChargedFinalState_HH
4 
5 #include "Rivet/Projections/FinalState.hh"
6 
7 namespace Rivet {
8 
9 
11  class ChargedFinalState : public FinalState {
12  public:
13 
15 
16 
18  ChargedFinalState(const FinalState& fsp);
19 
21  ChargedFinalState(const Cut& c=Cuts::open());
22 
25 
27 
28 
30  void project(const Event& e);
31 
33  CmpState compare(const Projection& p) const;
34 
35  };
36 
37 
38 }
39 
40 
41 #endif
Definition: MC_Cent_pPb.hh:10
const Cut & open()
Fully open cut singleton, accepts everything.
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
CmpState compare(const Projection &p) const
Compare projections.
void project(const Event &e)
Apply the projection on the supplied event.
ChargedFinalState(const FinalState &fsp)
Construction from another FinalState.
Project only charged final state particles.
Definition: ChargedFinalState.hh:11
Base class for all Rivet projections.
Definition: Projection.hh:29
DEFAULT_RIVET_PROJ_CLONE(ChargedFinalState)
Clone on the heap.