GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | Friends | List of all members
genie::flux::GJPARCNuFluxPassThroughInfo Class Reference

#include <GJPARCNuFlux.h>

Inheritance diagram for genie::flux::GJPARCNuFluxPassThroughInfo:
Inheritance graph
[legend]
Collaboration diagram for genie::flux::GJPARCNuFluxPassThroughInfo:
Collaboration graph
[legend]

Public Member Functions

 GJPARCNuFluxPassThroughInfo ()
 
 GJPARCNuFluxPassThroughInfo (const GJPARCNuFluxPassThroughInfo &info)
 
virtual ~GJPARCNuFluxPassThroughInfo ()
 
void Reset ()
 

Public Attributes

long fluxentry
 
string fluxfilename
 
float Enu
 
int ppid
 
int mode
 
float ppi
 
float xpi [3]
 
float npi [3]
 
float norm
 
int nvtx0
 
float ppi0
 
float xpi0 [3]
 
float npi0 [3]
 
float rnu
 
float xnu
 
float ynu
 
float nnu [3]
 
float cospibm
 
float cospi0bm
 
int idfd
 
unsigned char gipart
 
float gpos0 [3]
 
float gvec0 [3]
 
float gamom0
 
int ng
 
float gpx [fNgmax]
 
float gpy [fNgmax]
 
float gpz [fNgmax]
 
float gcosbm [fNgmax]
 
float gvx [fNgmax]
 
float gvy [fNgmax]
 
float gvz [fNgmax]
 
int gpid [fNgmax]
 
int gmec [fNgmax]
 
int gmat [fNgmax]
 
float gdistc [fNgmax]
 
float gdistal [fNgmax]
 
float gdistti [fNgmax]
 
float gdistfe [fNgmax]
 
float Enusk
 
float normsk
 
float anorm
 
float version
 
int tuneid
 
int ntrig
 
int pint
 
float bpos [2]
 
float btilt [2]
 
float brms [2]
 
float emit [2]
 
float alpha [2]
 
float hcur [3]
 
int rand
 
int rseed [2]
 

Friends

ostream & operator<< (ostream &stream, const GJPARCNuFluxPassThroughInfo &info)
 

Detailed Description

Definition at line 152 of file GJPARCNuFlux.h.

Constructor & Destructor Documentation

GJPARCNuFluxPassThroughInfo::GJPARCNuFluxPassThroughInfo ( )

Definition at line 941 of file GJPARCNuFlux.cxx.

References Reset().

941  :
942 TObject()
943 {
944  this->Reset();
945 }
GJPARCNuFluxPassThroughInfo::GJPARCNuFluxPassThroughInfo ( const GJPARCNuFluxPassThroughInfo info)

Definition at line 947 of file GJPARCNuFlux.cxx.

References alpha, anorm, bpos, brms, btilt, cospi0bm, cospibm, emit, Enu, Enusk, fluxentry, fluxfilename, genie::flux::fNgmax, gamom0, gcosbm, gdistal, gdistc, gdistfe, gdistti, gipart, gmat, gmec, gpid, gpos0, gpx, gpy, gpz, gvec0, gvx, gvy, gvz, hcur, idfd, mode, ng, nnu, norm, normsk, npi, npi0, ntrig, nvtx0, pint, ppi, ppi0, ppid, rand, rnu, rseed, tuneid, version, xnu, xpi, xpi0, and ynu.

