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

#include <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 152 of file GJPARCNuFlux.h.

Constructor & Destructor Documentation

GJPARCNuFluxPassThroughInfo::GJPARCNuFluxPassThroughInfo ( )

Definition at line 941 of file GJPARCNuFlux.cxx.

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

Definition at line 947 of file GJPARCNuFlux.cxx.

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.

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:416
QTextStream & endl(QTextStream &s)

Member Data Documentation

float genie::flux::GJPARCNuFluxPassThroughInfo::alpha[2]

Definition at line 218 of file GJPARCNuFlux.h.

float genie::flux::GJPARCNuFluxPassThroughInfo::anorm

Definition at line 207 of file GJPARCNuFlux.h.

float genie::flux::GJPARCNuFluxPassThroughInfo::bpos[2]

Definition at line 214 of file GJPARCNuFlux.h.

float genie::flux::GJPARCNuFluxPassThroughInfo::brms[2]

Definition at line 216 of file GJPARCNuFlux.h.

float genie::flux::GJPARCNuFluxPassThroughInfo::btilt[2]

Definition at line 215 of file GJPARCNuFlux.h.

float genie::flux::GJPARCNuFluxPassThroughInfo::cospi0bm

Definition at line 182 of file GJPARCNuFlux.h.

float genie::flux::GJPARCNuFluxPassThroughInfo::cospibm

Definition at line 181 of file GJPARCNuFlux.h.

float genie::flux::GJPARCNuFluxPassThroughInfo::emit[2]

Definition at line 217 of file GJPARCNuFlux.h.

float genie::flux::GJPARCNuFluxPassThroughInfo::Enu

Definition at line 165 of file GJPARCNuFlux.h.

float genie::flux::GJPARCNuFluxPassThroughInfo::Enusk

Definition at line 205 of file GJPARCNuFlux.h.

long genie::flux::GJPARCNuFluxPassThroughInfo::fluxentry

Definition at line 161 of file GJPARCNuFlux.h.

string genie::flux::GJPARCNuFluxPassThroughInfo::fluxfilename

Definition at line 162 of file GJPARCNuFlux.h.

float genie::flux::GJPARCNuFluxPassThroughInfo::gamom0

Definition at line 187 of file GJPARCNuFlux.h.

float genie::flux::GJPARCNuFluxPassThroughInfo::gcosbm[fNgmax]

Definition at line 193 of file GJPARCNuFlux.h.

float genie::flux::GJPARCNuFluxPassThroughInfo::gdistal[fNgmax]

Definition at line 202 of file GJPARCNuFlux.h.

float genie::flux::GJPARCNuFluxPassThroughInfo::gdistc[fNgmax]

Definition at line 201 of file GJPARCNuFlux.h.

float genie::flux::GJPARCNuFluxPassThroughInfo::gdistfe[fNgmax]

Definition at line 204 of file GJPARCNuFlux.h.

float genie::flux::GJPARCNuFluxPassThroughInfo::gdistti[fNgmax]

Definition at line 203 of file GJPARCNuFlux.h.

unsigned char genie::flux::GJPARCNuFluxPassThroughInfo::gipart

Definition at line 184 of file GJPARCNuFlux.h.

int genie::flux::GJPARCNuFluxPassThroughInfo::gmat[fNgmax]

Definition at line 200 of file GJPARCNuFlux.h.

int genie::flux::GJPARCNuFluxPassThroughInfo::gmec[fNgmax]

Definition at line 198 of file GJPARCNuFlux.h.

int genie::flux::GJPARCNuFluxPassThroughInfo::gpid[fNgmax]

Definition at line 197 of file GJPARCNuFlux.h.

float genie::flux::GJPARCNuFluxPassThroughInfo::gpos0[3]

Definition at line 185 of file GJPARCNuFlux.h.

float genie::flux::GJPARCNuFluxPassThroughInfo::gpx[fNgmax]

Definition at line 190 of file GJPARCNuFlux.h.

float genie::flux::GJPARCNuFluxPassThroughInfo::gpy[fNgmax]

Definition at line 191 of file GJPARCNuFlux.h.

