Interface to the GENIE event reweighting engines. More...
#include <GReWeight.h>
Public Member Functions | |
GReWeight () | |
~GReWeight () | |
void | AdoptWghtCalc (string name, GReWeightI *wcalc) |
add concrete weight calculator, transfers ownership More... | |
GReWeightI * | WghtCalc (string name) |
access a weight calculator by name More... | |
GSystSet & | Systematics (void) |
set of enabled systematic params & values More... | |
void | Reconfigure (void) |
reconfigure weight calculators with new params More... | |
double | CalcWeight (const genie::EventRecord &event) |
calculate weight for input event More... | |
void | Print (void) |
print More... | |
Private Member Functions | |
void | CleanUp (void) |
Private Attributes | |
GSystSet | fSystSet |
set of enabled nuisance parameters More... | |
map< string, GReWeightI * > | fWghtCalc |
concrete weight calculators More... | |
Interface to the GENIE event reweighting engines.
Costas Andreopoulos <costas.andreopoulos stfc.ac.uk> University of Liverpool & STFC Rutherford Appleton Lab
Aug 1, 2009
Copyright (c) 2003-2017, GENIE Neutrino MC Generator Collaboration For the full text of the license visit http://copyright.genie-mc.org or see $GENIE/LICENSE
Definition at line 40 of file GReWeight.h.
GReWeight::GReWeight | ( | ) |
Definition at line 43 of file GReWeight.cxx.
GReWeight::~GReWeight | ( | ) |
Definition at line 49 of file GReWeight.cxx.
void GReWeight::AdoptWghtCalc | ( | string | name, |
GReWeightI * | wcalc | ||
) |
add concrete weight calculator, transfers ownership
Definition at line 54 of file GReWeight.cxx.
double GReWeight::CalcWeight | ( | const genie::EventRecord & | event | ) |
calculate weight for input event
Definition at line 99 of file GReWeight.cxx.
|
private |
Definition at line 115 of file GReWeight.cxx.
void GReWeight::Print | ( | void | ) |
Definition at line 128 of file GReWeight.cxx.
void GReWeight::Reconfigure | ( | void | ) |
reconfigure weight calculators with new params
Definition at line 74 of file GReWeight.cxx.
GSystSet & GReWeight::Systematics | ( | void | ) |
set of enabled systematic params & values
Definition at line 69 of file GReWeight.cxx.
GReWeightI * GReWeight::WghtCalc | ( | string | name | ) |
access a weight calculator by name
Definition at line 61 of file GReWeight.cxx.
|
private |
set of enabled nuisance parameters
Definition at line 57 of file GReWeight.h.
|
private |
concrete weight calculators
Definition at line 58 of file GReWeight.h.