#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N21-03-08/GenieSNova/src/GenParticle.h"
Public Member Functions | |
void | SetMom (const TVector3 &mom) |
void | SetMass (double mass) |
void | SetDirection (const TVector3 &dir) |
void | SetT (double t) |
void | SetE (double e) |
void | SetPDG (int pdg) |
int | PDG () const |
double | W () const |
const TLorentzVector & | Mom () const |
const TLorentzVector & | Pos () const |
Public Attributes | |
int | fPDG = 12 |
double | fW = 1 |
double | fM = 0 |
TLorentzVector | fMom = {0, 0, 0, 0} |
TLorentzVector | fPos = {0, 0, 0, 0} |
Definition at line 10 of file GenParticle.h.
const TLorentzVector & GenParticle::Mom | ( | ) | const |
Definition at line 67 of file GenParticle.cxx.
References fMom.
Referenced by genie::supernova::GFluxSNova::Momentum().
int GenParticle::PDG | ( | ) | const |
Definition at line 53 of file GenParticle.cxx.
References fPDG.
Referenced by genie::supernova::GFluxSNova::PdgCode().
const TLorentzVector & GenParticle::Pos | ( | ) | const |
Definition at line 74 of file GenParticle.cxx.
References fPos.
Referenced by genie::supernova::GFluxSNova::Position().
void GenParticle::SetDirection | ( | const TVector3 & | dir | ) |
Definition at line 25 of file GenParticle.cxx.
References fMom.
Referenced by genie::supernova::GFluxWindow::GenerateNext().
void GenParticle::SetE | ( | double | e | ) |
Definition at line 39 of file GenParticle.cxx.
References fMom.
Referenced by genie::supernova::GFluxGenerator::FillParticle().
void GenParticle::SetMass | ( | double | mass | ) |
Definition at line 18 of file GenParticle.cxx.
References fM.
void GenParticle::SetMom | ( | const TVector3 & | mom | ) |
Definition at line 11 of file GenParticle.cxx.
Definition at line 46 of file GenParticle.cxx.
References fPDG, and make_root_from_grid_output::pdg.
Referenced by genie::supernova::GFluxGenerator::FillParticle().
void GenParticle::SetT | ( | double | t | ) |
Definition at line 32 of file GenParticle.cxx.
References fPos.
Referenced by genie::supernova::GFluxGenerator::FillParticle().
double GenParticle::W | ( | ) | const |
Definition at line 60 of file GenParticle.cxx.
References fW.
Referenced by genie::supernova::GFluxSNova::Weight().
double genie::supernova::GenParticle::fM = 0 |
Definition at line 26 of file GenParticle.h.
TLorentzVector genie::supernova::GenParticle::fMom = {0, 0, 0, 0} |
Definition at line 27 of file GenParticle.h.
Referenced by Mom(), SetDirection(), SetE(), and SetMom().
int genie::supernova::GenParticle::fPDG = 12 |
Definition at line 24 of file GenParticle.h.
TLorentzVector genie::supernova::GenParticle::fPos = {0, 0, 0, 0} |
Definition at line 28 of file GenParticle.h.
Referenced by genie::supernova::GFluxWindow::GenerateNext(), Pos(), and SetT().
double genie::supernova::GenParticle::fW = 1 |
Definition at line 25 of file GenParticle.h.
Referenced by genie::supernova::GFluxSNova::GenerateNext(), and W().