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
Models
Susy
RPV
RPVhelper.h
1
#ifndef HERWIG_RPV_HELPER_H
2
#define HERWIG_RPV_HELPER_H
3
4
namespace
Herwig
{
5
6
namespace
RPV_helper {
7
8
unsigned
int
neutralinoIndex(
long
id
) {
9
if
(
id
> 1000000) {
10
return
id
<1000025 ?
id
-1000022 : (
id
-1000005)/10;
11
}
12
else
if
(abs(
id
)<=16) {
13
return
(abs(
id
)-4)/2;
14
}
15
else
{
16
return
id
-13;
17
}
18
}
19
20
unsigned
int
charginoIndex(
long
id
) {
21
return
abs(
id
)>1000000 ? (abs(
id
)-1000024)/13 : (abs(
id
)-7)/2;
22
}
23
24
}
25
26
}
27
28
#endif
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
Generated on Thu Jun 20 2024 17:50:53 for Herwig by
1.9.6