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
SpinTwoCouplings Class Reference

#include <TCouplings.hh>

Public Member Functions

 SpinTwoCouplings ()
 
 SpinTwoCouplings (SpinTwoCouplings const &other)
 
virtual ~SpinTwoCouplings ()
 
void reset ()
 
void copy (SpinTwoCouplings const &other)
 
SpinTwoCouplingsgetRef ()
 
void SetGVVCouplings (unsigned int index, double c_real, double c_imag)
 
void SetGVVpCouplings (unsigned int index, double c_real, double c_imag)
 
void SetGVpVpCouplings (unsigned int index, double c_real, double c_imag)
 
void SetGQQCouplings (unsigned int index, double c_real, double c_imag)
 
void SetGGGCouplings (unsigned int index, double c_real, double c_imag)
 

Public Attributes

double Gvvcoupl [SIZE_GVV][2]
 
double Gvvpcoupl [SIZE_GVV][2]
 
double Gvpvpcoupl [SIZE_GVV][2]
 
double Gqqcoupl [SIZE_GQQ][2]
 
double Gggcoupl [SIZE_GGG][2]
 

Detailed Description

Definition at line 82 of file TCouplings.hh.

Constructor & Destructor Documentation

◆ SpinTwoCouplings() [1/2]

SpinTwoCouplings::SpinTwoCouplings ( )

Definition at line 313 of file TCouplings.cc.

313 { reset(); }

◆ SpinTwoCouplings() [2/2]

SpinTwoCouplings::SpinTwoCouplings ( SpinTwoCouplings const &  other)

Definition at line 314 of file TCouplings.cc.

314 { this->copy(other); }

◆ ~SpinTwoCouplings()

SpinTwoCouplings::~SpinTwoCouplings ( )
virtual

Definition at line 315 of file TCouplings.cc.

315 {}

Member Function Documentation

◆ copy()

void SpinTwoCouplings::copy ( SpinTwoCouplings const &  other)

Definition at line 334 of file TCouplings.cc.

334  {
335  for (int im=0; im<2; im++){
336  for (int ic=0; ic<SIZE_GVV; ic++) Gvvcoupl[ic][im] = (other.Gvvcoupl)[ic][im];
337  for (int ic=0; ic<SIZE_GGG; ic++) Gggcoupl[ic][im] = (other.Gggcoupl)[ic][im];
338  for (int ic=0; ic<SIZE_GQQ; ic++) Gqqcoupl[ic][im] = (other.Gqqcoupl)[ic][im];
339  }
340 }

◆ getRef()

SpinTwoCouplings * SpinTwoCouplings::getRef ( )

Definition at line 341 of file TCouplings.cc.

341 { return this; }

◆ reset()

void SpinTwoCouplings::reset ( )

Definition at line 317 of file TCouplings.cc.

317  {
318  for (int im=0; im<2; im++){
319  for (int ic=0; ic<SIZE_GVV; ic++){
320  Gvvcoupl[ic][im] = 0;
321  Gvvpcoupl[ic][im] = 0;
322  Gvpvpcoupl[ic][im] = 0;
323  }
324  for (int ic=0; ic<SIZE_GGG; ic++) Gggcoupl[ic][im] = 0;
325  for (int ic=0; ic<SIZE_GQQ; ic++) Gqqcoupl[ic][im] = 0;
326  }
327  /*
328  Gggcoupl[0][0]=1.0;
329  Gqqcoupl[0][0]=1.0;
330  Gqqcoupl[1][0]=1.0;
331  Gvvcoupl[0][0]=1.0;
332  */
333 }

◆ SetGGGCouplings()

void SpinTwoCouplings::SetGGGCouplings ( unsigned int  index,
double  c_real,
double  c_imag 
)

Definition at line 371 of file TCouplings.cc.

371  {
372  if (index>=SIZE_GGG) MELAerr << "Cannot set index " << index << " for the Gggcoupl, out of range." << endl;
373  else{
374  Gggcoupl[index][0] = c_real;
375  Gggcoupl[index][1] = c_imag;
376  }
377 }

◆ SetGQQCouplings()

