JHUGen MELA  JHUGen v7.5.6, MELA v2.4.2
Matrix element calculations as used in JHUGen.
AZffCouplings Class Reference

#include <TCouplings.hh>

Public Member Functions

 AZffCouplings ()
 
 AZffCouplings (AZffCouplings const &other)
 
virtual ~AZffCouplings ()
 
void reset ()
 
void copy (AZffCouplings const &other)
 
AZffCouplingsgetRef ()
 
void SetAZffCouplings (unsigned int index, double c_real, double c_imag)
 

Public Attributes

double AZffcoupl [SIZE_AZff][2]
 

Detailed Description

Definition at line 146 of file TCouplings.hh.

Constructor & Destructor Documentation

◆ AZffCouplings() [1/2]

AZffCouplings::AZffCouplings ( )

Definition at line 472 of file TCouplings.cc.

472 { reset(); }

◆ AZffCouplings() [2/2]

AZffCouplings::AZffCouplings ( AZffCouplings const &  other)

Definition at line 473 of file TCouplings.cc.

473 { this->copy(other); }

◆ ~AZffCouplings()

AZffCouplings::~AZffCouplings ( )
virtual

Definition at line 474 of file TCouplings.cc.

474 {}

Member Function Documentation

◆ copy()

void AZffCouplings::copy ( AZffCouplings const &  other)

Definition at line 481 of file TCouplings.cc.

481  {
482  for (int im=0; im<2; im++){
483  for (int ic=0; ic<SIZE_AZff; ic++) AZffcoupl[ic][im] = (other.AZffcoupl)[ic][im];
484  }
485 }

◆ getRef()

AZffCouplings * AZffCouplings::getRef ( )

Definition at line 486 of file TCouplings.cc.

486 { return this; }

◆ reset()

void AZffCouplings::reset ( )

Definition at line 476 of file TCouplings.cc.

476  {
477  for (int im=0; im<2; im++){
478  for (int ic = 0; ic < SIZE_AZff; ic++) AZffcoupl[ic][im]=0;
479  }
480 }

◆ SetAZffCouplings()

void AZffCouplings::SetAZffCouplings ( unsigned int  index,
double  c_real,
double  c_imag 
)

Definition at line 488 of file TCouplings.cc.

488  {
489  if (index>=SIZE_AZff){ MELAerr << "AZffCouplings::SetAZffCouplings: Cannot set index " << index << ", out of range for the type requested." << endl; }
490  else{
491  AZffcoupl[index][0] = c_real;
492  AZffcoupl[index][1] = c_imag;
493  }
494 }

Member Data Documentation

◆ AZffcoupl

double AZffCouplings::AZffcoupl[SIZE_AZff][2]

Definition at line 158 of file TCouplings.hh.


The documentation for this class was generated from the following files:
AZffCouplings::AZffcoupl
double AZffcoupl[SIZE_AZff][2]
Definition: TCouplings.hh:158
MELAStreamHelpers::MELAerr
MELAOutputStreamer MELAerr
SIZE_AZff
@ SIZE_AZff
Definition: raw_couplings.txt:194
AZffCouplings::reset
void reset()
Definition: TCouplings.cc:476
AZffCouplings::copy
void copy(AZffCouplings const &other)
Definition: TCouplings.cc:481