InterGen_Neugen.cxx File Reference

#include "EventKinematics/InterGen_Neugen.h"
#include "EventKinematics/EvtKinFactory.h"
#include "EventKinematics/StdHepUtil.h"
#include "EventKinematics/MsgServiceWrapper.h"
#include "Hepevt.h"
#include "Registry/Registry.h"
#include "Configurable/Cfg.h"

Go to the source code of this file.

Functions

 CVSID ("$Id: InterGen_Neugen.cxx,v 1.7 2010/08/30 22:33:05 rhatcher Exp $")
void set_parameters_ (char *chflag, int *istrlen, float *val)
void model_choice_ (char *chflag, int *istrlen, int *ival, bool *lok)
void initialize_configuration_ (char *chflag, int *istrlen, int *iver, bool *lok)
void print_configuration_ ()
void calc_xsectable_ ()
float get_xsec_ (int *nutypSoudan, int *ccnc, int *intertype, int *ims, int *ds, int *nucleusSoudan, float *enu)
void total_xsec_ (int *nuPDG, int *ia, int *iz, float *enu, float *sigma)
void generate_nu_event_ (int *nucode, float *e, int *ia, int *iz)
char * padstrbuffer (const char *input, int n)

Function Documentation

void calc_xsectable_ (  ) 
CVSID ( "$Id: InterGen_Neugen.  cxx,
v 1.7 2010/08/30 22:33:05 rhatcher Exp $"   
)
void generate_nu_event_ ( int *  nucode,
float *  e,
int *  ia,
int *  iz 
)
float get_xsec_ ( int *  nutypSoudan,
int *  ccnc,
int *  intertype,
int *  ims,
int *  ds,
int *  nucleusSoudan,
float *  enu 
)
void initialize_configuration_ ( char *  chflag,
int *  istrlen,
int *  iver,
bool *  lok 
)
void model_choice_ ( char *  chflag,
int *  istrlen,
int *  ival,
bool *  lok 
)
char* padstrbuffer ( const char *  input,
int  n 
)

Definition at line 43 of file InterGen_Neugen.cxx.

Referenced by InterGen_Neugen::Configure().

00044 {
00045     const int strbufferlen = 1024;
00046     static char strbuffer[strbufferlen];
00047 
00048     int l = strlen(input);
00049     for (int i=0; i<l && i<strbufferlen; ++i) strbuffer[i] = input[i];
00050     for (int j=l; j<n && j<strbufferlen; ++j) strbuffer[j] = 'z';
00051     for (int k=n;        k<strbufferlen; ++k) strbuffer[k] = 0;
00052     return strbuffer;
00053 }

void print_configuration_ (  ) 
void set_parameters_ ( char *  chflag,
int *  istrlen,
float *  val 
)
void total_xsec_ ( int *  nuPDG,
int *  ia,
int *  iz,
float *  enu,
float *  sigma 
)

Generated on 18 Oct 2018 for loon by  doxygen 1.6.1