rivet is hosted by Hepforge, IPPP Durham
Rivet 4.0.2
PromptFinalState.hh
1// -*- C++ -*-
2#ifndef RIVET_PromptFinalState_HH
3#define RIVET_PromptFinalState_HH
4
5#include "Rivet/Projections/FinalState.hh"
6#include "Rivet/Projections/PromptFinalState.fhh"
7
8namespace Rivet {
9
10
26 public:
27
30
32 PromptFinalState(TauDecaysAs taudecays=TauDecaysAs::NONPROMPT, MuDecaysAs mudecays=MuDecaysAs::NONPROMPT);
33
35 PromptFinalState(const Cut& c, TauDecaysAs taudecays=TauDecaysAs::NONPROMPT, MuDecaysAs mudecays=MuDecaysAs::NONPROMPT);
36
37 // Constructor from a FinalState
38 PromptFinalState(const FinalState& fsp, TauDecaysAs taudecays=TauDecaysAs::NONPROMPT, MuDecaysAs mudecays=MuDecaysAs::NONPROMPT);
39
40 // Constructor from a FinalState with an extra cut
41 PromptFinalState(const FinalState& fsp, const Cut& c, TauDecaysAs taudecays=TauDecaysAs::NONPROMPT, MuDecaysAs mudecays=MuDecaysAs::NONPROMPT);
42
45
47
49 using Projection::operator =;
50
51
53 void acceptMuonDecays(bool acc=true) { _mudecays = acc; }
55 void acceptTauDecays(bool acc=true) { _taudecays = acc; }
56
57
59 void project(const Event& e);
60
62 CmpState compare(const Projection& p) const;
63
64
65 protected:
66
67 bool _mudecays, _taudecays;
68
69 };
70
71
72}
73
74#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:25
void acceptTauDecays(bool acc=true)
Accept leptons from decays of prompt taus as themselves being prompt?
Definition PromptFinalState.hh:55
PromptFinalState(const Cut &c, TauDecaysAs taudecays=TauDecaysAs::NONPROMPT, MuDecaysAs mudecays=MuDecaysAs::NONPROMPT)
Constructor from a cut.
void project(const Event &e)
Apply the projection on the supplied event.
RIVET_DEFAULT_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:53
PromptFinalState(TauDecaysAs taudecays=TauDecaysAs::NONPROMPT, MuDecaysAs mudecays=MuDecaysAs::NONPROMPT)
Constructor without cuts.
Definition MC_CENT_PPB_Projections.hh:10