herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
f
g
h
i
l
m
o
p
r
s
t
u
w
z
Variables
Typedefs
a
b
c
d
h
i
j
k
l
m
o
p
s
t
v
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
c
d
e
h
i
m
o
p
r
s
t
u
v
w
x
Enumerations
Enumerator
Related Functions
b
c
d
e
f
g
h
k
m
o
p
s
t
Files
File List
File Members
All
Functions
Variables
Macros
Hadronization
CheckId.h
1
// -*- C++ -*-
2
//
3
// CheckId.h is a part of Herwig - A multi-purpose Monte Carlo event generator
4
// Copyright (C) 2002-2019 The Herwig Collaboration
5
//
6
// Herwig is licenced under version 3 of the GPL, see COPYING for details.
7
// Please respect the MCnet academic guidelines, see GUIDELINES for details.
8
//
9
//
10
#ifndef HERWIG_CheckId_H
11
#define HERWIG_CheckId_H
12
//
13
// This is the declaration of the CheckId class.
14
15
#include "
ThePEG/PDT/StandardMatchers.h
"
16
#include "ThePEG/PDT/ParticleData.h"
17
#include <ThePEG/PDT/EnumParticles.h>
18
#include "ThePEG/Repository/CurrentGenerator.h"
19
20
namespace
Herwig
{
21
22
using namespace
ThePEG
;
23
42
namespace
CheckId {
43
49
long
makeDiquarkID
(
long
id1,
long
id2,
long
pspin);
50
55
bool
canBeMeson
(
tcPDPtr
par1,
tcPDPtr
par2);
56
61
bool
canBeBaryon
(
tcPDPtr
par1,
tcPDPtr
par2 ,
tcPDPtr
par3 =
PDPtr
());
62
67
inline
bool
canBeHadron
(
tcPDPtr
par1,
tcPDPtr
par2 ,
tcPDPtr
par3 =
PDPtr
()) {
68
return
(!par3 &&
canBeMeson
(par1,par2)) ||
canBeBaryon
(par1,par2,par3);
69
}
70
71
80
bool
hasBottom
(
tcPDPtr
par1,
tcPDPtr
par2 =
PDPtr
(),
tcPDPtr
par3 =
PDPtr
());
89
bool
hasCharm
(
tcPDPtr
par1,
tcPDPtr
par2 =
PDPtr
(),
tcPDPtr
par3 =
PDPtr
());
94
bool
isExotic
(
tcPDPtr
par1,
tcPDPtr
par2 =
PDPtr
(),
tcPDPtr
par3 =
PDPtr
());
95
96
}
97
98
}
99
100
#endif
/* HERWIG_CheckId_H */
StandardMatchers.h
Herwig::CheckId::canBeMeson
bool canBeMeson(tcPDPtr par1, tcPDPtr par2)
Return true if the two particles in input can be the components of a meson; false otherwise.
Herwig::CheckId::makeDiquarkID
long makeDiquarkID(long id1, long id2, long pspin)
Return the id of the diquark (anti-diquark) made by the two quarks (antiquarks) of id specified in in...
Herwig::CheckId::isExotic
bool isExotic(tcPDPtr par1, tcPDPtr par2=PDPtr(), tcPDPtr par3=PDPtr())
Return true, if any of the possible input particle pointer is an exotic quark, e.g.
Herwig::CheckId::hasCharm
bool hasCharm(tcPDPtr par1, tcPDPtr par2=PDPtr(), tcPDPtr par3=PDPtr())
Return true if any of the possible three input particles has c-flavour; false otherwise....
Herwig::CheckId::canBeHadron
bool canBeHadron(tcPDPtr par1, tcPDPtr par2, tcPDPtr par3=PDPtr())
Return true if the two or three particles in input can be the components of a hadron; false otherwise...
Definition:
CheckId.h:67
Herwig::CheckId::hasBottom
bool hasBottom(tcPDPtr par1, tcPDPtr par2=PDPtr(), tcPDPtr par3=PDPtr())
Return true if any of the possible three input particles has b-flavour; false otherwise.
Herwig::CheckId::canBeBaryon
bool canBeBaryon(tcPDPtr par1, tcPDPtr par2, tcPDPtr par3=PDPtr())
Return true if the two or three particles in input can be the components of a baryon; false otherwise...
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG
ThePEG::tcPDPtr
ThePEG::Ptr< ParticleData >::transient_const_pointer tcPDPtr
ThePEG::PDPtr
ThePEG::Ptr< ParticleData >::pointer PDPtr
Generated on Thu Jun 20 2024 17:50:52 for Herwig by
1.9.6