Public Member Functions | Public Attributes | List of all members
bsim::Ancestor Class Reference


More...

#include "/cvmfs/nova.opensciencegrid.org/externals/dk2nugenie/v01_08_00e/source/dk2nu/tree/dk2nu.h"

Public Member Functions

 Ancestor ()
 
virtual ~Ancestor ()
 
void clear (const std::string &opt="")
 reset everything More...
 
std::string AsString (const std::string &opt="") const
 
void SetStartXYZT (Double_t x, Double_t y, Double_t z, Double_t t)
 set triplets More...
 
void SetStartP (Double_t px, Double_t py, Double_t pz)
 
void SetStopP (Double_t px, Double_t py, Double_t pz)
 
void SetPProdP (Double_t px, Double_t py, Double_t pz)
 
Double_t r () const
 helper functions More...
 
Double_t startpt () const
 
Double_t startp () const
 
Double_t stoppt () const
 
Double_t stopp () const
 
bool IsInTarget ()
 
Double_t pprodpt () const
 
Double_t pprodp () const
 
 Ancestor ()
 
virtual ~Ancestor ()
 
void clear (const std::string &opt="")
 reset everything More...
 
std::string AsString (const std::string &opt="") const
 
void SetStartXYZT (Double_t x, Double_t y, Double_t z, Double_t t)
 set triplets More...
 
void SetStartP (Double_t px, Double_t py, Double_t pz)
 
void SetStopP (Double_t px, Double_t py, Double_t pz)
 
void SetPProdP (Double_t px, Double_t py, Double_t pz)
 
Double_t r () const
 helper functions More...
 
Double_t startpt () const
 
Double_t startp () const
 
Double_t stoppt () const
 
Double_t stopp () const
 
bool IsInTarget ()
 
Double_t pprodpt () const
 
Double_t pprodp () const
 

Public Attributes

Int_t pdg
 ancestor species More...
 
Double_t startx
 particle x initial position More...
 
Double_t starty
 particle y initial position More...
 
Double_t startz
 particle z initial position More...
 
Double_t startt
 particle initial time More...
 
Double_t startpx
 particle x initial momentum More...
 
Double_t startpy
 particle y initial momentum More...
 
Double_t startpz
 particle z initial momentum More...
 
Double_t stoppx
 particle x final momentum More...
 
Double_t stoppy
 particle y final momentum More...
 
Double_t stoppz
 particle z final momentum More...
 
Double_t polx
 x component of polarization More...
 
Double_t poly
 y component of polarization More...
 
Double_t polz
 z component of polarization More...
 
Double_t pprodpx
 parent x momentum when producing this particle More...
 
Double_t pprodpy
 parent y momentum when producing this particle More...
 
Double_t pprodpz
 parent z momentum when producing this particle More...
 
Int_t nucleus
 nucleus (PDG) type causing the scatter More...
 
Int_t parIndex
 particle index, from nu (0), parent (1) ... to proton (n) More...
 
std::string proc
 name of the process that creates this particle More...
 
std::string ivol
 name of the volume where the particle starts More...
 
std::string imat
 name of the material where the particle starts More...
 

Detailed Description


============================================================================ Ancestor Data: Information about the chain of particles from the initial proton (indx=0) to the final neutrino.

Definition at line 185 of file dk2nu.h.

Constructor & Destructor Documentation

bsim::Ancestor::Ancestor ( )
virtual bsim::Ancestor::~Ancestor ( )
virtual
bsim::Ancestor::Ancestor ( )
virtual bsim::Ancestor::~Ancestor ( )
virtual

Member Function Documentation

std::string bsim::Ancestor::AsString ( const std::string opt = "") const
std::string bsim::Ancestor::AsString ( const std::string opt = "") const
void bsim::Ancestor::clear ( const std::string opt = "")

reset everything

void bsim::Ancestor::clear ( const std::string opt = "")

reset everything

bool bsim::Ancestor::IsInTarget ( )
bool bsim::Ancestor::IsInTarget ( )
Double_t bsim::Ancestor::pprodp ( ) const
Double_t bsim::Ancestor::pprodp ( ) const
Double_t bsim::Ancestor::pprodpt ( ) const
Double_t bsim::Ancestor::pprodpt ( ) const
Double_t bsim::Ancestor::r ( ) const

helper functions

Double_t bsim::Ancestor::r ( ) const

helper functions