void SpinTwoCouplings::SetGQQCouplings ( unsigned int  index,
double  c_real,
double  c_imag 
)

Definition at line 364 of file TCouplings.cc.

364  {
365  if (index>=SIZE_GQQ) MELAerr << "Cannot set index " << index << " for the Gqqcoupl, out of range." << endl;
366  else{
367  Gqqcoupl[index][0] = c_real;
368  Gqqcoupl[index][1] = c_imag;
369  }
370 }

◆ SetGVpVpCouplings()

void SpinTwoCouplings::SetGVpVpCouplings ( unsigned int  index,
double  c_real,
double  c_imag 
)

Definition at line 357 of file TCouplings.cc.

357  {
358  if (index>=SIZE_GVV) MELAerr << "Cannot set index " << index << " for the Gvpvpcoupl, out of range." << endl;
359  else{
360  Gvpvpcoupl[index][0] = c_real;
361  Gvpvpcoupl[index][1] = c_imag;
362  }
363 }

◆ SetGVVCouplings()

void SpinTwoCouplings::SetGVVCouplings ( unsigned int  index,
double  c_real,
double  c_imag 
)

Definition at line 343 of file TCouplings.cc.

343  {
344  if (index>=SIZE_GVV) MELAerr << "Cannot set index " << index << " for the Gvvcoupl, out of range." << endl;
345  else{
346  Gvvcoupl[index][0] = c_real;
347  Gvvcoupl[index][1] = c_imag;
348  }
349 }

◆ SetGVVpCouplings()

void SpinTwoCouplings::SetGVVpCouplings ( unsigned int  index,
double  c_real,
double  c_imag 
)

Definition at line 350 of file TCouplings.cc.

350  {
351  if (index>=SIZE_GVV) MELAerr << "Cannot set index " << index << " for the Gvvpcoupl, out of range." << endl;
352  else{
353  Gvvpcoupl[index][0] = c_real;
354  Gvvpcoupl[index][1] = c_imag;
355  }
356 }

Member Data Documentation

◆ Gggcoupl

double SpinTwoCouplings::Gggcoupl[SIZE_GGG][2]

Definition at line 102 of file TCouplings.hh.

◆ Gqqcoupl

double SpinTwoCouplings::Gqqcoupl[SIZE_GQQ][2]

Definition at line 101 of file TCouplings.hh.

◆ Gvpvpcoupl

double SpinTwoCouplings::Gvpvpcoupl[SIZE_GVV][2]

Definition at line 100 of file TCouplings.hh.

◆ Gvvcoupl

double SpinTwoCouplings::Gvvcoupl[SIZE_GVV][2]

Definition at line 98 of file TCouplings.hh.

◆ Gvvpcoupl

double SpinTwoCouplings::Gvvpcoupl[SIZE_GVV][2]

Definition at line 99 of file TCouplings.hh.


The documentation for this class was generated from the following files:
SIZE_GVV
@ SIZE_GVV
Definition: raw_couplings.txt:158
SIZE_GGG
@ SIZE_GGG
Definition: raw_couplings.txt:131
SpinTwoCouplings::Gvpvpcoupl
double Gvpvpcoupl[SIZE_GVV][2]
Definition: TCouplings.hh:100
SpinTwoCouplings::reset
void reset()
Definition: TCouplings.cc:317
SpinTwoCouplings::copy
void copy(SpinTwoCouplings const &other)
Definition: TCouplings.cc:334
MELAStreamHelpers::MELAerr
MELAOutputStreamer MELAerr
SpinTwoCouplings::Gvvcoupl
double Gvvcoupl[SIZE_GVV][2]
Definition: TCouplings.hh:98
SpinTwoCouplings::Gqqcoupl
double Gqqcoupl[SIZE_GQQ][2]
Definition: TCouplings.hh:101
SpinTwoCouplings::Gvvpcoupl
double Gvvpcoupl[SIZE_GVV][2]
Definition: TCouplings.hh:99
SpinTwoCouplings::Gggcoupl
double Gggcoupl[SIZE_GGG][2]
Definition: TCouplings.hh:102
SIZE_GQQ
@ SIZE_GQQ
Definition: raw_couplings.txt:121