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

#include <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 (meters) More...
 
Double_t vtxy
 y position in lab frame More...
 
Double_t vtxz
 z position in lab frame More...
 
Double_t vtxt
 time of ray start (seconds) More...
 
Double_t dist
 distance from hadron decay More...
 
Double_t px
 x momentum in lab frame (GeV) 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 58 of file GSimpleNtpFlux.h.

Constructor & Destructor Documentation

GSimpleNtpEntry::GSimpleNtpEntry ( )

Definition at line 833 of file GSimpleNtpFlux.cxx.

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

Definition at line 64 of file GSimpleNtpFlux.h.

64 { };

Member Function Documentation

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

Definition at line 852 of file GSimpleNtpFlux.cxx.

853 {
854  std::cout << *this << std::endl;
855 }
QTextStream & endl(QTextStream &s)
void GSimpleNtpEntry::Reset ( void  )

Definition at line 835 of file GSimpleNtpFlux.cxx.

836 {
837  wgt = 0.;
838  vtxx = 0.;
839  vtxy = 0.;
840  vtxz = 0.;
841  vtxt = 0.;
842  dist = 0.;
843  px = 0.;
844  py = 0.;
845  pz = 0.;
846  E = 0.;
847 
848  pdg = 0;
849  metakey = 0;
850 }
Double_t px
x momentum in lab frame (GeV)
Double_t vtxy
y position in lab frame
Double_t vtxt
time of ray start (seconds)
Double_t vtxz
z position in lab frame
Double_t vtxx
x position in lab frame (meters)
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 967 of file GSimpleNtpFlux.cxx.

969  {
970  stream << "\nGSimpleNtpEntry "
971  << " PDG " << entry.pdg
972  << " wgt " << entry.wgt
973  << " ( metakey " << entry.metakey << " )"
974  << "\n vtx [" << entry.vtxx << "," << entry.vtxy << ","
975  << entry.vtxz << ", t=" << entry.vtxt << "] dist " << entry.dist
976  << "\n p4 [" << entry.px << "," << entry.py << ","
977  << entry.pz << "," << entry.E << "]";
978  return stream;
979  }
QList< Entry > entry

Member Data Documentation

Double_t genie::flux::GSimpleNtpEntry::dist

distance from hadron decay

Definition at line 75 of file GSimpleNtpFlux.h.

Double_t genie::flux::GSimpleNtpEntry::E

energy in lab frame

Definition at line 80 of file GSimpleNtpFlux.h.

UInt_t genie::flux::GSimpleNtpEntry::metakey

key to meta data

Definition at line 83 of file GSimpleNtpFlux.h.

Int_t genie::flux::GSimpleNtpEntry::pdg

nu pdg-code

Definition at line 82 of file GSimpleNtpFlux.h.

Double_t genie::flux::GSimpleNtpEntry::px

x momentum in lab frame (GeV)

Definition at line 77 of file GSimpleNtpFlux.h.

Double_t genie::flux::GSimpleNtpEntry::py

y momentum in lab frame

Definition at line 78 of file GSimpleNtpFlux.h.

Double_t genie::flux::GSimpleNtpEntry::pz

z momentum in lab frame

Definition at line 79 of file GSimpleNtpFlux.h.

Double_t genie::flux::GSimpleNtpEntry::vtxt

time of ray start (seconds)

Definition at line 74 of file GSimpleNtpFlux.h.

Double_t genie::flux::GSimpleNtpEntry::vtxx

x position in lab frame (meters)

Definition at line 71 of file GSimpleNtpFlux.h.

Double_t genie::flux::GSimpleNtpEntry::vtxy

y position in lab frame

Definition at line 72 of file GSimpleNtpFlux.h.

Double_t genie::flux::GSimpleNtpEntry::vtxz

z position in lab frame

Definition at line 73 of file GSimpleNtpFlux.h.

Double_t genie::flux::GSimpleNtpEntry::wgt

nu weight

Definition at line 69 of file GSimpleNtpFlux.h.


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