inuke_reweight::delta_fate Class Reference

#include <inuke_rw.h>

List of all members.

Public Member Functions

 delta_fate ()
void set_abs_fates (float f)
void set_abs_fates ()
std::ostream & print (std::ostream &)

Public Attributes

float cex
float elas
float inel
float abs
float pp
float npp
float nnp
float npnp
float piprod

Detailed Description

Definition at line 18 of file inuke_rw.h.


Constructor & Destructor Documentation

inuke_reweight::delta_fate::delta_fate (  ) 

Definition at line 17 of file inuke_rw.cxx.

00017                                     :cex(0.0),elas(0.0),inel(0.0),abs(0.0),pp(0.0),npp(0.0),nnp(0.0),npnp(0.0),piprod(0.0){
00018   /*
00019   std::cout<<"delta_fate()"<<std::endl;
00020   std::cout<<"cex : "<<cex<<std::endl;
00021   std::cout<<"elase : "<<elas<<std::endl;
00022   std::cout<<"inel : "<<inel<<std::endl;
00023   std::cout<<"abs : "<<abs<<std::endl;
00024   std::cout<<"pp : "<<pp<<std::endl;
00025   std::cout<<"npp : "<<npp<<std::endl;
00026   std::cout<<"nnp : "<<nnp<<std::endl;
00027   std::cout<<"npnp : "<<npnp<<std::endl;
00028   std::cout<<"piprod : "<<piprod<<std::endl;
00029   */
00030 
00031 }


Member Function Documentation

std::ostream & inuke_reweight::delta_fate::print ( std::ostream &  os  ) 

Definition at line 33 of file inuke_rw.cxx.

References abs, cex, elas, inel, nnp, npnp, npp, piprod, and pp.

Referenced by inuke_reweight::parameter_set::print().

00033                                                          {
00034   //  os.width(4);
00035   //  os.precision(3);
00036   os.fill(' ');
00037   os<<"delta_fate:\t"<<std::setw(4)<<std::setprecision(3)<< cex<<" "<<std::setw(4)<<std::setprecision(3)<<elas<<" "<<std::setw(4)<<std::setprecision(3)<<inel<<" "<<std::setw(4)<<std::setprecision(3)<<abs<<" "<<std::setw(4)<<std::setprecision(3)<<pp<<" "<<std::setw(4)<<std::setprecision(3)<<npp<<" "<<std::setw(4)<<std::setprecision(3)<<std::setw(4)<<std::setprecision(3)<<nnp<<" "<<std::setw(4)<<std::setprecision(3)<<npnp<<" "<<std::setw(4)<<std::setprecision(3)<<piprod;
00038   return os;
00039 }

void inuke_reweight::delta_fate::set_abs_fates (  )  [inline]

Definition at line 24 of file inuke_rw.h.

References abs, and set_abs_fates().

Referenced by set_abs_fates().

00024 {set_abs_fates(abs);}

void inuke_reweight::delta_fate::set_abs_fates ( float  f  ) 

Definition at line 41 of file inuke_rw.cxx.

References abs, nnp, npnp, npp, and pp.

00041                                                    { 
00042   abs=f; pp=f; npp=f; nnp=f; npnp=f;
00043 }


Member Data Documentation


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

Generated on 18 Oct 2018 for loon by  doxygen 1.6.1