948  :
949 TObject()
950 {
951  fluxentry = info.fluxentry;
952  fluxfilename = info.fluxfilename;
953  Enu = info.Enu;
954  ppid = info.ppid;
955  mode = info.mode;
956  ppi = info.ppi;
957  ppi0 = info.ppi0;
958  nvtx0 = info.nvtx0;
959  cospibm = info.cospibm;
960  cospi0bm = info.cospi0bm;
961  idfd = info.idfd;
962  gamom0 = info.gamom0;
963  gipart = info.gipart;
964  xnu = info.xnu;
965  ynu = info.ynu;
966  rnu = info.rnu;
967  for(int i = 0; i<3; i++){
968  nnu[i] = info.nnu[i];
969  xpi[i] = info.xpi[i];
970  xpi0[i] = info.xpi0[i];
971  gpos0[i] = info.gpos0[i];
972  npi[i] = info.npi[i];
973  npi0[i] = info.npi0[i];
974  gvec0[i] = info.gvec0[i];
975  }
976  ng = info.ng;
977  for(int ip = 0; ip<fNgmax; ip++){
978  gpid[ip] = info.gpid[ip];
979  gmec[ip] = info.gmec[ip];
980  gcosbm[ip] = info.gcosbm[ip];
981  gvx[ip] = info.gvx[ip];
982  gvy[ip] = info.gvy[ip];
983  gvz[ip] = info.gvz[ip];
984  gpx[ip] = info.gpx[ip];
985  gpy[ip] = info.gpy[ip];
986  gpz[ip] = info.gpz[ip];
987  gmat[ip] = info.gmat[ip];
988  gdistc[ip] = info.gdistc[ip];
989  gdistal[ip] = info.gdistal[ip];
990  gdistti[ip] = info.gdistti[ip];
991  gdistfe[ip] = info.gdistfe[ip];
992  }
993  norm = info.norm;
994  Enusk = info.Enusk;
995  normsk = info.normsk;
996  anorm = info.anorm;
997  version = info.version;
998  ntrig = info.ntrig;
999  tuneid = info.tuneid;
1000  pint = info.pint;
1001  rand = info.rand;
1002  for(int i = 0; i < 2; i++){
1003  bpos[i] = info.bpos[i];
1004  btilt[i] = info.btilt[i];
1005  brms[i] = info.brms[i];
1006  emit[i] = info.emit[i];
1007  alpha[i] = info.alpha[i];
1008  rseed[i] = info.rseed[i];
1009  }
1010  for(int i = 0; i < 3; i++) hcur[i] = info.hcur[i];
1011 }
const int fNgmax
Definition: GJPARCNuFlux.h:151
virtual genie::flux::GJPARCNuFluxPassThroughInfo::~GJPARCNuFluxPassThroughInfo ( )
inlinevirtual

Definition at line 156 of file GJPARCNuFlux.h.

156 { };

Member Function Documentation

void GJPARCNuFluxPassThroughInfo::Reset ( void  )

Definition at line 1013 of file GJPARCNuFlux.cxx.

References alpha, anorm, bpos, brms, btilt, cospi0bm, cospibm, emit, Enu, Enusk, fluxentry, fluxfilename, genie::flux::fNgmax, gamom0, gcosbm, gdistal, gdistc, gdistfe, gdistti, gipart, gmat, gmec, gpid, gpos0, gpx, gpy, gpz, gvec0, gvx, gvy, gvz, hcur, idfd, mode, ng, nnu, norm, normsk, npi, npi0, ntrig, nvtx0, pint, ppi, ppi0, ppid, rand, rnu, rseed, tuneid, version, xnu, xpi, xpi0, and ynu.

Referenced by GJPARCNuFluxPassThroughInfo(), and genie::flux::GJPARCNuFlux::ResetCurrent().

