#include <KaonParent.h>
Definition at line 10 of file KaonParent.h.
evgen::ldm::KaonParent::KaonParent |
( |
| ) |
|
|
inline |
evgen::ldm::KaonParent::KaonParent |
( |
const simb::MCFlux & |
flux | ) |
|
Definition at line 4 of file KaonParent.cxx.
6 switch (flux.fndecay) {
29 TVector3 pos3 = TVector3(flux.fvx, flux.fvy, flux.fvz);
30 double time = flux.fxpoint;
40 double drdz2 = flux.fppdxdz*flux.fppdxdz + flux.fppdydz*flux.fppdydz;
43 double production_momentum = flux.fpppz * sqrt(1 + drdz2);
51 double mass = sqrt(flux.fppenergy*flux.fppenergy - production_momentum*production_momentum);
53 mom.SetVectM(TVector3(flux.fpdpx, flux.fpdpy, flux.fpdpz), mass);
int evgen::ldm::KaonParent::kaon_pdg |
int evgen::ldm::KaonParent::mode |
TLorentzVector evgen::ldm::KaonParent::mom |
TLorentzVector evgen::ldm::KaonParent::pos |
double evgen::ldm::KaonParent::weight |
The documentation for this class was generated from the following files: