rivet
is hosted by
Hepforge
,
IPPP Durham
Rivet home
Contur
Professor
YODA
MCplots
AGILe
Downloads
Analyses
Standard analyses
Analysis changelog
Writing an analysis
Analysis coverage & wishlists
General
No searches/HI
Searches
Heavy ion
Documentation
Manual & talk links
Getting started / tutorials
Rivet via Docker
Changelog
Doxygen code/API docs
Source code
Contact
Rivet
3.1.6
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
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
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:50
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:48
Rivet::Kin::p
double p(const ParticleBase &p)
Unbound function access to p.
Definition:
ParticleBaseUtils.hh:653
Rivet
Definition:
MC_Cent_pPb.hh:10
Generated on Fri May 13 2022 23:02:06 for Rivet by
1.9.4