yield Class Reference

#include <myObservables.h>

Inheritance diagram for yield:
[legend]
Collaboration diagram for yield:
[legend]

Detailed Description

Definition at line 41 of file myObservables.h.

Public Member Functions

double computeThValue ()
 
 yield (const StandardModel &SM_i, unsigned int bin_i)
 Constructor. More...
 
- Public Member Functions inherited from myObservables
 myObservables (const StandardModel &SM_i)
 
void updateParameters ()
 
virtual ~myObservables ()
 
- Public Member Functions inherited from ThObservable
double getBinMax ()
 A get method to get the maximum value of the bin. More...
 
double getBinMin ()
 A get method to get the minimum value of the bin. More...
 
const StandardModelgetModel ()
 A get method to get the model. More...
 
void setBinMax (double max)
 A set method to set the maximum value of the bin. More...
 
void setBinMin (double min)
 A set method to set the minimum value of the bin. More...
 
 ThObservable (const StandardModel &SM_i)
 Constructor. More...
 
 ThObservable (const ThObservable &orig)
 The copy constructor. More...
 
virtual ~ThObservable ()
 The default destructor. More...
 

Private Attributes

unsigned int bin
 

Additional Inherited Members

- Protected Attributes inherited from myObservables
double c1
 
double c2
 
double c3
 
double c4
 
double fact
 
double kfact
 
double sw2
 
- Protected Attributes inherited from ThObservable
double max
 the bin maximum. More...
 
double min
 The bin minimum. More...
 
const StandardModelSM
 A reference to an object of StandardMode class. More...
 

Constructor & Destructor Documentation

yield::yield ( const StandardModel SM_i,
unsigned int  bin_i 
)

Constructor.

Definition at line 38 of file myObservables.cpp.

39 : myObservables(SM_i)
40 {
41  bin = bin_i;
42 }
myObservables(const StandardModel &SM_i)
unsigned int bin
Definition: myObservables.h:55

Member Function Documentation

double yield::computeThValue ( )
virtual
Returns
yield

Implements ThObservable.

Definition at line 44 of file myObservables.cpp.

45 {
47 
48  double wt = kfact * sqrt(fact);
49 
50  if (bin == 1) return (13.0556 + 0.00433972*c4*c4 - 0.595884*c2 - 0.539262*c4*c4*c2 + 0.45963*c2*c2 - 0.844644*c1 - 0.896512*c4*c4*c1 + 1.40761*c2*c1 + 1.10521*c1*c1 - 0.0566324*c3*c3 + 0.00224709*c4*c4*c3*c3 + 0.000814862*c2*c3*c3 + 0.000885144*c1*c3*c3 + 0.252697*pow(c4,4.) + 0.000602038*pow(c3,4.)) * wt;
51 
52  if (bin == 2) return (2.59123 + 0.169824*c4*c4 - 0.113991*c2 - 0.637075*c4*c4*c2 + 0.52955*c2*c2 - 0.184628*c1 - 1.77388*c4*c4*c1 + 1.31494*c2*c1 + 1.45195*c1*c1 + 0.00228014*c3*c3 + 0.00281452*c4*c4*c3*c3 - 0.00121316*c2*c3*c3 + 0.00216552*c1*c3*c3 + 0.68041*pow(c4,4.) + 0.000218874*pow(c3,4.)) * wt;
53 
54  if (bin == 3) return (0.49923 + 0.0605644*c4*c4 - 0.0176069*c2 - 0.160722*c4*c4*c2 + 0.439888*c2*c2 - 0.0183051*c1 - 1.04927*c4*c4*c1 + 0.456769*c2*c1 + 0.695114*c1*c1 + 0.0115523*c3*c3 + 0.00023496*c4*c4*c3*c3 + 0.000200689*c2*c3*c3 + 0.00104028*c1*c3*c3 + 0.48041*pow(c4,4.) - 0.000532762*pow(c3,4.)) * wt;
55 
56  if (bin == 4) return (0.177548 + 0.0262649*c4*c4 - 0.00743058*c2 + 0.0546468*c4*c4*c2 + 0.524296*c2*c2 - 0.00407272*c1 - 0.748231*c4*c4*c1 + 0.14861*c2*c1 + 0.436721*c1*c1 + 0.00637587*c3*c3 + 0.000702175*c4*c4*c3*c3 + 0.0002901*c2*c3*c3 - 0.00040867*c1*c3*c3 + 0.375159*pow(c4,4.) + 5.37945e-6*pow(c3,4.)) * wt;
57 
58  if (bin == 5) return (0.0485093 + 0.00891872*c4*c4 - 0.00324976*c2 + 0.155788*c4*c4*c2 + 0.523622*c2*c2 + 0.00396845*c1 - 0.384512*c4*c4*c1 - 0.0424597*c2*c1 + 0.20254*c1*c1 + 0.00271808*c3*c3 + 0.000118455*c4*c4*c3*c3 + 0.000624283*c2*c3*c3 - 0.000523273*c1*c3*c3 + 0.202822*pow(c4,4.) - 5.43403e-6 *pow(c3,4.)) * wt;
59 
60  if (bin == 6) return (0.0165142 + 0.00240494*c4*c4 - 0.00151538*c2 + 0.443147*c4*c4*c2 + 2.01346*c2*c2 + 0.0066562*c1 - 0.285082*c4*c4*c1 - 0.329009*c2*c1 + 0.139285*c1*c1 + 0.00226039*c3*c3 + 0.000642254*c4*c4*c3*c3 - 0.000373886*c2*c3*c3 - 0.00122827*c1*c3*c3 + 0.154372*pow(c4,4.) - 0.000211814*pow(c3,4.)) * wt;
61  else {
62  std::cout << "Bin not defined" << std::endl;
63  return (EXIT_FAILURE);
64  }
65 }
void updateParameters()
complex pow(const complex &z1, const complex &z2)
unsigned int bin
Definition: myObservables.h:55
complex sqrt(const complex &z)

Member Data Documentation

unsigned int yield::bin
private

Definition at line 55 of file myObservables.h.


The documentation for this class was generated from the following files: