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


More...

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

Public Member Functions

 NuChoice ()
 
virtual ~NuChoice ()
 
void clear (const std::string &opt="")
 reset everything More...
 
std::string AsString (const std::string &opt="") const
 
 NuChoice ()
 
virtual ~NuChoice ()
 
void clear (const std::string &opt="")
 reset everything More...
 
std::string AsString (const std::string &opt="") const
 

Public Attributes

int pdgNu
 generated nu pdg code More...
 
double xyWgt
 generated nu x-y weight More...
 
double impWgt
 
TLorentzVector p4NuBeam
 generated nu 4-momentum in beam coord More...
 
TLorentzVector x4NuBeam
 generated nu 4-position in beam coord More...
 
TLorentzVector p4NuUser
 generated nu 4-momentum in user/det coord More...
 
TLorentzVector x4NuUser
 generated nu 4-position in user/det coord More...
 

Detailed Description


All the data members are public as these classes are used as generalized structs. As they will be branches of a TTree no specialized naming indicators signifying that they are member data of a class will be used, nor will any fancy capitalization schemes.

All classes must implement a clear() method that resets their values to an identifiably invalid state or clears any vectors. Additionally classes should provide a AsString() method for formatting themselves

for use output.

Definition at line 48 of file NuChoice.h.

Constructor & Destructor Documentation

bsim::NuChoice::NuChoice ( )
virtual bsim::NuChoice::~NuChoice ( )
virtual
bsim::NuChoice::NuChoice ( )
virtual bsim::NuChoice::~NuChoice ( )
virtual

Member Function Documentation

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

reset everything

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

reset everything

Referenced by genie::flux::GDk2NuFlux::ResetCurrent().

Member Data Documentation

double bsim::NuChoice::impWgt

original importance weight GDk2NuFlux::Weight() might be the product of these

Definition at line 53 of file NuChoice.h.

Referenced by genie::flux::GDk2NuFlux::GenerateNext_weighted().

TLorentzVector bsim::NuChoice::p4NuBeam
TLorentzVector bsim::NuChoice::p4NuUser
int bsim::NuChoice::pdgNu
TLorentzVector bsim::NuChoice::x4NuBeam
TLorentzVector bsim::NuChoice::x4NuUser
double bsim::NuChoice::xyWgt

generated nu x-y weight

Definition at line 52 of file NuChoice.h.

Referenced by genie::flux::GDk2NuFlux::GenerateNext_weighted().


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