JHUGen MELA  JHUGen v7.5.6, MELA v2.4.2
Matrix element calculations as used in JHUGen.
TVar.cc
Go to the documentation of this file.
1 #include <cassert>
2 #include "TVar.hh"
3 #include "TUtilHelpers.hh"
4 
5 
7  if (temp==TVar::HSMHiggs) return TString("HSMHiggs");
8  else if (temp==TVar::H0minus) return TString("H0minus");
9  else if (temp==TVar::H0hplus) return TString("H0hplus");
10  else if (temp==TVar::H0_g1prime2) return TString("H0_g1prime2");
11  else if (temp==TVar::H0_Zgs) return TString("H0_Zgs");
12  else if (temp==TVar::H0_gsgs) return TString("H0_gsgs");
13  else if (temp==TVar::H0_Zgs_PS) return TString("H0_Zgs_PS");
14  else if (temp==TVar::H0_gsgs_PS) return TString("H0_gsgs_PS");
15  else if (temp==TVar::H0_Zgsg1prime2) return TString("H0_Zgsg1prime2");
16 
17  else if (temp==TVar::D_g1g4) return TString("D_g1g4");
18  else if (temp==TVar::D_g1g4_pi_2) return TString("D_g1g4_pi_2");
19  else if (temp==TVar::D_g1g2) return TString("D_g1g2");
20  else if (temp==TVar::D_g1g2_pi_2) return TString("D_g1g2_pi_2");
21  else if (temp==TVar::D_g1g1prime2) return TString("D_g1g1prime2");
22  else if (temp==TVar::D_zzzg) return TString("D_zzzg");
23  else if (temp==TVar::D_zzgg) return TString("D_zzgg");
24  else if (temp==TVar::D_zzzg_PS) return TString("D_zzzg_PS");
25  else if (temp==TVar::D_zzgg_PS) return TString("D_zzgg_PS");
26  else if (temp==TVar::D_zzzg_g1prime2) return TString("D_zzzg_g1prime2");
27  else if (temp==TVar::D_zzzg_g1prime2_pi_2) return TString("D_zzzg_g1prime2_pi_2");
28 
29  else if (temp==TVar::H1minus) return TString("H1minus");
30  else if (temp==TVar::H1plus) return TString("H1plus");
31 
32  else if (temp==TVar::H2_g1) return TString("H2_g1");
33  else if (temp==TVar::H2_g2) return TString("H2_g2");
34  else if (temp==TVar::H2_g3) return TString("H2_g3");
35  else if (temp==TVar::H2_g4) return TString("H2_g4");
36  else if (temp==TVar::H2_g5) return TString("H2_g5");
37  else if (temp==TVar::H2_g1g5) return TString("H2_g1g5");
38  else if (temp==TVar::H2_g6) return TString("H2_g6");
39  else if (temp==TVar::H2_g7) return TString("H2_g7");
40  else if (temp==TVar::H2_g8) return TString("H2_g8");
41  else if (temp==TVar::H2_g9) return TString("H2_g9");
42  else if (temp==TVar::H2_g10) return TString("H2_g10");
43 
44  else if (temp==TVar::bkgGammaGamma) return TString("bkgGammaGamma");
45  else if (temp==TVar::bkgZGamma) return TString("bkgZGamma");
46  else if (temp==TVar::bkgZJets) return TString("bkgZJets");
47  else if (temp==TVar::bkgZZ) return TString("bkgZZ");
48  else if (temp==TVar::bkgWW) return TString("bkgWW");
49  else if (temp==TVar::bkgWWZZ) return TString("bkgWWZZ");
50  else if (temp==TVar::bkgZZ_SMHiggs) return TString("bkgZZ_SMHiggs");
51  else if (temp==TVar::bkgWW_SMHiggs) return TString("bkgWW_SMHiggs");
52  else if (temp==TVar::bkgWWZZ_SMHiggs) return TString("bkgWWZZ_SMHiggs");
53  else if (temp==TVar::HSMHiggs_WWZZ) return TString("HSMHiggs_WWZZ");
54 
55  else if (temp==TVar::D_gg10) return TString("D_gg10");
56 
57  else if (temp==TVar::SelfDefine_spin0) return TString("SelfDefine_spin0");
58  else if (temp==TVar::SelfDefine_spin1) return TString("SelfDefine_spin1");
59  else if (temp==TVar::SelfDefine_spin2) return TString("SelfDefine_spin2");
60 
61  else return TString("Unknown");
62 }
63 
65  if (temp==TVar::ZZGG) return TString("ZZGG");
66  else if (temp==TVar::ZZQQB) return TString("ZZQQB");
67  else if (temp==TVar::ZZQQB_STU) return TString("ZZQQB_STU");
68  else if (temp==TVar::ZZINDEPENDENT) return TString("ZZINDEPENDENT");
69 
70  else if (temp==TVar::ttH) return TString("ttH");
71  else if (temp==TVar::bbH) return TString("bbH");
72 
73  else if (temp==TVar::JQCD) return TString("JQCD");
74 
75  else if (temp==TVar::JJQCD) return TString("JJQCD");
76  else if (temp==TVar::JJVBF) return TString("JJVBF");
77  else if (temp==TVar::JJEW) return TString("JJEW");
78  else if (temp==TVar::JJEWQCD) return TString("JJEWQCD");
79  else if (temp==TVar::Had_ZH) return TString("Had_ZH");
80  else if (temp==TVar::Had_WH) return TString("Had_WH");
81  else if (temp==TVar::Lep_ZH) return TString("Lep_ZH");
82  else if (temp==TVar::Lep_WH) return TString("Lep_WH");
83 
84  else if (temp==TVar::ZZQQB_S) return TString("ZZQQB_S");
85  else if (temp==TVar::JJQCD_S) return TString("JJQCD_S");
86  else if (temp==TVar::JJVBF_S) return TString("JJVBF_S");
87  else if (temp==TVar::JJEW_S) return TString("JJEW_S");
88  else if (temp==TVar::JJEWQCD_S) return TString("JJEWQCD_S");
89  else if (temp==TVar::Had_ZH_S) return TString("Had_ZH_S");
90  else if (temp==TVar::Had_WH_S) return TString("Had_WH_S");
91  else if (temp==TVar::Lep_ZH_S) return TString("Lep_ZH_S");
92  else if (temp==TVar::Lep_WH_S) return TString("Lep_WH_S");
93 
94  else if (temp==TVar::ZZQQB_TU) return TString("ZZQQB_TU");
95  else if (temp==TVar::JJQCD_TU) return TString("JJQCD_TU");
96  else if (temp==TVar::JJVBF_TU) return TString("JJVBF_TU");
97  else if (temp==TVar::JJEW_TU) return TString("JJEW_TU");
98  else if (temp==TVar::JJEWQCD_TU) return TString("JJEWQCD_TU");
99  else if (temp==TVar::Had_ZH_TU) return TString("Had_ZH_TU");
100  else if (temp==TVar::Had_WH_TU) return TString("Had_WH_TU");
101  else if (temp==TVar::Lep_ZH_TU) return TString("Lep_ZH_TU");
102  else if (temp==TVar::Lep_WH_TU) return TString("Lep_WH_TU");
103 
104  else if (temp==TVar::GammaH) return TString("GammaH");
105 
106  else return TString("Unknown");
107 }
108 
110  if (temp==TVar::MCFM) return TString("MCFM");
111  else if (temp==TVar::JHUGen) return TString("JHUGen");
112  else if (temp==TVar::ANALYTICAL) return TString("ANALYTICAL");
113  else if (temp==TVar::MADGRAPH) return TString("MADGRAPH");
114 
115  else return TString("Unknown");
116 }
117 
119  std::string res = _melapkgpathstr_;
120  return res;
121 }
122 std::string TVar::GetMELAPath(){
123  std::string res = _melapkgpathstr_;
125  return res;
126 }
TVar::H1plus
@ H1plus
Definition: TVar.hh:148
TVar::bkgWW_SMHiggs
@ bkgWW_SMHiggs
Definition: TVar.hh:170
TVar::JJVBF
@ JJVBF
Definition: TVar.hh:72
TVar::D_zzzg_g1prime2
@ D_zzzg_g1prime2
Definition: TVar.hh:144
TVar::Had_ZH_S
@ Had_ZH_S
Definition: TVar.hh:86
TVar::D_g1g4
@ D_g1g4
Definition: TVar.hh:138
TVar::H0_Zgs_PS
@ H0_Zgs_PS
Definition: TVar.hh:131
TVar::JJEWQCD
@ JJEWQCD
Definition: TVar.hh:74
TVar::H0minus
@ H0minus
Definition: TVar.hh:128
TVar::bkgGammaGamma
@ bkgGammaGamma
Definition: TVar.hh:162
TVar::Lep_WH_S
@ Lep_WH_S
Definition: TVar.hh:89
TVar::ProductionName
TString ProductionName(TVar::Production temp)
Definition: TVar.cc:64
TVar::GammaH
@ GammaH
Definition: TVar.hh:102
TVar::H2_g10
@ H2_g10
Definition: TVar.hh:160
TVar::SelfDefine_spin2
@ SelfDefine_spin2
Definition: TVar.hh:181
TVar::bkgZJets
@ bkgZJets
Definition: TVar.hh:164
TVar::ZZINDEPENDENT
@ ZZINDEPENDENT
Definition: TVar.hh:65
TVar::Process
Process
Definition: TVar.hh:124
TVar::JJQCD
@ JJQCD
Definition: TVar.hh:71
TVar::HSMHiggs_WWZZ
@ HSMHiggs_WWZZ
Definition: TVar.hh:173
TVar::ZZQQB
@ ZZQQB
Definition: TVar.hh:63
TVar::H1minus
@ H1minus
Definition: TVar.hh:147
TVar::D_g1g4_pi_2
@ D_g1g4_pi_2
Definition: TVar.hh:139
TVar::D_zzzg_PS
@ D_zzzg_PS
Definition: TVar.hh:142
TVar::D_zzzg_g1prime2_pi_2
@ D_zzzg_g1prime2_pi_2
Definition: TVar.hh:145
TVar::MADGRAPH
@ MADGRAPH
Definition: TVar.hh:59
TVar::H2_g7
@ H2_g7
Definition: TVar.hh:157
TVar::ZZQQB_TU
@ ZZQQB_TU
Definition: TVar.hh:92
TVar::ZZGG
@ ZZGG
Definition: TVar.hh:62
TVar::ProcessName
TString ProcessName(TVar::Process temp)
Definition: TVar.cc:6
TVar::H0_Zgsg1prime2
@ H0_Zgsg1prime2
Definition: TVar.hh:129
TVar::bkgWW
@ bkgWW
Definition: TVar.hh:166
TVar::D_zzgg
@ D_zzgg
Definition: TVar.hh:141
TVar::D_zzgg_PS
@ D_zzgg_PS
Definition: TVar.hh:143
TVar::H2_g5
@ H2_g5
Definition: TVar.hh:154
TVar::bkgWWZZ
@ bkgWWZZ
Definition: TVar.hh:167
TVar::H0_g1prime2
@ H0_g1prime2
Definition: TVar.hh:126
TVar::H2_g3
@ H2_g3
Definition: TVar.hh:152
TVar::H0_gsgs_PS
@ H0_gsgs_PS
Definition: TVar.hh:133
TVar::HSMHiggs
@ HSMHiggs
Definition: TVar.hh:125
TVar::H2_g2
@ H2_g2
Definition: TVar.hh:151
TVar::Lep_WH_TU
@ Lep_WH_TU
Definition: TVar.hh:100
TVar::bkgZGamma
@ bkgZGamma
Definition: TVar.hh:163
TVar::GetMELAPath
std::string GetMELAPath()
Definition: TVar.cc:122
TVar::H2_g9
@ H2_g9
Definition: TVar.hh:159
TVar::H0_gsgs
@ H0_gsgs
Definition: TVar.hh:132
TVar::D_gg10
@ D_gg10
Definition: TVar.hh:176
TVar::GetMELAPath_NoEnvExpansion
std::string GetMELAPath_NoEnvExpansion()
Definition: TVar.cc:118
TVar::Had_ZH_TU
@ Had_ZH_TU
Definition: TVar.hh:97
TVar::MCFM
@ MCFM
Definition: TVar.hh:56
TVar::Lep_ZH_S
@ Lep_ZH_S
Definition: TVar.hh:88
TVar::D_g1g2
@ D_g1g2
Definition: TVar.hh:136
TVar::JJEW_S
@ JJEW_S
Definition: TVar.hh:84
TUtilHelpers::ExpandEnvironmentVariables
void ExpandEnvironmentVariables(std::string &str)
Definition: TUtilHelpers.cc:6
TVar::MatrixElement
MatrixElement
Definition: TVar.hh:55
TVar::ZZQQB_STU
@ ZZQQB_STU
Definition: TVar.hh:64
TVar::JJVBF_TU
@ JJVBF_TU
Definition: TVar.hh:94
TVar::H2_g1
@ H2_g1
Definition: TVar.hh:150
TVar::bkgWWZZ_SMHiggs
@ bkgWWZZ_SMHiggs
Definition: TVar.hh:171
TVar::JHUGen
@ JHUGen
Definition: TVar.hh:57
TVar::Had_ZH
@ Had_ZH
Definition: TVar.hh:75
TVar::H2_g1g5
@ H2_g1g5
Definition: TVar.hh:155
TVar::H2_g8
@ H2_g8
Definition: TVar.hh:158
TVar::Had_WH_S
@ Had_WH_S
Definition: TVar.hh:87
TVar::JJEW
@ JJEW
Definition: TVar.hh:73
TVar::D_g1g1prime2
@ D_g1g1prime2
Definition: TVar.hh:135
TUtilHelpers.hh
TVar::bkgZZ_SMHiggs
@ bkgZZ_SMHiggs
Definition: TVar.hh:169
TVar::bkgZZ
@ bkgZZ
Definition: TVar.hh:165
TVar::Had_WH_TU
@ Had_WH_TU
Definition: TVar.hh:98
TVar::H0_Zgs
@ H0_Zgs
Definition: TVar.hh:130
TVar::ttH
@ ttH
Definition: TVar.hh:67
TVar::SelfDefine_spin0
@ SelfDefine_spin0
Definition: TVar.hh:179
TVar::JQCD
@ JQCD
Definition: TVar.hh:69
TVar.hh
TVar::ANALYTICAL
@ ANALYTICAL
Definition: TVar.hh:58
TVar::H2_g6
@ H2_g6
Definition: TVar.hh:156
TVar::Lep_ZH
@ Lep_ZH
Definition: TVar.hh:77
TVar::ZZQQB_S
@ ZZQQB_S
Definition: TVar.hh:81
TVar::JJEWQCD_S
@ JJEWQCD_S
Definition: TVar.hh:85
TVar::D_zzzg
@ D_zzzg
Definition: TVar.hh:140
TVar::H2_g4
@ H2_g4
Definition: TVar.hh:153
TVar::JJEWQCD_TU
@ JJEWQCD_TU
Definition: TVar.hh:96
TVar::D_g1g2_pi_2
@ D_g1g2_pi_2
Definition: TVar.hh:137
_melapkgpathstr_
#define _melapkgpathstr_
Definition: TVar.hh:10
TVar::Had_WH
@ Had_WH
Definition: TVar.hh:76
TVar::JJEW_TU
@ JJEW_TU
Definition: TVar.hh:95
TVar::Production
Production
Definition: TVar.hh:61
TVar::JJVBF_S
@ JJVBF_S
Definition: TVar.hh:83
TVar::Lep_WH
@ Lep_WH
Definition: TVar.hh:78
TVar::JJQCD_TU
@ JJQCD_TU
Definition: TVar.hh:93
TVar::SelfDefine_spin1
@ SelfDefine_spin1
Definition: TVar.hh:180
TVar::MatrixElementName
TString MatrixElementName(TVar::MatrixElement temp)
Definition: TVar.cc:109
TVar::H0hplus
@ H0hplus
Definition: TVar.hh:127
TVar::bbH
@ bbH
Definition: TVar.hh:68
TVar::JJQCD_S
@ JJQCD_S
Definition: TVar.hh:82
TVar::Lep_ZH_TU
@ Lep_ZH_TU
Definition: TVar.hh:99