inuke_reweight::parameter_set Class Reference

#include <inuke_rw.h>

List of all members.

Public Member Functions

std::ostream & print (std::ostream &)
double get_par (int ipar)

Public Attributes

inuke_reweight::delta_fate pi_fate
inuke_reweight::delta_fate pn_fate
inuke_reweight::delta_scale pi_scale
inuke_reweight::delta_scale pn_scale

Detailed Description

Definition at line 37 of file inuke_rw.h.


Member Function Documentation

double inuke_reweight::parameter_set::get_par ( int  ipar  ) 

Definition at line 65 of file inuke_rw.cxx.

References inuke_reweight::delta_fate::abs, inuke_reweight::delta_fate::cex, inuke_reweight::delta_fate::elas, inuke_reweight::delta_scale::ft, inuke_reweight::delta_fate::inel, inuke_reweight::delta_fate::nnp, inuke_reweight::delta_fate::npnp, inuke_reweight::delta_fate::npp, pi_fate, pi_scale, inuke_reweight::delta_fate::piprod, pn_fate, pn_scale, inuke_reweight::delta_fate::pp, inuke_reweight::delta_scale::rhonuc, and inuke_reweight::delta_scale::xsec.

00065                                                    {
00066   double x=0;
00067   switch(ipar){
00068   case 0:
00069     x=pi_fate.cex;
00070     break;
00071   case 1:
00072     x=pi_fate.elas;
00073     break;
00074   case 2:
00075     x=pi_fate.inel;
00076     break;
00077   case 3:
00078     x=pi_fate.abs;
00079     break;
00080   case 4:
00081     x=pi_fate.pp;
00082     break;
00083   case 5:
00084     x=pi_fate.npp;
00085     break;
00086   case 6:
00087     x=pi_fate.nnp;
00088     break;
00089   case 7:
00090     x=pi_fate.npnp;
00091     break;
00092   case 8:
00093     x=pi_fate.piprod;
00094     break;
00095     // pn fates
00096   case 9:
00097     x=pn_fate.cex;
00098     break;
00099   case 10:
00100     x=pn_fate.elas;
00101     break;
00102   case 11:
00103     x=pn_fate.inel;
00104     break;
00105   case 12:
00106     x=pn_fate.abs;
00107     break;
00108   case 13:
00109     x=pn_fate.pp;
00110     break;
00111   case 14:
00112     x=pn_fate.npp;
00113     break;
00114   case 15:
00115     x=pn_fate.nnp;
00116     break;
00117   case 16:
00118     x=pn_fate.npnp;
00119     break;
00120   case 17:
00121     x=pn_fate.piprod;
00122     break;
00123     // pi scales
00124   case 18:
00125     x=pi_scale.rhonuc;
00126     break;
00127   case 19:
00128     x=pi_scale.ft;
00129     break;
00130   case 20:
00131     x=pi_scale.xsec;
00132     break;
00133 
00134     // pi scales
00135   case 21:
00136     x=pn_scale.rhonuc;
00137     break;
00138   case 22:
00139     x=pn_scale.ft;
00140     break;
00141   case 23:
00142     x=pn_scale.xsec;
00143     break;
00144   default:
00145     x=0;
00146     break;
00147   }
00148   return x;
00149 }

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

Definition at line 55 of file inuke_rw.cxx.

References pi_fate, pi_scale, pn_fate, pn_scale, inuke_reweight::delta_fate::print(), and inuke_reweight::delta_scale::print().

Referenced by MadMKAnalysis::CreatePAN(), NuIntranuke::InitReweight(), and inuke_reweight::parameter_limits::print().

00055                                                             {
00056   os<<"pi "; pi_fate.print(os); os<<std::endl;
00057   os<<"pi "; pi_scale.print(os); os<<std::endl;
00058   os<<"pn "; pn_fate.print(os); os<<std::endl;
00059   os<<"pn "; pn_scale.print(os); os<<std::endl;
00060   os<<std::endl;
00061 
00062   return os;
00063 }


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