1013  {
1014  fluxentry= -1;
1015  fluxfilename = "Not-set";
1016  Enu = 0;
1017  ppid = 0;
1018  mode = 0;
1019  ppi = 0.;
1020  norm = 0;
1021  cospibm = 0.;
1022  nvtx0 = 0;
1023  ppi0 = 0.;
1024  idfd = 0;
1025  rnu = -999999.;
1026  xnu = -999999.;
1027  ynu = -999999.;
1028  cospi0bm = -999999.;
1029  gipart = -1;
1030  gamom0 = 0.;
1031  for(int i=0; i<3; i++){
1032  nnu[i] = 0.;
1033  xpi[i] = -999999.;
1034  npi[i] = 0.;
1035  xpi0[i] = -999999.;
1036  npi0[i] = 0.;
1037  gpos0[i] = -999999.;
1038  gvec0[i] = 0.;
1039  }
1040  ng = -1;
1041  for(int ip = 0; ip<fNgmax; ip++){
1042  gpid[ip] = -999999;
1043  gmec[ip] = -999999;
1044  gcosbm[ip] = -999999.;
1045  gvx[ip] = -999999.;
1046  gvy[ip] = -999999.;
1047  gvz[ip] = -999999.;
1048  gpx[ip] = -999999.;
1049  gpy[ip] = -999999.;
1050  gpz[ip] = -999999.;
1051  gmat[ip] = -999999;
1052  gdistc[ip] = -999999.;
1053  gdistal[ip] = -999999.;
1054  gdistti[ip] = -999999.;
1055  gdistfe[ip] = -999999.;
1056  }
1057  Enusk = -999999.;
1058  normsk = -999999.;
1059  anorm = -999999.;
1060  version = -999999.;
1061  ntrig = -999999;
1062  tuneid = -999999;
1063  pint = -999999;
1064  rand = -999999;
1065  for(int i = 0; i < 2; i++){
1066  bpos[i] = -999999.;
1067  btilt[i] = -999999.;
1068  brms[i] = -999999.;
1069  emit[i] = -999999.;
1070  alpha[i] = -999999.;
1071  rseed[i] = -999999;
1072  }
1073  for(int i = 0; i < 3; i++) hcur[i] = -999999.;
1074 }
const int fNgmax
Definition: GJPARCNuFlux.h:151

Friends And Related Function Documentation

ostream& operator<< ( ostream &  stream,
const GJPARCNuFluxPassThroughInfo info 
)
friend

Definition at line 1078 of file GJPARCNuFlux.cxx.

1080  {
1081  stream << "\n idfd = " << info.idfd
1082  << "\n norm = " << info.norm
1083  << "\n flux entry = " << info.fluxentry
1084  << "\n flux file = " << info.fluxfilename
1085  << "\n Enu = " << info.Enu
1086  << "\n geant code = " << info.ppid
1087  << "\n (pdg code) = " << pdg::GeantToPdg(info.ppid)
1088  << "\n decay mode = " << info.mode
1089  << "\n nvtx0 = " << info.nvtx0
1090  << "\n |momentum| @ decay = " << info.ppi
1091  << "\n position_vector @ decay = ("
1092  << info.xpi[0] << ", "
1093  << info.xpi[1] << ", "
1094  << info.xpi[2] << ")"
1095  << "\n direction_vector @ decay = ("
1096  << info.npi[0] << ", "
1097  << info.npi[1] << ", "
1098  << info.npi[2] << ")"
1099  << "\n |momentum| @ prod. = " << info.ppi0
1100  << "\n position_vector @ prod. = ("
1101  << info.xpi0[0] << ", "
1102  << info.xpi0[1] << ", "
1103  << info.xpi0[2] << ")"
1104  << "\n direction_vector @ prod. = ("
1105  << info.npi0[0] << ", "
1106  << info.npi0[1] << ", "
1107  << info.npi0[2] << ")"
1108  << "\n cospibm = " << info.cospibm
1109  << "\n cospi0bm = " << info.cospi0bm
1110  << "\n Plus additional info if flux version is later than 07a"
1111  << endl;
1112 
1113  return stream;
1114  }
int GeantToPdg(int geant_code)
Definition: PDGUtils.cxx:424

Member Data Documentation

