Rivet
3.1.9
include
Rivet
Projections
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
24
class
PromptFinalState
:
public
FinalState
{
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
43
DEFAULT_RIVET_PROJ_CLONE
(
PromptFinalState
);
44
46
48
using
Projection::operator =;
49
50
52
void
acceptMuonDecays
(
bool
acc=
true
) { _acceptMuDecays = acc; }
54
void
acceptTauDecays
(
bool
acc=
true
) { _acceptTauDecays = acc; }
55
56
58
void
project
(
const
Event
& e);
59
61
CmpState
compare
(
const
Projection
&
p
)
const
;
62
63
64
protected
:
65
66
bool
_acceptMuDecays, _acceptTauDecays;
67
68
};
69
70
71
}
72
73
#endif
Rivet::Event
Representation of a HepMC event, and enabler of Projection caching.
Definition
Event.hh:22
Rivet::FinalState
Project out all final-state particles in an event. Probably the most important projection in Rivet!
Definition
FinalState.hh:12
Rivet::Projection
Base class for all Rivet projections.
Definition
Projection.hh:29
Rivet::PromptFinalState
Find final state particles directly connected to the hard process.
Definition
PromptFinalState.hh:24
Rivet::PromptFinalState::PromptFinalState
PromptFinalState(const Cut &c, bool accepttaudecays=false, bool acceptmudecays=false)
Constructor from a Cut.
Rivet::PromptFinalState::acceptTauDecays
void acceptTauDecays(bool acc=true)
Accept leptons from decays of prompt taus as themselves being prompt?
Definition
PromptFinalState.hh:54
Rivet::PromptFinalState::project
void project(const Event &e)
Apply the projection on the supplied event.
Rivet::PromptFinalState::PromptFinalState
PromptFinalState(bool accepttaudecays=false, bool acceptmudecays=false)
Constructor without cuts.
Rivet::PromptFinalState::DEFAULT_RIVET_PROJ_CLONE
DEFAULT_RIVET_PROJ_CLONE(PromptFinalState)
Clone on the heap.
Rivet::PromptFinalState::compare
CmpState compare(const Projection &p) const
Compare projections.
Rivet::PromptFinalState::acceptMuonDecays
void acceptMuonDecays(bool acc=true)
Accept leptons from decays of prompt muons as themselves being prompt?
Definition
PromptFinalState.hh:52
Rivet::Kin::p
double p(const ParticleBase &p)
Unbound function access to p.
Definition
ParticleBaseUtils.hh:684
Rivet
Definition
MC_Cent_pPb.hh:10
Generated on Sat Dec 2 2023 11:01:42 for Rivet by
1.9.7