herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
RPVhelper.h
1#ifndef HERWIG_RPV_HELPER_H
2#define HERWIG_RPV_HELPER_H
3
4namespace Herwig {
5
6namespace 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
-*- C++ -*-