#include "/cvmfs/nova.opensciencegrid.org/externals/dk2nugenie/v01_08_00e/source/dk2nu/tree/dkmeta.h"
Public Member Functions | |
Location () | |
Location (double x, double y, double z, std::string name) | |
virtual | ~Location () |
void | clear (const std::string &opt="") |
reset everything More... | |
std::string | AsString (const std::string &opt="") const |
Location () | |
Location (double x, double y, double z, std::string name) | |
virtual | ~Location () |
void | clear (const std::string &opt="") |
reset everything More... | |
std::string | AsString (const std::string &opt="") const |
Public Attributes | |
Double_t | x |
x position of location More... | |
Double_t | y |
y position of location More... | |
Double_t | z |
z position of location More... | |
std::string | name |
identifying name More... | |
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
Specified location where energy and weight will be evaluated Assume to be in beam coordinate system w/ units of cm
bsim::Location::Location | ( | ) |
bsim::Location::Location | ( | double | x, |
double | y, | ||
double | z, | ||
std::string | name | ||
) |
|
virtual |
bsim::Location::Location | ( | ) |
bsim::Location::Location | ( | double | x, |
double | y, | ||
double | z, | ||
std::string | name | ||
) |
|
virtual |
std::string bsim::Location::AsString | ( | const std::string & | opt = "" | ) | const |
std::string bsim::Location::AsString | ( | const std::string & | opt = "" | ) | const |
void bsim::Location::clear | ( | const std::string & | opt = "" | ) |
reset everything
void bsim::Location::clear | ( | const std::string & | opt = "" | ) |
reset everything
std::string bsim::Location::name |
identifying name
Definition at line 60 of file dkmeta.h.
Referenced by std_candles.StdCandlesPlotter::IsMC(), run_unfold_ppfx_multiprocess.Consumer::run(), run_unfold_systs_multiprocess.Consumer::run(), and run_unfold_genie_multiprocess.Consumer::run().