GENIEGenerator
Loading...
Searching...
No Matches
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
Double_t tpy
Double_t tpz
Double_t vx
 vertex position of hadron/muon decay
Double_t vy
Double_t vz
Double_t pdpx
 nu parent momentum at time of decay
Double_t pdpy
Double_t pdpz
Double_t pppx
 nu parent momentum at production point
Double_t pppy
Double_t pppz
Int_t ndecay
 decay mode
Int_t ptype
 parent type (PDG)
Int_t ppmedium
 tracking medium where parent was produced
Int_t tptype
 parent particle type at target exit
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::GSimpleNtpNuMI ( )

Definition at line 869 of file GSimpleNtpFlux.cxx.

References Reset().

◆ ~GSimpleNtpNuMI()

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

Definition at line 99 of file GSimpleNtpFlux.h.

99{ };

Member Function Documentation

◆ Print()

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

Definition at line 887 of file GSimpleNtpFlux.cxx.

888{
889 std::cout << *this << std::endl;
890}

◆ Reset()

void GSimpleNtpNuMI::Reset ( )

Definition at line 871 of file GSimpleNtpFlux.cxx.

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}
Int_t ppmedium
tracking medium where parent was produced
Int_t ptype
parent type (PDG)
Double_t vx
vertex position of hadron/muon decay
Double_t pdpx
nu parent momentum at time of decay
Int_t tptype
parent particle type at target exit
Double_t pppx
nu parent momentum at production point
Double_t tpx
parent particle px at target exit

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

Referenced by GSimpleNtpNuMI().

◆ operator<<

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}

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

Member Data Documentation

◆ entryno

Int_t genie::flux::GSimpleNtpNuMI::entryno

Definition at line 123 of file GSimpleNtpFlux.h.

Referenced by operator<<, and Reset().

◆ evtno

Int_t genie::flux::GSimpleNtpNuMI::evtno

Definition at line 122 of file GSimpleNtpFlux.h.

Referenced by operator<<, and Reset().

◆ ndecay

Int_t genie::flux::GSimpleNtpNuMI::ndecay

decay mode

Definition at line 116 of file GSimpleNtpFlux.h.

Referenced by operator<<, and Reset().

◆ pdpx

Double_t genie::flux::GSimpleNtpNuMI::pdpx

nu parent momentum at time of decay

Definition at line 109 of file GSimpleNtpFlux.h.

Referenced by operator<<, and Reset().

◆ pdpy

Double_t genie::flux::GSimpleNtpNuMI::pdpy

Definition at line 110 of file GSimpleNtpFlux.h.

Referenced by operator<<, and Reset().

◆ pdpz

Double_t genie::flux::GSimpleNtpNuMI::pdpz

Definition at line 111 of file GSimpleNtpFlux.h.

Referenced by operator<<, and Reset().

◆ ppmedium

Int_t genie::flux::GSimpleNtpNuMI::ppmedium

tracking medium where parent was produced

Definition at line 118 of file GSimpleNtpFlux.h.

Referenced by operator<<, and Reset().

◆ pppx

Double_t genie::flux::GSimpleNtpNuMI::pppx

nu parent momentum at production point

Definition at line 112 of file GSimpleNtpFlux.h.

Referenced by operator<<, and Reset().

◆ pppy

Double_t genie::flux::GSimpleNtpNuMI::pppy

Definition at line 113 of file GSimpleNtpFlux.h.

Referenced by operator<<, and Reset().

◆ pppz

Double_t genie::flux::GSimpleNtpNuMI::pppz

Definition at line 114 of file GSimpleNtpFlux.h.

Referenced by operator<<, and Reset().

◆ ptype

Int_t genie::flux::GSimpleNtpNuMI::ptype

parent type (PDG)

Definition at line 117 of file GSimpleNtpFlux.h.

Referenced by operator<<, and Reset().

◆ run

Int_t genie::flux::GSimpleNtpNuMI::run

Definition at line 121 of file GSimpleNtpFlux.h.

Referenced by operator<<, and Reset().

◆ tptype

Int_t genie::flux::GSimpleNtpNuMI::tptype

parent particle type at target exit

Definition at line 119 of file GSimpleNtpFlux.h.

Referenced by operator<<, and Reset().

◆ tpx

Double_t genie::flux::GSimpleNtpNuMI::tpx

parent particle px at target exit

Definition at line 103 of file GSimpleNtpFlux.h.

Referenced by operator<<, and Reset().

◆ tpy

Double_t genie::flux::GSimpleNtpNuMI::tpy

Definition at line 104 of file GSimpleNtpFlux.h.

Referenced by operator<<, and Reset().

◆ tpz

Double_t genie::flux::GSimpleNtpNuMI::tpz

Definition at line 105 of file GSimpleNtpFlux.h.

Referenced by operator<<, and Reset().

◆ vx

Double_t genie::flux::GSimpleNtpNuMI::vx

vertex position of hadron/muon decay

Definition at line 106 of file GSimpleNtpFlux.h.

Referenced by operator<<, and Reset().

◆ vy

Double_t genie::flux::GSimpleNtpNuMI::vy

Definition at line 107 of file GSimpleNtpFlux.h.

Referenced by operator<<, and Reset().

◆ vz

Double_t genie::flux::GSimpleNtpNuMI::vz

Definition at line 108 of file GSimpleNtpFlux.h.

Referenced by operator<<, and Reset().


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