JHUGen MELA  v2.4.1
Matrix element calculations as used in JHUGen. MELA is an important tool that was used for the Higgs boson discovery and for precise measurements of its structure and interactions. Please see the website https://spin.pha.jhu.edu/ and papers cited there for more details, and kindly cite those papers when using this code.
Public Member Functions | Public Attributes | List of all members
VprimeCouplings Class Reference

#include <TCouplings.hh>

Public Member Functions

 VprimeCouplings ()
 
 VprimeCouplings (VprimeCouplings const &other)
 
virtual ~VprimeCouplings ()
 
void reset ()
 
void copy (VprimeCouplings const &other)
 
VprimeCouplingsgetRef ()
 
void SetVpffCouplings (unsigned int index, double c_real, double c_imag, bool setWpff=false, int whichResonance=1)
 
void SetZPrimeMassWidth (double inmass, double inwidth)
 
void SetWPrimeMassWidth (double inmass, double inwidth)
 

Public Attributes

double Zpffcoupl [SIZE_Vpff][2]
 
double Wpffcoupl [SIZE_Vpff][2]
 
double M_Zprime
 
double Ga_Zprime
 
double M_Wprime
 
double Ga_Wprime
 

Detailed Description

Definition at line 105 of file TCouplings.hh.

Constructor & Destructor Documentation

◆ VprimeCouplings() [1/2]

VprimeCouplings::VprimeCouplings ( )

Definition at line 381 of file TCouplings.cc.

381 { reset(); }

◆ VprimeCouplings() [2/2]

VprimeCouplings::VprimeCouplings ( VprimeCouplings const &  other)

Definition at line 382 of file TCouplings.cc.

382 { this->copy(other); }

◆ ~VprimeCouplings()

VprimeCouplings::~VprimeCouplings ( )
virtual

Definition at line 383 of file TCouplings.cc.

383 {}

Member Function Documentation

◆ copy()

void VprimeCouplings::copy ( VprimeCouplings const &  other)

Definition at line 396 of file TCouplings.cc.

396  {
397  for (int im=0; im<2; im++){
398  for (int ic=0; ic<SIZE_Vpff; ic++){
399  Zpffcoupl[ic][im] = (other.Zpffcoupl)[ic][im];
400  Wpffcoupl[ic][im] = (other.Wpffcoupl)[ic][im];
401  }
402  }
403 
404  M_Zprime = other.M_Zprime;
405  Ga_Zprime = other.Ga_Zprime;
406  M_Wprime = other.M_Wprime;
407  Ga_Wprime = other.Ga_Wprime;
408 }

◆ getRef()

VprimeCouplings * VprimeCouplings::getRef ( )

Definition at line 409 of file TCouplings.cc.

409 { return this; }

◆ reset()

void VprimeCouplings::reset ( )

Definition at line 385 of file TCouplings.cc.

385  {
386  for (int im=0; im<2; im++){
387  for (int ic = 0; ic < SIZE_Vpff; ic++){
388  Zpffcoupl[ic][im]=0;
389  Wpffcoupl[ic][im]=0;
390  }
391  }
392 
393  SetZPrimeMassWidth(-1, 0);
394  SetWPrimeMassWidth(-1, 0);
395 }

◆ SetVpffCouplings()

void VprimeCouplings::SetVpffCouplings ( unsigned int  index,
double  c_real,
double  c_imag,
bool  setWpff = false,
int  whichResonance = 1 
)

Definition at line 411 of file TCouplings.cc.

411  {
412  if (whichResonance!=1){ MELAerr << "VprimeCouplings::SetVpffCouplings: Contact terms are only for the first resonance" << endl; }
413  else if (index>=SIZE_Vpff){ MELAerr << "VprimeCouplings::SetVpffCouplings: Cannot set index " << index << ", out of range for the type requested." << endl; }
414  else{
415  if (!setWpff){
416  Zpffcoupl[index][0] = c_real;
417  Zpffcoupl[index][1] = c_imag;
418  }
419  else{
420  if (
421  (index == gHIGGS_Vp_NuE_left || index == gHIGGS_Vp_NuE_right
422  || index == gHIGGS_Vp_Dn_left || index == gHIGGS_Vp_Dn_right
423  || index == gHIGGS_Vp_Str_left || index == gHIGGS_Vp_Str_right
424  || index == gHIGGS_Vp_Bot_left || index == gHIGGS_Vp_Bot_right
425  ) && (c_real!=0. || c_imag!=0.)
426  ) MELAerr << "No W' contact terms for neutrino, down, strange, or bottom; use the lepton or up-quark versions instead!" << endl;
427  else{
428  Wpffcoupl[index][0] = c_real;
429  Wpffcoupl[index][1] = c_imag;
430  }
431  }
432  }
433 }

