Public Member Functions | Public Attributes | Friends | List of all members
genie::flux::GJPARCNuFluxPassThroughInfo Class Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/genie/v3_00_06_p01/Linux64bit+2.6-2.12-e17-debug/GENIE-Generator/src/Tools/Flux/GJPARCNuFlux.h"

Inheritance diagram for genie::flux::GJPARCNuFluxPassThroughInfo:

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 153 of file GJPARCNuFlux.h.

Constructor & Destructor Documentation

GJPARCNuFluxPassThroughInfo::GJPARCNuFluxPassThroughInfo ( )

Definition at line 1046 of file GJPARCNuFlux.cxx.

References Reset().

1046  :
1047 TObject()
1048 {
1049  this->Reset();
1050 }
GJPARCNuFluxPassThroughInfo::GJPARCNuFluxPassThroughInfo ( const GJPARCNuFluxPassThroughInfo info)

Definition at line 1052 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, MECModelEnuComparisons::i, idfd, ip, mode, ng, nnu, norm, normsk, npi, npi0, ntrig, nvtx0, pint, ppi, ppi0, ppid, rand, rnu, rseed, tuneid, version, xnu, xpi, xpi0, and ynu.

1053  :
1054 TObject()
1055 {
1056  fluxentry = info.fluxentry;
1057  fluxfilename = info.fluxfilename;
1058  Enu = info.Enu;
1059  ppid = info.ppid;
1060  mode = info.mode;
1061  ppi = info.ppi;
1062  ppi0 = info.ppi0;
1063  nvtx0 = info.nvtx0;
1064  cospibm = info.cospibm;
1065  cospi0bm = info.cospi0bm;
1066  idfd = info.idfd;
1067  gamom0 = info.gamom0;
1068  gipart = info.gipart;
1069  xnu = info.xnu;
1070  ynu = info.ynu;
1071  rnu = info.rnu;
1072  for(int i = 0; i<3; i++){
1073  nnu[i] = info.nnu[i];
1074  xpi[i] = info.xpi[i];
1075  xpi0[i] = info.xpi0[i];
1076  gpos0[i] = info.gpos0[i];
1077  npi[i] = info.npi[i];
1078  npi0[i] = info.npi0[i];
1079  gvec0[i] = info.gvec0[i];
1080  }
1081  ng = info.ng;
1082  for(int ip = 0; ip<fNgmax; ip++){
1083  gpid[ip] = info.gpid[ip];
1084  gmec[ip] = info.gmec[ip];
1085  gcosbm[ip] = info.gcosbm[ip];
1086  gvx[ip] = info.gvx[ip];
1087  gvy[ip] = info.gvy[ip];
1088  gvz[ip] = info.gvz[ip];
1089  gpx[ip] = info.gpx[ip];
1090  gpy[ip] = info.gpy[ip];
1091  gpz[ip] = info.gpz[ip];
1092  gmat[ip] = info.gmat[ip];
1093  gdistc[ip] = info.gdistc[ip];
1094  gdistal[ip] = info.gdistal[ip];
1095  gdistti[ip] = info.gdistti[ip];
1096  gdistfe[ip] = info.gdistfe[ip];
1097  }
1098  norm = info.norm;
1099  Enusk = info.Enusk;
1100  normsk = info.normsk;
1101  anorm = info.anorm;
1102  version = info.version;
1103  ntrig = info.ntrig;
1104  tuneid = info.tuneid;
1105  pint = info.pint;
1106  rand = info.rand;
1107  for(int i = 0; i < 2; i++){
1108  bpos[i] = info.bpos[i];
1109  btilt[i] = info.btilt[i];
1110  brms[i] = info.brms[i];
1111  emit[i] = info.emit[i];
1112  alpha[i] = info.alpha[i];
1113  rseed[i] = info.rseed[i];
1114  }
1115  for(int i = 0; i < 3; i++) hcur[i] = info.hcur[i];
1116 }
TString ip
Definition: loadincs.C:5
const int fNgmax
Definition: GJPARCNuFlux.h:152
const XML_Char * version
Definition: expat.h:187
virtual genie::flux::GJPARCNuFluxPassThroughInfo::~GJPARCNuFluxPassThroughInfo ( )
inlinevirtual

Definition at line 157 of file GJPARCNuFlux.h.

References genie::flux::operator<<(), slidt::Reset(), and runNovaSAM::stream.