float genie::flux::GJPARCNuFluxPassThroughInfo::alpha[2]
float genie::flux::GJPARCNuFluxPassThroughInfo::anorm
float genie::flux::GJPARCNuFluxPassThroughInfo::bpos[2]
float genie::flux::GJPARCNuFluxPassThroughInfo::brms[2]
float genie::flux::GJPARCNuFluxPassThroughInfo::btilt[2]
float genie::flux::GJPARCNuFluxPassThroughInfo::cospi0bm
float genie::flux::GJPARCNuFluxPassThroughInfo::cospibm
float genie::flux::GJPARCNuFluxPassThroughInfo::emit[2]
float genie::flux::GJPARCNuFluxPassThroughInfo::Enu
float genie::flux::GJPARCNuFluxPassThroughInfo::Enusk
long genie::flux::GJPARCNuFluxPassThroughInfo::fluxentry
string genie::flux::GJPARCNuFluxPassThroughInfo::fluxfilename
float genie::flux::GJPARCNuFluxPassThroughInfo::gamom0
float genie::flux::GJPARCNuFluxPassThroughInfo::gcosbm[fNgmax]
float genie::flux::GJPARCNuFluxPassThroughInfo::gdistal[fNgmax]
float genie::flux::GJPARCNuFluxPassThroughInfo::gdistc[fNgmax]
float genie::flux::GJPARCNuFluxPassThroughInfo::gdistfe[fNgmax]
float genie::flux::GJPARCNuFluxPassThroughInfo::gdistti[fNgmax]
unsigned char genie::flux::GJPARCNuFluxPassThroughInfo::gipart
int genie::flux::GJPARCNuFluxPassThroughInfo::gmat[fNgmax]
int genie::flux::GJPARCNuFluxPassThroughInfo::gmec[fNgmax]
int genie::flux::GJPARCNuFluxPassThroughInfo::gpid[fNgmax]
float genie::flux::GJPARCNuFluxPassThroughInfo::gpos0[3]
float genie::flux::GJPARCNuFluxPassThroughInfo::gpx[fNgmax]
float genie::flux::GJPARCNuFluxPassThroughInfo::gpy[fNgmax]
float genie::flux::GJPARCNuFluxPassThroughInfo::gpz[fNgmax]
float genie::flux::GJPARCNuFluxPassThroughInfo::gvec0[3]
float genie::flux::GJPARCNuFluxPassThroughInfo::gvx[fNgmax]
float genie::flux::GJPARCNuFluxPassThroughInfo::gvy[fNgmax]
float genie::flux::GJPARCNuFluxPassThroughInfo::gvz[fNgmax]
float genie::flux::GJPARCNuFluxPassThroughInfo::hcur[3]
int genie::flux::GJPARCNuFluxPassThroughInfo::idfd
int genie::flux::GJPARCNuFluxPassThroughInfo::mode
int genie::flux::GJPARCNuFluxPassThroughInfo::ng
float genie::flux::GJPARCNuFluxPassThroughInfo::nnu[3]
float genie::flux::GJPARCNuFluxPassThroughInfo::norm
float genie::flux::GJPARCNuFluxPassThroughInfo::normsk
float genie::flux::GJPARCNuFluxPassThroughInfo::npi[3]
float genie::flux::GJPARCNuFluxPassThroughInfo::npi0[3]
int genie::flux::GJPARCNuFluxPassThroughInfo::ntrig
int genie::flux::GJPARCNuFluxPassThroughInfo::nvtx0
int genie::flux::GJPARCNuFluxPassThroughInfo::pint
float genie::flux::GJPARCNuFluxPassThroughInfo::ppi
float genie::flux::GJPARCNuFluxPassThroughInfo::ppi0
int genie::flux::GJPARCNuFluxPassThroughInfo::ppid
int genie::flux::GJPARCNuFluxPassThroughInfo::rand
float genie::flux::GJPARCNuFluxPassThroughInfo::rnu
int genie::flux::GJPARCNuFluxPassThroughInfo::rseed[2]
int genie::flux::GJPARCNuFluxPassThroughInfo::tuneid
float genie::flux::GJPARCNuFluxPassThroughInfo::version
float genie::flux::GJPARCNuFluxPassThroughInfo::xnu
float genie::flux::GJPARCNuFluxPassThroughInfo::xpi[3]
float genie::flux::GJPARCNuFluxPassThroughInfo::xpi0[3]
float genie::flux::GJPARCNuFluxPassThroughInfo::ynu

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