void bsim::Ancestor::SetPProdP ( Double_t  px,
Double_t  py,
Double_t  pz 
)
void bsim::Ancestor::SetPProdP ( Double_t  px,
Double_t  py,
Double_t  pz 
)
void bsim::Ancestor::SetStartP ( Double_t  px,
Double_t  py,
Double_t  pz 
)
void bsim::Ancestor::SetStartP ( Double_t  px,
Double_t  py,
Double_t  pz 
)
void bsim::Ancestor::SetStartXYZT ( Double_t  x,
Double_t  y,
Double_t  z,
Double_t  t 
)

set triplets

void bsim::Ancestor::SetStartXYZT ( Double_t  x,
Double_t  y,
Double_t  z,
Double_t  t 
)
void bsim::Ancestor::SetStopP ( Double_t  px,
Double_t  py,
Double_t  pz 
)
void bsim::Ancestor::SetStopP ( Double_t  px,
Double_t  py,
Double_t  pz 
)
Double_t bsim::Ancestor::startp ( ) const
Double_t bsim::Ancestor::startp ( ) const
Double_t bsim::Ancestor::startpt ( ) const
Double_t bsim::Ancestor::startpt ( ) const
Double_t bsim::Ancestor::stopp ( ) const
Double_t bsim::Ancestor::stopp ( ) const
Double_t bsim::Ancestor::stoppt ( ) const
Double_t bsim::Ancestor::stoppt ( ) const

Member Data Documentation

std::string bsim::Ancestor::imat

name of the material where the particle starts

Definition at line 226 of file dk2nu.h.

std::string bsim::Ancestor::ivol

name of the volume where the particle starts

Definition at line 225 of file dk2nu.h.

Referenced by copy_flugg_to_dk2nu(), copy_g4lbne_to_dk2nu(), and copy_g4minerva_to_dk2nu().

Int_t bsim::Ancestor::nucleus

nucleus (PDG) type causing the scatter

Definition at line 219 of file dk2nu.h.

Int_t bsim::Ancestor::parIndex

particle index, from nu (0), parent (1) ... to proton (n)

Definition at line 222 of file dk2nu.h.

Referenced by copy_flugg_to_dk2nu().

Int_t bsim::Ancestor::pdg

ancestor species

Definition at line 188 of file dk2nu.h.

Referenced by copy_flugg_to_dk2nu(), copy_g4lbne_to_dk2nu(), copy_g4minerva_to_dk2nu(), and test_fill_dk2nu().

Double_t bsim::Ancestor::polx

x component of polarization

Definition at line 203 of file dk2nu.h.

Double_t bsim::Ancestor::poly

y component of polarization

Definition at line 204 of file dk2nu.h.

Double_t bsim::Ancestor::polz

z component of polarization

Definition at line 205 of file dk2nu.h.

Double_t bsim::Ancestor::pprodpx

parent x momentum when producing this particle

Definition at line 214 of file dk2nu.h.

Double_t bsim::Ancestor::pprodpy

parent y momentum when producing this particle

Definition at line 215 of file dk2nu.h.

Double_t bsim::Ancestor::pprodpz

parent z momentum when producing this particle

Definition at line 216 of file dk2nu.h.

std::string bsim::Ancestor::proc

name of the process that creates this particle

Definition at line 224 of file dk2nu.h.

Referenced by copy_flugg_to_dk2nu(), copy_g4lbne_to_dk2nu(), and copy_g4minerva_to_dk2nu().

Double_t bsim::Ancestor::startpx

particle x initial momentum

Definition at line 195 of file dk2nu.h.

Double_t bsim::Ancestor::startpy

particle y initial momentum

Definition at line 196 of file dk2nu.h.

Double_t bsim::Ancestor::startpz

particle z initial momentum

Definition at line 197 of file dk2nu.h.

Double_t bsim::Ancestor::startt

particle initial time

Definition at line 193 of file dk2nu.h.

Double_t bsim::Ancestor::startx

particle x initial position

Definition at line 190 of file dk2nu.h.

Double_t bsim::Ancestor::starty

particle y initial position

Definition at line 191 of file dk2nu.h.

Double_t bsim::Ancestor::startz

particle z initial position

Definition at line 192 of file dk2nu.h.

Double_t bsim::Ancestor::stoppx

particle x final momentum

Definition at line 199 of file dk2nu.h.

Double_t bsim::Ancestor::stoppy

particle y final momentum

Definition at line 200 of file dk2nu.h.

Double_t bsim::Ancestor::stoppz

particle z final momentum

Definition at line 201 of file dk2nu.h.


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