float genie::flux::GJPARCNuFluxPassThroughInfo::gpz[fNgmax]

Definition at line 192 of file GJPARCNuFlux.h.

float genie::flux::GJPARCNuFluxPassThroughInfo::gvec0[3]

Definition at line 186 of file GJPARCNuFlux.h.

float genie::flux::GJPARCNuFluxPassThroughInfo::gvx[fNgmax]

Definition at line 194 of file GJPARCNuFlux.h.

float genie::flux::GJPARCNuFluxPassThroughInfo::gvy[fNgmax]

Definition at line 195 of file GJPARCNuFlux.h.

float genie::flux::GJPARCNuFluxPassThroughInfo::gvz[fNgmax]

Definition at line 196 of file GJPARCNuFlux.h.

float genie::flux::GJPARCNuFluxPassThroughInfo::hcur[3]

Definition at line 219 of file GJPARCNuFlux.h.

int genie::flux::GJPARCNuFluxPassThroughInfo::idfd

Definition at line 183 of file GJPARCNuFlux.h.

int genie::flux::GJPARCNuFluxPassThroughInfo::mode

Definition at line 167 of file GJPARCNuFlux.h.

int genie::flux::GJPARCNuFluxPassThroughInfo::ng

Definition at line 189 of file GJPARCNuFlux.h.

float genie::flux::GJPARCNuFluxPassThroughInfo::nnu[3]

Definition at line 179 of file GJPARCNuFlux.h.

float genie::flux::GJPARCNuFluxPassThroughInfo::norm

Definition at line 171 of file GJPARCNuFlux.h.

float genie::flux::GJPARCNuFluxPassThroughInfo::normsk

Definition at line 206 of file GJPARCNuFlux.h.

float genie::flux::GJPARCNuFluxPassThroughInfo::npi[3]

Definition at line 170 of file GJPARCNuFlux.h.

float genie::flux::GJPARCNuFluxPassThroughInfo::npi0[3]

Definition at line 175 of file GJPARCNuFlux.h.

int genie::flux::GJPARCNuFluxPassThroughInfo::ntrig

Definition at line 212 of file GJPARCNuFlux.h.

int genie::flux::GJPARCNuFluxPassThroughInfo::nvtx0

Definition at line 172 of file GJPARCNuFlux.h.

int genie::flux::GJPARCNuFluxPassThroughInfo::pint

Definition at line 213 of file GJPARCNuFlux.h.

float genie::flux::GJPARCNuFluxPassThroughInfo::ppi

Definition at line 168 of file GJPARCNuFlux.h.

float genie::flux::GJPARCNuFluxPassThroughInfo::ppi0

Definition at line 173 of file GJPARCNuFlux.h.

int genie::flux::GJPARCNuFluxPassThroughInfo::ppid

Definition at line 166 of file GJPARCNuFlux.h.

int genie::flux::GJPARCNuFluxPassThroughInfo::rand

Definition at line 220 of file GJPARCNuFlux.h.

float genie::flux::GJPARCNuFluxPassThroughInfo::rnu

Definition at line 176 of file GJPARCNuFlux.h.

int genie::flux::GJPARCNuFluxPassThroughInfo::rseed[2]

Definition at line 221 of file GJPARCNuFlux.h.

int genie::flux::GJPARCNuFluxPassThroughInfo::tuneid

Definition at line 211 of file GJPARCNuFlux.h.

float genie::flux::GJPARCNuFluxPassThroughInfo::version

Definition at line 210 of file GJPARCNuFlux.h.

float genie::flux::GJPARCNuFluxPassThroughInfo::xnu

Definition at line 177 of file GJPARCNuFlux.h.

float genie::flux::GJPARCNuFluxPassThroughInfo::xpi[3]

Definition at line 169 of file GJPARCNuFlux.h.

float genie::flux::GJPARCNuFluxPassThroughInfo::xpi0[3]

Definition at line 174 of file GJPARCNuFlux.h.

float genie::flux::GJPARCNuFluxPassThroughInfo::ynu

Definition at line 178 of file GJPARCNuFlux.h.


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