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

#include <TCouplings.hh>

Public Member Functions

 aTQGCCouplings ()
 
 aTQGCCouplings (aTQGCCouplings const &other)
 
virtual ~aTQGCCouplings ()
 
void reset ()
 
void copy (aTQGCCouplings const &other)
 
aTQGCCouplingsgetRef ()
 
void SetATQGCCouplings (unsigned int index, double c_real, double c_imag)
 

Public Attributes

double aTQGCcoupl [SIZE_ATQGC][2]
 

Detailed Description

Definition at line 131 of file TCouplings.hh.

Constructor & Destructor Documentation

◆ aTQGCCouplings() [1/2]

aTQGCCouplings::aTQGCCouplings ( )

Definition at line 447 of file TCouplings.cc.

447 { reset(); }

◆ aTQGCCouplings() [2/2]

aTQGCCouplings::aTQGCCouplings ( aTQGCCouplings const &  other)

Definition at line 448 of file TCouplings.cc.

448 { this->copy(other); }

◆ ~aTQGCCouplings()

aTQGCCouplings::~aTQGCCouplings ( )
virtual

Definition at line 449 of file TCouplings.cc.

449 {}

Member Function Documentation

◆ copy()

void aTQGCCouplings::copy ( aTQGCCouplings const &  other)

Definition at line 456 of file TCouplings.cc.

456  {
457  for (int im=0; im<2; im++){
458  for (int ic=0; ic<SIZE_ATQGC; ic++) aTQGCcoupl[ic][im] = (other.aTQGCcoupl)[ic][im];
459  }
460 }

◆ getRef()

aTQGCCouplings * aTQGCCouplings::getRef ( )

Definition at line 461 of file TCouplings.cc.

461 { return this; }

◆ reset()

void aTQGCCouplings::reset ( )

Definition at line 451 of file TCouplings.cc.

451  {
452  for (int im=0; im<2; im++){
453  for (int ic = 0; ic < SIZE_ATQGC; ic++) aTQGCcoupl[ic][im]=0;
454  }
455 }

◆ SetATQGCCouplings()

void aTQGCCouplings::SetATQGCCouplings ( unsigned int  index,
double  c_real,
double  c_imag 
)

Definition at line 463 of file TCouplings.cc.

463  {
464  if (index>=SIZE_ATQGC){ MELAerr << "aTQGCCouplings::SetATQGCCouplings: Cannot set index " << index << ", out of range for the type requested." << endl; }
465  else{
466  aTQGCcoupl[index][0] = c_real;
467  aTQGCcoupl[index][1] = c_imag;
468  }
469 }

Member Data Documentation

◆ aTQGCcoupl

double aTQGCCouplings::aTQGCcoupl[SIZE_ATQGC][2]

Definition at line 143 of file TCouplings.hh.


The documentation for this class was generated from the following files:
aTQGCCouplings::aTQGCcoupl
double aTQGCcoupl[SIZE_ATQGC][2]
Definition: TCouplings.hh:143
aTQGCCouplings::reset
void reset()
Definition: TCouplings.cc:451
SIZE_ATQGC
@ SIZE_ATQGC
Definition: raw_couplings.txt:176
MELAStreamHelpers::MELAerr
MELAOutputStreamer MELAerr
aTQGCCouplings::copy
void copy(aTQGCCouplings const &other)
Definition: TCouplings.cc:456