◆ SetWPrimeMassWidth()

void VprimeCouplings::SetWPrimeMassWidth ( double  inmass,
double  inwidth 
)

Definition at line 435 of file TCouplings.cc.

435 { M_Wprime = inmass; Ga_Wprime = inwidth; }

◆ SetZPrimeMassWidth()

void VprimeCouplings::SetZPrimeMassWidth ( double  inmass,
double  inwidth 
)

Definition at line 434 of file TCouplings.cc.

434 { M_Zprime = inmass; Ga_Zprime = inwidth; }

Member Data Documentation

◆ Ga_Wprime

double VprimeCouplings::Ga_Wprime

Definition at line 125 of file TCouplings.hh.

◆ Ga_Zprime

double VprimeCouplings::Ga_Zprime

Definition at line 123 of file TCouplings.hh.

◆ M_Wprime

double VprimeCouplings::M_Wprime

Definition at line 124 of file TCouplings.hh.

◆ M_Zprime

double VprimeCouplings::M_Zprime

Definition at line 122 of file TCouplings.hh.

◆ Wpffcoupl

double VprimeCouplings::Wpffcoupl[SIZE_Vpff][2]

Definition at line 120 of file TCouplings.hh.

◆ Zpffcoupl

double VprimeCouplings::Zpffcoupl[SIZE_Vpff][2]

Definition at line 119 of file TCouplings.hh.


The documentation for this class was generated from the following files:
VprimeCouplings::SetWPrimeMassWidth
void SetWPrimeMassWidth(double inmass, double inwidth)
Definition: TCouplings.cc:435
gHIGGS_Vp_Dn_left
@ gHIGGS_Vp_Dn_left
Definition: raw_couplings.txt:87
gHIGGS_Vp_Dn_right
@ gHIGGS_Vp_Dn_right
Definition: raw_couplings.txt:88
gHIGGS_Vp_NuE_left
@ gHIGGS_Vp_NuE_left
Definition: raw_couplings.txt:84
VprimeCouplings::M_Wprime
double M_Wprime
Definition: TCouplings.hh:124
VprimeCouplings::Ga_Wprime
double Ga_Wprime
Definition: TCouplings.hh:125
VprimeCouplings::M_Zprime
double M_Zprime
Definition: TCouplings.hh:122
VprimeCouplings::Ga_Zprime
double Ga_Zprime
Definition: TCouplings.hh:123
VprimeCouplings::Zpffcoupl
double Zpffcoupl[SIZE_Vpff][2]
Definition: TCouplings.hh:119
gHIGGS_Vp_NuE_right
@ gHIGGS_Vp_NuE_right
Definition: raw_couplings.txt:85
VprimeCouplings::SetZPrimeMassWidth
void SetZPrimeMassWidth(double inmass, double inwidth)
Definition: TCouplings.cc:434
VprimeCouplings::copy
void copy(VprimeCouplings const &other)
Definition: TCouplings.cc:396
SIZE_Vpff
@ SIZE_Vpff
Definition: raw_couplings.txt:100
VprimeCouplings::Wpffcoupl
double Wpffcoupl[SIZE_Vpff][2]
Definition: TCouplings.hh:120
MELAStreamHelpers::MELAerr
MELAOutputStreamer MELAerr
gHIGGS_Vp_Bot_left
@ gHIGGS_Vp_Bot_left
Definition: raw_couplings.txt:95
VprimeCouplings::reset
void reset()
Definition: TCouplings.cc:385
gHIGGS_Vp_Str_right
@ gHIGGS_Vp_Str_right
Definition: raw_couplings.txt:92
gHIGGS_Vp_Str_left
@ gHIGGS_Vp_Str_left
Definition: raw_couplings.txt:91
gHIGGS_Vp_Bot_right
@ gHIGGS_Vp_Bot_right
Definition: raw_couplings.txt:96