#include <GReWeightINukeParams.h>
Public Member Functions | |
Fates (HadronType_t hadtype=kRwINukeUndefined) | |
~Fates () | |
double | ScaleFactor (GSyst_t s, const TLorentzVector &p4) const |
see next More... | |
double | ScaleFactor (GSyst_t s, double KE=-1.) const |
fate fraction scale factor = 1 + twk_dial * fractional_err More... | |
bool | IsIncluded (GSyst_t s) const |
is included? More... | |
bool | IsCushionTerm (GSyst_t s) const |
is it a cushion term? More... | |
bool | IsTweaked (GSyst_t s) const |
is included & tweaked to non-def value? More... | |
bool | IsTweaked (void) const |
is any param tweaked More... | |
void | Reset (void) |
void | Reconfigure (void) |
double | ChisqPenalty (void) const |
void | SetTwkDial (GSyst_t s, double val) |
Private Member Functions | |
bool | IsHandled (GSyst_t s) const |
void | AddCushionTerms (void) |
double | ActualTwkDial (GSyst_t s, double KE=-1.) const |
actual tweaking dial for input systematic at input kinetic energy More... | |
Private Attributes | |
HadronType_t | fHadType |
map< GSyst_t, double > | fSystValuesUser |
List of systematics included & values set by the user. More... | |
map< GSyst_t, double > | fSystValuesActual |
List of systematics included & values actually used (user values limited to physical range) More... | |
map< GSyst_t, bool > | fIsCushion |
cushion term flag More... | |
Definition at line 72 of file GReWeightINukeParams.h.
GReWeightINukeParams::Fates::Fates | ( | GReWeightINukeParams::HadronType_t | ht = kRwINukeUndefined | ) |
Definition at line 146 of file GReWeightINukeParams.cxx.
GReWeightINukeParams::Fates::~Fates | ( | void | ) |
Definition at line 159 of file GReWeightINukeParams.cxx.
|
private |
actual tweaking dial for input systematic at input kinetic energy
Definition at line 222 of file GReWeightINukeParams.cxx.
|
private |
Definition at line 545 of file GReWeightINukeParams.cxx.
double GReWeightINukeParams::Fates::ChisqPenalty | ( | void | ) | const |
Definition at line 443 of file GReWeightINukeParams.cxx.
bool GReWeightINukeParams::Fates::IsCushionTerm | ( | GSyst_t | s | ) | const |
is it a cushion term?
Definition at line 481 of file GReWeightINukeParams.cxx.
|
private |
Definition at line 527 of file GReWeightINukeParams.cxx.
bool GReWeightINukeParams::Fates::IsIncluded | ( | GSyst_t | s | ) | const |
is included?
Definition at line 474 of file GReWeightINukeParams.cxx.
bool GReWeightINukeParams::Fates::IsTweaked | ( | GSyst_t | s | ) | const |
is included & tweaked to non-def value?
Definition at line 493 of file GReWeightINukeParams.cxx.
bool GReWeightINukeParams::Fates::IsTweaked | ( | void | ) | const |
is any param tweaked
Definition at line 511 of file GReWeightINukeParams.cxx.
void GReWeightINukeParams::Fates::Reconfigure | ( | void | ) |
Definition at line 171 of file GReWeightINukeParams.cxx.
void GReWeightINukeParams::Fates::Reset | ( | void | ) |
Definition at line 164 of file GReWeightINukeParams.cxx.
double GReWeightINukeParams::Fates::ScaleFactor | ( | GSyst_t | s, |
const TLorentzVector & | p4 | ||
) | const |
see next
Definition at line 196 of file GReWeightINukeParams.cxx.
double GReWeightINukeParams::Fates::ScaleFactor | ( | GSyst_t | s, |
double | KE = -1. |
||
) | const |
fate fraction scale factor = 1 + twk_dial * fractional_err
Definition at line 203 of file GReWeightINukeParams.cxx.
void GReWeightINukeParams::Fates::SetTwkDial | ( | GSyst_t | s, |
double | val | ||
) |
Definition at line 176 of file GReWeightINukeParams.cxx.
|
private |
Definition at line 94 of file GReWeightINukeParams.h.
|
private |
cushion term flag
Definition at line 98 of file GReWeightINukeParams.h.
|
mutableprivate |
List of systematics included & values actually used (user values limited to physical range)
Definition at line 97 of file GReWeightINukeParams.h.
|
private |
List of systematics included & values set by the user.
Definition at line 95 of file GReWeightINukeParams.h.