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::GSimpleNtpNuMI Class Reference

#include <GSimpleNtpFlux.h>

Public Member Functions

 GSimpleNtpNuMI ()
 
virtual ~GSimpleNtpNuMI ()
 
void Reset ()
 
void Print (const Option_t *opt="") const
 

Public Attributes

Double_t tpx
 parent particle px at target exit More...
 
Double_t tpy
 
Double_t tpz
 
Double_t vx
 vertex position of hadron/muon decay More...
 
Double_t vy
 
Double_t vz
 
Double_t pdpx
 nu parent momentum at time of decay More...
 
Double_t pdpy
 
Double_t pdpz
 
Double_t pppx
 nu parent momentum at production point More...
 
Double_t pppy
 
Double_t pppz
 
Int_t ndecay
 decay mode More...
 
Int_t ptype
 parent type (PDG) More...
 
Int_t ppmedium
 tracking medium where parent was produced More...
 
Int_t tptype
 parent particle type at target exit More...
 
Int_t run
 
Int_t evtno
 
Int_t entryno
 

Friends

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

Detailed Description

GSimpleNtpNuMI

Additional elements for NuMI (allow SKZP reweighting and reference back to original GNuMI flux entries) as "numi" branch

Definition at line 96 of file GSimpleNtpFlux.h.

Constructor & Destructor Documentation

GSimpleNtpNuMI::GSimpleNtpNuMI ( )

Definition at line 869 of file GSimpleNtpFlux.cxx.

References Reset().

virtual genie::flux::GSimpleNtpNuMI::~GSimpleNtpNuMI ( )
inlinevirtual

Definition at line 99 of file GSimpleNtpFlux.h.

99 { };

Member Function Documentation

void GSimpleNtpNuMI::Print ( const Option_t *  opt = "") const

Definition at line 887 of file GSimpleNtpFlux.cxx.

888 {
889  std::cout << *this << std::endl;
890 }
void GSimpleNtpNuMI::Reset ( void  )

Definition at line 871 of file GSimpleNtpFlux.cxx.

References entryno, evtno, ndecay, pdpx, pdpy, pdpz, ppmedium, pppx, pppy, pppz, ptype, run, tptype, tpx, tpy, tpz, vx, vy, and vz.

Referenced by GSimpleNtpNuMI(), and genie::flux::GSimpleNtpFlux::ResetCurrent().

872 {
873  tpx = tpy = tpz = 0.;
874  vx = vy = vz = 0.;
875  pdpx = pdpy = pdpz = 0.;
876  pppx = pppy = pppz = 0.;
877 
878  ndecay = 0;
879  ptype = 0;
880  ppmedium = 0;
881  tptype = 0;
882  run = -1;
883  evtno = -1;
884  entryno = -1;
885 }
Double_t pdpx
nu parent momentum at time of decay
Double_t vx
vertex position of hadron/muon decay
Int_t tptype
parent particle type at target exit
Double_t pppx
nu parent momentum at production point
Int_t ppmedium
tracking medium where parent was produced
Double_t tpx
parent particle px at target exit
Int_t ptype
parent type (PDG)

Friends And Related Function Documentation

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

Definition at line 993 of file GSimpleNtpFlux.cxx.

995 {
996  stream << "\nGSimpleNtpNuMI "
997  << "run " << numi.run
998  << " evtno " << numi.evtno
999  << " entryno " << numi.entryno
1000  << "\n ndecay " << numi.ndecay << " ptype " << numi.ptype
1001  << "\n tptype " << numi.tptype << " ppmedium " << numi.ppmedium
1002  << "\n tp[xyz] [" << numi.tpx << "," << numi.tpy << "," << numi.tpz << "]"
1003  << "\n v[xyz] [" << numi.vx << "," << numi.vy << "," << numi.vz << "]"
1004  << "\n pd[xyz] [" << numi.pdpx << "," << numi.pdpy << "," << numi.pdpz << "]"
1005  << "\n pp[xyz] [" << numi.pppx << "," << numi.pppy << "," << numi.pppz << "]"
1006  ;
1007  return stream;
1008 }

Member Data Documentation

Int_t genie::flux::GSimpleNtpNuMI::entryno
Int_t genie::flux::GSimpleNtpNuMI::evtno
Int_t genie::flux::GSimpleNtpNuMI::ndecay

decay mode

Definition at line 116 of file GSimpleNtpFlux.h.

Referenced by genie::flux::operator<<(), and Reset().

Double_t genie::flux::GSimpleNtpNuMI::pdpx

nu parent momentum at time of decay

Definition at line 109 of file GSimpleNtpFlux.h.

Referenced by genie::flux::operator<<(), and Reset().

Double_t genie::flux::GSimpleNtpNuMI::pdpy

Definition at line 110 of file GSimpleNtpFlux.h.

Referenced by genie::flux::operator<<(), and Reset().

Double_t genie::flux::GSimpleNtpNuMI::pdpz

Definition at line 111 of file GSimpleNtpFlux.h.

Referenced by genie::flux::operator<<(), and Reset().

Int_t genie::flux::GSimpleNtpNuMI::ppmedium

tracking medium where parent was produced

Definition at line 118 of file GSimpleNtpFlux.h.

Referenced by genie::flux::operator<<(), and Reset().

Double_t genie::flux::GSimpleNtpNuMI::pppx

nu parent momentum at production point

Definition at line 112 of file GSimpleNtpFlux.h.

Referenced by genie::flux::operator<<(), and Reset().

Double_t genie::flux::GSimpleNtpNuMI::pppy

Definition at line 113 of file GSimpleNtpFlux.h.

Referenced by genie::flux::operator<<(), and Reset().

Double_t genie::flux::GSimpleNtpNuMI::pppz

Definition at line 114 of file GSimpleNtpFlux.h.

Referenced by genie::flux::operator<<(), and Reset().

Int_t genie::flux::GSimpleNtpNuMI::ptype

parent type (PDG)

Definition at line 117 of file GSimpleNtpFlux.h.

Referenced by genie::flux::operator<<(), and Reset().

Int_t genie::flux::GSimpleNtpNuMI::run

Definition at line 121 of file GSimpleNtpFlux.h.

Referenced by genie::flux::operator<<(), and Reset().

Int_t genie::flux::GSimpleNtpNuMI::tptype

parent particle type at target exit

Definition at line 119 of file GSimpleNtpFlux.h.

Referenced by genie::flux::operator<<(), and Reset().

Double_t genie::flux::GSimpleNtpNuMI::tpx

parent particle px at target exit

Definition at line 103 of file GSimpleNtpFlux.h.

Referenced by genie::flux::operator<<(), and Reset().

Double_t genie::flux::GSimpleNtpNuMI::tpy

Definition at line 104 of file GSimpleNtpFlux.h.

Referenced by genie::flux::operator<<(), and Reset().

Double_t genie::flux::GSimpleNtpNuMI::tpz

Definition at line 105 of file GSimpleNtpFlux.h.

Referenced by genie::flux::operator<<(), and Reset().

Double_t genie::flux::GSimpleNtpNuMI::vx

vertex position of hadron/muon decay

Definition at line 106 of file GSimpleNtpFlux.h.

Referenced by genie::flux::operator<<(), and Reset().

Double_t genie::flux::GSimpleNtpNuMI::vy

Definition at line 107 of file GSimpleNtpFlux.h.

Referenced by genie::flux::operator<<(), and Reset().

Double_t genie::flux::GSimpleNtpNuMI::vz

Definition at line 108 of file GSimpleNtpFlux.h.

Referenced by genie::flux::operator<<(), and Reset().


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