157 { };

Member Function Documentation

void GJPARCNuFluxPassThroughInfo::Reset ( void  )

Definition at line 1118 of file GJPARCNuFlux.cxx.

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

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

1118  {
1119  fluxentry= -1;
1120  fluxfilename = "Not-set";
1121  Enu = 0;
1122  ppid = 0;
1123  mode = 0;
1124  ppi = 0.;
1125  norm = 0;
1126  cospibm = 0.;
1127  nvtx0 = 0;
1128  ppi0 = 0.;
1129  idfd = 0;
1130  rnu = -999999.;
1131  xnu = -999999.;
1132  ynu = -999999.;
1133  cospi0bm = -999999.;
1134  gipart = -1;
1135  gamom0 = 0.;
1136  for(int i=0; i<3; i++){
1137  nnu[i] = 0.;
1138  xpi[i] = -999999.;
1139  npi[i] = 0.;
1140  xpi0[i] = -999999.;
1141  npi0[i] = 0.;
1142  gpos0[i] = -999999.;
1143  gvec0[i] = 0.;
1144  }
1145  ng = -1;
1146  for(int ip = 0; ip<fNgmax; ip++){
1147  gpid[ip] = -999999;
1148  gmec[ip] = -999999;
1149  gcosbm[ip] = -999999.;
1150  gvx[ip] = -999999.;
1151  gvy[ip] = -999999.;
1152  gvz[ip] = -999999.;
1153  gpx[ip] = -999999.;
1154  gpy[ip] = -999999.;
1155  gpz[ip] = -999999.;
1156  gmat[ip] = -999999;
1157  gdistc[ip] = -999999.;
1158  gdistal[ip] = -999999.;
1159  gdistti[ip] = -999999.;
1160  gdistfe[ip] = -999999.;
1161  }
1162  Enusk = -999999.;
1163  normsk = -999999.;
1164  anorm = -999999.;
1165  version = -999999.;
1166  ntrig = -999999;
1167  tuneid = -999999;
1168  pint = -999999;
1169  rand = -999999;
1170  for(int i = 0; i < 2; i++){
1171  bpos[i] = -999999.;
1172  btilt[i] = -999999.;
1173  brms[i] = -999999.;
1174  emit[i] = -999999.;
1175  alpha[i] = -999999.;
1176  rseed[i] = -999999;
1177  }
1178  for(int i = 0; i < 3; i++) hcur[i] = -999999.;
1179 }
TString ip
Definition: loadincs.C:5
const int fNgmax
Definition: GJPARCNuFlux.h:152
const XML_Char * version
Definition: expat.h:187

Friends And Related Function Documentation

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

Definition at line 1183 of file GJPARCNuFlux.cxx.

1185  {
1186  stream << "\n idfd = " << info.idfd
1187  << "\n norm = " << info.norm
1188  << "\n flux entry = " << info.fluxentry
1189  << "\n flux file = " << info.fluxfilename
1190  << "\n Enu = " << info.Enu
1191  << "\n geant code = " << info.ppid
1192  << "\n (pdg code) = " << pdg::GeantToPdg(info.ppid)
1193  << "\n decay mode = " << info.mode
1194  << "\n nvtx0 = " << info.nvtx0
1195  << "\n |momentum| @ decay = " << info.ppi
1196  << "\n position_vector @ decay = ("
1197  << info.xpi[0] << ", "
1198  << info.xpi[1] << ", "
1199  << info.xpi[2] << ")"
1200  << "\n direction_vector @ decay = ("
1201  << info.npi[0] << ", "
1202  << info.npi[1] << ", "
1203  << info.npi[2] << ")"
1204  << "\n |momentum| @ prod. = " << info.ppi0
1205  << "\n position_vector @ prod. = ("
1206  << info.xpi0[0] << ", "
1207  << info.xpi0[1] << ", "
1208  << info.xpi0[2] << ")"
1209  << "\n direction_vector @ prod. = ("
1210  << info.npi0[0] << ", "
1211  << info.npi0[1] << ", "
1212  << info.npi0[2] << ")"
1213  << "\n cospibm = " << info.cospibm
1214  << "\n cospi0bm = " << info.cospi0bm
1215  << "\n Plus additional info if flux version is later than 07a"
1216  << endl;
1217 
1218  return stream;
1219  }
int GeantToPdg(int geant_code)
Definition: PDGUtils.cxx:374

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: