33 #define DK2NUVER 11 // KEEP THIS UP-TO-DATE! increment for each change 34 #define KEEP_ANCESTOR_PPRODPXYZ 1 107 NuRay(
double px,
double py,
double pz,
double E,
double wgt);
213 #ifdef KEEP_ANCESTOR_PPRODPXYZ 235 void SetStartXYZT(Double_t
x, Double_t
y, Double_t
z, Double_t
t);
236 void SetStartP(Double_t
px, Double_t
py, Double_t
pz);
237 void SetStopP(Double_t
px, Double_t
py, Double_t
pz);
238 void SetPProdP(Double_t
px, Double_t
py, Double_t
pz);
242 Double_t startpt()
const;
243 Double_t startp()
const;
244 Double_t stoppt()
const;
245 Double_t stopp()
const;
250 #ifdef KEEP_ANCESTOR_PPRODPXYZ 251 Double_t pprodpt()
const;
252 Double_t pprodp()
const;
359 void Print(Option_t* option =
"")
const;
361 size_t indxnu()
const;
362 size_t indxp()
const;
363 size_t indxgp()
const;
364 bool overflow()
const;
381 #endif // BSIM_DK2NU_H k0long => nu_mu_bar + pi+ + mu-
Double_t ppdydz
% direction of nu parent at its production point
Int_t job
identifying job #
Double_t E
E for nu at location.
Double_t polx
x component of polarization
Double_t px
px for nu at location
Int_t parIndex
particle index, from nu (0), parent (1) ... to proton (n)
Double_t pppz
% z momentum of nu parent at its production point
Double_t pprodpz
parent z momentum when producing this particle
Double_t wgt
weight for nu at location
std::string ivol
name of the volume where the particle starts
Double_t py
py for nu at location
Double_t pdpx
% px momentum of nu parent at (vx,vy,vz)
std::vector< bsim::NuRay > nuray
rays through detector fixed points
Int_t potnum
proton # processed by simulation
std::string proc
name of the process that creates this particle
Double_t pprodpx
parent x momentum when producing this particle
Double_t poly
y component of polarization
void clear(const std::string &opt="")
reset everything
Double_t nimpwt
% cumulative importance weight prod to decay
Double_t necm
% nu energy in center-of-mass frame
bsim::Decay decay
basic decay information
Double_t ppvz
production vertex z of nu parent
void Decay(const Decayer *decayer, int pdgc, double E, int ndecays)
bsim namespace for beam simulation classes and functions
Double_t tvy
y position of nu ancestor as it exits target
Double_t ppdxdz
% direction of nu parent at its production point
Double_t ppvy
production vertex y of nu parent
mu- => nu_mu + nu_e_bar + e-
Double_t vz
% neutrino production vertex z
bsim::TgtExit tgtexit
info about leaving the target
Double_t startpz
particle z initial momentum
Int_t tptype
species of ancestor exiting the target
Int_t pdg
ancestor species
Double_t pdpz
% pz momentum of nu parent at (vx,vy,vz)
k0long => nu_mu + pi- + mu+
std::vector< Double_t > vdbl
user defined vector of doubles
Double_t ppvx
production vertex x of nu parent
Double_t tpz
z momentum of nu ancestor as it exits target
Double_t starty
particle y initial position
enum bsim::dkproc dkproc_t
Double_t ppenergy
% energy of nu parent at its production point
Double_t stoppz
particle z final momentum
Double_t tpy
y momentum of nu ancestor as it exits target
Int_t ntype
% neutrino flavor (PDG? code)
Double_t startpx
particle x initial momentum
Double_t stoppx
particle x final momentum
enum bsim::flgbitval flgbitval_t
std::string imat
name of the material where the particle starts
one-beyond end for iterating
Int_t nucleus
nucleus (PDG) type causing the scatter
Double_t polz
z component of polarization
Double_t startx
particle x initial position
std::vector< Int_t > vint
user defined vector of integers
Double_t startt
particle initial time
k- => nu_e_bar + pi0 + e-
k0long => nu_e + pi- + e+
void Print(std::string prefix, std::string name, std::string suffix="")
Double_t pz
pz for nu at location
Double_t tvz
z position of nu ancestor as it exits target
Double_t stoppy
particle y final momentum
Double_t startpy
particle y initial momentum
std::vector< bsim::Traj > traj
[optional] trajectory points
std::string AsString(const std::string &opt="") const
mu+ => nu_mu_bar + nu_e + e+
Double_t tpx
x momentum of nu ancestor as it exits target
Double_t vx
% neutrino production vertex x
k- => nu_mu_bar + pi0 + mu-
Int_t ndecay
decay process (see dkproc_t)
Double_t mupare
% energy of nu grandparent
Double_t vy
% neutrino production vertex y
k0long => nu_e_bar + p+ + e-
Int_t ppmedium
material nu parent was produced in
Double_t tvx
x position of nu ancestor as it exits target
std::vector< bsim::Ancestor > ancestor
chain from proton to neutrino
Double_t pdpy
% py momentum of nu parent at (vx,vy,vz)
std::ostream & operator<<(std::ostream &os, const bsim::Dk2Nu &dk2nu)
Double_t startz
particle z initial position
Int_t ptype
% nu parent species (PDG? code)
Double_t pprodpy
parent y momentum when producing this particle