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

#include <TCouplings.hh>

Public Member Functions

 SpinOneCouplings ()
 
 SpinOneCouplings (SpinOneCouplings const &other)
 
virtual ~SpinOneCouplings ()
 
void reset ()
 
void copy (SpinOneCouplings const &other)
 
SpinOneCouplingsgetRef ()
 
void SetZVVCouplings (unsigned int index, double c_real, double c_imag)
 
void SetZQQCouplings (unsigned int index, double c_real, double c_imag)
 

Public Attributes

double Zvvcoupl [SIZE_ZVV][2]
 
double Zqqcoupl [SIZE_ZQQ][2]
 

Detailed Description

Definition at line 65 of file TCouplings.hh.

Constructor & Destructor Documentation

◆ SpinOneCouplings() [1/2]

SpinOneCouplings::SpinOneCouplings ( )

Definition at line 273 of file TCouplings.cc.

273 { reset(); }

◆ SpinOneCouplings() [2/2]

SpinOneCouplings::SpinOneCouplings ( SpinOneCouplings const &  other)

Definition at line 274 of file TCouplings.cc.

274 { this->copy(other); }

◆ ~SpinOneCouplings()

SpinOneCouplings::~SpinOneCouplings ( )
virtual

Definition at line 275 of file TCouplings.cc.

275 {}

Member Function Documentation

◆ copy()

void SpinOneCouplings::copy ( SpinOneCouplings const &  other)

Definition at line 288 of file TCouplings.cc.

288  {
289  for (int im=0; im<2; im++){
290  for (int ic=0; ic<SIZE_ZVV; ic++) Zvvcoupl[ic][im] = (other.Zvvcoupl)[ic][im];
291  for (int ic=0; ic<SIZE_ZQQ; ic++) Zqqcoupl[ic][im] = (other.Zqqcoupl)[ic][im];
292  }
293 }

◆ getRef()

SpinOneCouplings * SpinOneCouplings::getRef ( )

Definition at line 294 of file TCouplings.cc.

294 { return this; }

◆ reset()

void SpinOneCouplings::reset ( )

Definition at line 277 of file TCouplings.cc.

277  {
278  for (int im=0; im<2; im++){
279  for (int ic=0; ic<SIZE_ZVV; ic++) Zvvcoupl[ic][im] = 0;
280  for (int ic=0; ic<SIZE_ZQQ; ic++) Zqqcoupl[ic][im] = 0;
281  }
282  /*
283  Zvvcoupl[0][0]=1.0;
284  Zqqcoupl[0][0]=1.0;
285  Zqqcoupl[1][0]=1.0;
286  */
287 }

◆ SetZQQCouplings()

void SpinOneCouplings::SetZQQCouplings ( unsigned int  index,
double  c_real,
double  c_imag 
)

Definition at line 303 of file TCouplings.cc.

303  {
304  if (index>=SIZE_ZQQ) MELAerr << "Cannot set index " << index << " for the Zqqcoupl, out of range." << endl;
305  else{
306  Zqqcoupl[index][0] = c_real;
307  Zqqcoupl[index][1] = c_imag;
308  }
309 }

◆ SetZVVCouplings()

void SpinOneCouplings::SetZVVCouplings ( unsigned int  index,
double  c_real,
double  c_imag 
)

Definition at line 296 of file TCouplings.cc.

296  {
297  if (index>=SIZE_ZVV) MELAerr << "Cannot set index " << index << " for the Zvvcoupl, out of range." << endl;
298  else{
299  Zvvcoupl[index][0] = c_real;
300  Zvvcoupl[index][1] = c_imag;
301  }
302 }

Member Data Documentation

◆ Zqqcoupl

double SpinOneCouplings::Zqqcoupl[SIZE_ZQQ][2]

Definition at line 79 of file TCouplings.hh.

◆ Zvvcoupl

double SpinOneCouplings::Zvvcoupl[SIZE_ZVV][2]

Definition at line 78 of file TCouplings.hh.


The documentation for this class was generated from the following files:
SpinOneCouplings::Zqqcoupl
double Zqqcoupl[SIZE_ZQQ][2]
Definition: TCouplings.hh:79
SIZE_ZQQ
@ SIZE_ZQQ
Definition: raw_couplings.txt:107
SpinOneCouplings::Zvvcoupl
double Zvvcoupl[SIZE_ZVV][2]
Definition: TCouplings.hh:78
SIZE_ZVV
@ SIZE_ZVV
Definition: raw_couplings.txt:114
SpinOneCouplings::copy
void copy(SpinOneCouplings const &other)
Definition: TCouplings.cc:288
MELAStreamHelpers::MELAerr
MELAOutputStreamer MELAerr
SpinOneCouplings::reset
void reset()
Definition: TCouplings.cc:277