Public Member Functions | Public Attributes | Friends | List of all members
genie::flux::GSimpleNtpEntry 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/GSimpleNtpFlux.h"

Public Member Functions

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

Public Attributes

Double_t wgt
 nu weight More...
 
Double_t vtxx
 x position in lab frame More...
 
Double_t vtxy
 y position in lab frame More...
 
Double_t vtxz
 z position in lab frame More...
 
Double_t dist
 distance from hadron decay More...
 
Double_t px
 x momentum in lab frame More...
 
Double_t py
 y momentum in lab frame More...
 
Double_t pz
 z momentum in lab frame More...
 
Double_t E
 energy in lab frame More...
 
Int_t pdg
 nu pdg-code More...
 
UInt_t metakey
 key to meta data More...
 

Friends

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

Detailed Description

Small persistable C-struct -like classes that makes up the SimpleNtpFlux ntuple. This is only valid for a particular flux window (no reweighting, no coordinate transformation available).

Order elements from largest to smallest for ROOT alignment purposes GSimpleNtpEntry

This is the only required branch ("entry") of the "flux" tree

Definition at line 59 of file GSimpleNtpFlux.h.

Constructor & Destructor Documentation

GSimpleNtpEntry::GSimpleNtpEntry ( )

Definition at line 842 of file GSimpleNtpFlux.cxx.

References slidt::Reset().

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

Definition at line 65 of file GSimpleNtpFlux.h.

References operator<<, MECModelEnuComparisons::opt, Print(), Reset(), and runNovaSAM::stream.

65 { };

Member Function Documentation

void GSimpleNtpEntry::Print ( const Option_t *  opt = "") const
void GSimpleNtpEntry::Reset ( void  )

Definition at line 844 of file GSimpleNtpFlux.cxx.

References dist, E, make_root_from_grid_output::pdg, vtxx, vtxy, vtxz, and wgt.

Referenced by fill_simple(), main(), genie::flux::GSimpleNtpFlux::ResetCurrent(), warp_gsimple(), genie::flux::GSimpleNtpAux::~GSimpleNtpAux(), ~GSimpleNtpEntry(), and genie::flux::GSimpleNtpNuMI::~GSimpleNtpNuMI().

845 {
846  wgt = 0.;
847  vtxx = 0.;
848  vtxy = 0.;
849  vtxz = 0.;
850  dist = 0.;
851  px = 0.;
852  py = 0.;
853  pz = 0.;
854  E = 0.;
855 
856  pdg = 0;
857  metakey = 0;
858 }
Double_t E
energy in lab frame
Double_t px
x momentum in lab frame
Double_t vtxy
y position in lab frame
Double_t vtxz
z position in lab frame
Double_t vtxx
x position in lab frame
Double_t pz
z momentum in lab frame
Double_t dist
distance from hadron decay
UInt_t metakey
key to meta data
Double_t py
y momentum in lab frame

Friends And Related Function Documentation

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

Definition at line 975 of file GSimpleNtpFlux.cxx.

Referenced by genie::flux::GSimpleNtpAux::~GSimpleNtpAux(), ~GSimpleNtpEntry(), and genie::flux::GSimpleNtpNuMI::~GSimpleNtpNuMI().

977  {
978  stream << "\nGSimpleNtpEntry "
979  << " PDG " << entry.pdg
980  << " wgt " << entry.wgt
981  << " ( metakey " << entry.metakey << " )"
982  << "\n vtx [" << entry.vtxx << "," << entry.vtxy << ","
983  << entry.vtxz << "] dist " << entry.dist
984  << "\n p4 [" << entry.px << "," << entry.py << ","
985  << entry.pz << "," << entry.E << "]";
986  return stream;
987  }
def entry(str)
Definition: HTMLTools.py:26

Member Data Documentation

Double_t genie::flux::GSimpleNtpEntry::dist

distance from hadron decay

Definition at line 75 of file GSimpleNtpFlux.h.

Referenced by fill_simple(), genie::flux::GSimpleNtpFlux::GetDecayDist(), main(), and genie::flux::operator<<().

Double_t genie::flux::GSimpleNtpEntry::E
UInt_t genie::flux::GSimpleNtpEntry::metakey
Int_t genie::flux::GSimpleNtpEntry::pdg
Double_t genie::flux::GSimpleNtpEntry::px
Double_t genie::flux::GSimpleNtpEntry::py
Double_t genie::flux::GSimpleNtpEntry::pz
Double_t genie::flux::GSimpleNtpEntry::vtxx

x position in lab frame

Definition at line 72 of file GSimpleNtpFlux.h.

Referenced by fill_simple(), genie::flux::GSimpleNtpFlux::GenerateNext_weighted(), main(), and genie::flux::operator<<().

Double_t genie::flux::GSimpleNtpEntry::vtxy

y position in lab frame

Definition at line 73 of file GSimpleNtpFlux.h.

Referenced by fill_simple(), genie::flux::GSimpleNtpFlux::GenerateNext_weighted(), main(), and genie::flux::operator<<().

Double_t genie::flux::GSimpleNtpEntry::vtxz

z position in lab frame

Definition at line 74 of file GSimpleNtpFlux.h.

Referenced by fill_simple(), genie::flux::GSimpleNtpFlux::GenerateNext_weighted(), main(), and genie::flux::operator<<().

Double_t genie::flux::GSimpleNtpEntry::wgt

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