rivet is hosted by Hepforge, IPPP Durham
Rivet 3.1.6
PromptFinalState.hh
1// -*- C++ -*-
2#ifndef RIVET_PromptFinalState_HH
3#define RIVET_PromptFinalState_HH
4
5#include "Rivet/Projections/FinalState.hh"
6
7namespace Rivet {
8
9
25 public:
26
28
29
31 PromptFinalState(bool accepttaudecays=false, bool acceptmudecays=false);
32
34 PromptFinalState(const Cut& c, bool accepttaudecays=false, bool acceptmudecays=false);
35
36 // Constructor from a FinalState
37 PromptFinalState(const FinalState& fsp, bool accepttaudecays=false, bool acceptmudecays=false);
38
39 // /// Constructor from a Cut and optional FinalState.
40 // PromptFinalState(const Cut& c, const FinalState& fsp=FinalState(), bool accepttaudecays, bool acceptmudecays);
41
44
46
48 void acceptMuonDecays(bool acc=true) { _acceptMuDecays = acc; }
50 void acceptTauDecays(bool acc=true) { _acceptTauDecays = acc; }
51
52
54 void project(const Event& e);
55
57 CmpState compare(const Projection& p) const;
58
59
60 private:
61
62 bool _acceptMuDecays, _acceptTauDecays;
63
64 };
65
66
67}
68
69#endif
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
Base class for all Rivet projections.
Definition: Projection.hh:29
Find final state particles directly connected to the hard process.
Definition: PromptFinalState.hh:24
PromptFinalState(const Cut &c, bool accepttaudecays=false, bool acceptmudecays=false)
Constructor from a Cut.
void acceptTauDecays(bool acc=true)
Accept leptons from decays of prompt taus as themselves being prompt?
Definition: PromptFinalState.hh:50
void project(const Event &e)
Apply the projection on the supplied event.
PromptFinalState(bool accepttaudecays=false, bool acceptmudecays=false)
Constructor without cuts.
DEFAULT_RIVET_PROJ_CLONE(PromptFinalState)
Clone on the heap.
CmpState compare(const Projection &p) const
Compare projections.
void acceptMuonDecays(bool acc=true)
Accept leptons from decays of prompt muons as themselves being prompt?
Definition: PromptFinalState.hh:48
double p(const ParticleBase &p)
Unbound function access to p.
Definition: ParticleBaseUtils.hh:653
Definition: MC_Cent_pPb.hh:10