JHUGen MELA  JHUGen v7.5.6, MELA v2.4.2
Matrix element calculations as used in JHUGen.
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 108 of file TCouplings.hh.

Constructor & Destructor Documentation

◆ VprimeCouplings() [1/2]

VprimeCouplings::VprimeCouplings ( )

Definition at line 389 of file TCouplings.cc.

389 { reset(); }

◆ VprimeCouplings() [2/2]

VprimeCouplings::VprimeCouplings ( VprimeCouplings const &  other)

Definition at line 390 of file TCouplings.cc.

390 { this->copy(other); }

◆ ~VprimeCouplings()

VprimeCouplings::~VprimeCouplings ( )
virtual

Definition at line 391 of file TCouplings.cc.

391 {}

Member Function Documentation

◆ copy()

void VprimeCouplings::copy ( VprimeCouplings const &  other)

Definition at line 404 of file TCouplings.cc.

404  {
405  for (int im=0; im<2; im++){
406  for (int ic=0; ic<SIZE_Vpff; ic++){
407  Zpffcoupl[ic][im] = (other.Zpffcoupl)[ic][im];
408  Wpffcoupl[ic][im] = (other.Wpffcoupl)[ic][im];
409  }
410  }
411 
412  M_Zprime = other.M_Zprime;
413  Ga_Zprime = other.Ga_Zprime;
414  M_Wprime = other.M_Wprime;
415  Ga_Wprime = other.Ga_Wprime;
416 }

◆ getRef()

VprimeCouplings * VprimeCouplings::getRef ( )

Definition at line 417 of file TCouplings.cc.

417 { return this; }

◆ reset()

void VprimeCouplings::reset ( )

Definition at line 393 of file TCouplings.cc.

393  {
394  for (int im=0; im<2; im++){
395  for (int ic = 0; ic < SIZE_Vpff; ic++){
396  Zpffcoupl[ic][im]=0;
397  Wpffcoupl[ic][im]=0;
398  }
399  }
400 
401  SetZPrimeMassWidth(-1, 0);
402  SetWPrimeMassWidth(-1, 0);
403 }

◆ SetVpffCouplings()

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

Definition at line 419 of file TCouplings.cc.

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

◆ SetWPrimeMassWidth()

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

Definition at line 443 of file TCouplings.cc.

443 { M_Wprime = inmass; Ga_Wprime = inwidth; }

◆ SetZPrimeMassWidth()

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

Definition at line 442 of file TCouplings.cc.

442 { M_Zprime = inmass; Ga_Zprime = inwidth; }

Member Data Documentation

◆ Ga_Wprime

double VprimeCouplings::Ga_Wprime

Definition at line 128 of file TCouplings.hh.

◆ Ga_Zprime

double VprimeCouplings::Ga_Zprime

Definition at line 126 of file TCouplings.hh.

◆ M_Wprime

double VprimeCouplings::M_Wprime

Definition at line 127 of file TCouplings.hh.

◆ M_Zprime

double VprimeCouplings::M_Zprime

Definition at line 125 of file TCouplings.hh.

◆ Wpffcoupl

double VprimeCouplings::Wpffcoupl[SIZE_Vpff][2]

Definition at line 123 of file TCouplings.hh.

◆ Zpffcoupl

double VprimeCouplings::Zpffcoupl[SIZE_Vpff][2]

Definition at line 122 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:443
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:127
VprimeCouplings::Ga_Wprime
double Ga_Wprime
Definition: TCouplings.hh:128
VprimeCouplings::M_Zprime
double M_Zprime
Definition: TCouplings.hh:125
VprimeCouplings::Ga_Zprime
double Ga_Zprime
Definition: TCouplings.hh:126
VprimeCouplings::Zpffcoupl
double Zpffcoupl[SIZE_Vpff][2]
Definition: TCouplings.hh:122
gHIGGS_Vp_NuE_right
@ gHIGGS_Vp_NuE_right
Definition: raw_couplings.txt:85
VprimeCouplings::SetZPrimeMassWidth
void SetZPrimeMassWidth(double inmass, double inwidth)
Definition: TCouplings.cc:442
VprimeCouplings::copy
void copy(VprimeCouplings const &other)
Definition: TCouplings.cc:404
SIZE_Vpff
@ SIZE_Vpff
Definition: raw_couplings.txt:100
VprimeCouplings::Wpffcoupl
double Wpffcoupl[SIZE_Vpff][2]
Definition: TCouplings.hh:123
MELAStreamHelpers::MELAerr
MELAOutputStreamer MELAerr
gHIGGS_Vp_Bot_left
@ gHIGGS_Vp_Bot_left
Definition: raw_couplings.txt:95
VprimeCouplings::reset
void reset()
Definition: TCouplings.cc:393
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