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
InitialQuarks.hh
1
// -*- C++ -*-
2
#ifndef RIVET_InitialQuarks_HH
3
#define RIVET_InitialQuarks_HH
4
5
#ifndef I_KNOW_THE_INITIAL_QUARKS_PROJECTION_IS_DODGY_BUT_NEED_TO_USE_IT
6
#warning "This is a dangerous projection for a few specific old analyses. Not for general use!"
7
#endif
8
9
#include "Rivet/Projection.hh"
10
#include "Rivet/Particle.hh"
11
#include "Rivet/Event.hh"
12
13
namespace
Rivet
{
14
15
21
class
InitialQuarks
:
public
Projection
{
22
public
:
23
25
26
28
InitialQuarks
() {
29
setName
(
"InitialQuarks"
);
30
}
31
33
DEFAULT_RIVET_PROJ_CLONE
(
InitialQuarks
);
34
36
38
virtual
const
Particles
&
particles
()
const
{
return
_theParticles; }
39
41
virtual
bool
empty
()
const
{
return
_theParticles.empty(); }
42
43
44
protected
:
45
47
virtual
void
project
(
const
Event
& e);
48
50
virtual
CmpState
compare
(
const
Projection
&
p
)
const
;
51
52
53
protected
:
54
56
Particles
_theParticles;
57
58
};
59
60
}
61
62
63
#endif
Rivet::Event
Representation of a HepMC event, and enabler of Projection caching.
Definition:
Event.hh:22
Rivet::InitialQuarks
Project out quarks from the hard process in events.
Definition:
InitialQuarks.hh:21
Rivet::InitialQuarks::compare
virtual CmpState compare(const Projection &p) const
Compare projections.
Rivet::InitialQuarks::project
virtual void project(const Event &e)
Apply the projection to the event.
Rivet::InitialQuarks::particles
virtual const Particles & particles() const
Access the projected final-state particles.
Definition:
InitialQuarks.hh:38
Rivet::InitialQuarks::empty
virtual bool empty() const
Is this final state empty?
Definition:
InitialQuarks.hh:41
Rivet::InitialQuarks::DEFAULT_RIVET_PROJ_CLONE
DEFAULT_RIVET_PROJ_CLONE(InitialQuarks)
Clone on the heap.
Rivet::InitialQuarks::InitialQuarks
InitialQuarks()
Definition:
InitialQuarks.hh:28
Rivet::Particles
Specialised vector of Particle objects.
Definition:
Particle.hh:25
Rivet::Projection
Base class for all Rivet projections.
Definition:
Projection.hh:29
Rivet::Projection::setName
void setName(const std::string &name)
Used by derived classes to set their name.
Definition:
Projection.hh:142
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