Double_t | fBoostWeight | internal weight to be set by boosting algorithm |
UInt_t | fClass | class number |
Bool_t | fDoNotBoost | mark event as not to be boosted (used to compensate for events with negative event weights |
Bool_t | fDynamic | is set when the dynamic values are taken |
vector<Float_t> | fSpectators | "visisting" variables not used in MVAs ; mutable, to be able to copy the dynamic values in there |
vector<Float_t> | fTargets | target values for regression |
vector<Float_t> | fValues | the event values ; mutable, to be able to copy the dynamic values in there |
vector<Float_t*>* | fValuesDynamic | the event values |
Double_t | fWeight | event weight (product of global and individual weights) |
static Bool_t | fgIgnoreNegWeightsInTraining | |
static Bool_t | fgIsTraining | mark if we are in an actual training or "evaluation/testing" phase --> ignoreNegWeights only in actual training ! |
constructor
constructor
constructor
return the event weight - depending on whether the flag *IgnoreNegWeightsInTraining* is or not. If it is set AND it is used for training, then negetive event weights are set to zero ! NOTE! For events used in Testing, the ORIGINAL possibly negative event weight is used no matter what
when this static function is called, it sets the flag whether events with negative event weight should be ignored in the training, or not.
when this static function is called, it sets the flag whether events with negative event weight should be ignored in the training, or not.
For a detailed explanation, please see the heading "Avoid Duplication in const and Non-const Member Function," on p. 23, in Item 3 "Use const whenever possible," in Effective C++, 3d ed by Scott Meyers, ISBN-13: 9780321334879. http://stackoverflow.com/questions/123758/how-do-i-remove-code-duplication-between-similar-const-and-non-const-member-func