rivet is hosted by Hepforge, IPPP Durham
Rivet  2.7.0
PromptFinalState.hh
1 // -*- C++ -*-
2 #ifndef RIVET_PromptFinalState_HH
3 #define RIVET_PromptFinalState_HH
4 
5 #include "Rivet/Projections/FinalState.hh"
6 
7 namespace Rivet {
8 
9 
22  class PromptFinalState : public FinalState {
23  public:
24 
26 
27 
29  PromptFinalState(bool accepttaudecays=false, bool acceptmudecays=false);
30 
32  PromptFinalState(const Cut& c, bool accepttaudecays=false, bool acceptmudecays=false);
33 
34  // Constructor from a FinalState
35  PromptFinalState(const FinalState& fsp, bool accepttaudecays=false, bool acceptmudecays=false);
36 
37  // /// Constructor from a Cut and optional FinalState.
38  // PromptFinalState(const Cut& c, const FinalState& fsp=FinalState(), bool accepttaudecays, bool acceptmudecays);
39 
42 
44 
46  void acceptMuonDecays(bool acc=true) { _acceptMuDecays = acc; }
48  void acceptTauDecays(bool acc=true) { _acceptTauDecays = acc; }
49 
50 
52  void project(const Event& e);
53 
55  int compare(const Projection& p) const;
56 
57 
58  private:
59 
60  bool _acceptMuDecays, _acceptTauDecays;
61 
62  };
63 
64 
65 }
66 
67 #endif
Definition: ALICE_2010_I880049.cc:13
void project(const Event &e)
Apply the projection on the supplied event.
Definition: PromptFinalState.cc:38
void acceptMuonDecays(bool acc=true)
Accept leptons from decays of prompt muons as themselves being prompt?
Definition: PromptFinalState.hh:46
PromptFinalState(bool accepttaudecays=false, bool acceptmudecays=false)
Constructor without cuts.
Definition: PromptFinalState.cc:7
Definition: Event.hh:22
void acceptTauDecays(bool acc=true)
Accept leptons from decays of prompt taus as themselves being prompt?
Definition: PromptFinalState.hh:48
int compare(const Projection &p) const
Compare projections.
Definition: PromptFinalState.cc:30
DEFAULT_RIVET_PROJ_CLONE(PromptFinalState)
Clone on the heap.
Project out all final-state particles in an event. Probably the most important projection in Rivet! ...
Definition: FinalState.hh:12
Base class for all Rivet projections.
Definition: Projection.hh:29
Find final state particles directly connected to the hard process.
Definition: PromptFinalState.hh:22