Rivet: /Users/chrisg/software/rivet/include/Rivet/Projections/NonPromptFinalState.hh Source File

| Rivet 3.1.9

NonPromptFinalState.hh
1// -*- C++ -*-
2#ifndef RIVET_NonPromptFinalState_HH
3#define RIVET_NonPromptFinalState_HH
4
5#include "Rivet/Projections/FinalState.hh"
6
7namespace Rivet {
8
9
13 class NonPromptFinalState : public FinalState {
14 public:
15
17
18
19 // Constructor from a final state.
20 NonPromptFinalState(const FinalState& fsp, bool accepttaudecays=false, bool acceptmudecays=false);
21
23 NonPromptFinalState(const Cut& c, bool accepttaudecays=false, bool acceptmudecays=false);
24
25 // /// Constructor from a Cut and optional FinalState.
26 // NonPromptFinalState(const Cut& c, const FinalState& fsp=FinalState(),
27 // bool accepttaudecays=false, bool acceptmudecays=false);
28
30 DEFAULT_RIVET_PROJ_CLONE(NonPromptFinalState);
31
33
35 using Projection::operator =;
36
37
39 void acceptMuonDecays(bool acc=true) { _acceptMuDecays = acc; }
41 void acceptTauDecays(bool acc=true) { _acceptTauDecays = acc; }
42
43
45 void project(const Event& e);
46
48 CmpState compare(const Projection& p) const;
49
50
51 protected:
52
53 bool _acceptMuDecays, _acceptTauDecays;
54
55 };
56
57
58}
59
60#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::NonPromptFinalState
Find final state particles NOT directly connected to the hard process.
Definition NonPromptFinalState.hh:13
Rivet::NonPromptFinalState::DEFAULT_RIVET_PROJ_CLONE
DEFAULT_RIVET_PROJ_CLONE(NonPromptFinalState)
Clone on the heap.
Rivet::NonPromptFinalState::NonPromptFinalState
NonPromptFinalState(const Cut &c, bool accepttaudecays=false, bool acceptmudecays=false)
Constructor from a Cut (and implicit general FS).
Rivet::NonPromptFinalState::compare
CmpState compare(const Projection &p) const
Compare projections.
Rivet::NonPromptFinalState::acceptTauDecays
void acceptTauDecays(bool acc=true)
Treat particles from decays of prompt taus as non-prompt?
Definition NonPromptFinalState.hh:41
Rivet::NonPromptFinalState::acceptMuonDecays
void acceptMuonDecays(bool acc=true)
Treat particles from decays of prompt muons as non-prompt?
Definition NonPromptFinalState.hh:39
Rivet::NonPromptFinalState::project
void project(const Event &e)
Apply the projection on the supplied event.
Rivet::Projection
Base class for all Rivet projections.
Definition Projection.hh:29
Rivet::Kin::p
double p(const ParticleBase &p)
Unbound function access to p.
Definition ParticleBaseUtils.hh:684
Rivet
Definition MC_Cent_pPb.hh:10