#include <APReweightBase.h>
Public Member Functions | |
APReweightBase () | |
virtual | ~APReweightBase () |
unsigned int | GetID () const |
Protected Attributes | |
unsigned int | _ID |
double | _scale |
bool | _isTrig |
bool | _isQuiet |
double | _syst_uncert_global |
APWeightEntry * | _empty_weight |
Static Protected Attributes | |
static unsigned int | _NID = 0 |
Class to provide common methods for all Reweight classes
APReweightBase::APReweightBase | ( | ) |
Default constructor.
APReweightBase::~APReweightBase | ( | ) | [virtual] |
Default destructor.
unsigned int APReweightBase::GetID | ( | ) | const |
Returns the unique ID for assignment of APWeightEntries to source.
APWeightEntry* APReweightBase::_empty_weight [protected] |
Dummy weight (equals 0.) to return if value out of range is provided.
unsigned int APReweightBase::_ID [protected] |
Holds the unique ID for assignment of APWeightEntries to source.
bool APReweightBase::_isQuiet [protected] |
Flag to turn off messages.
bool APReweightBase::_isTrig [protected] |
Flag to determine if the class holds trigger efficiencies or "simple" MC weights.
unsigned int APReweightBase::_NID = 0 [static, protected] |
Holds the overall number of assigned IDs.
double APReweightBase::_scale [protected] |
Holds the scale factor that was calculated from sample sizes upon instantiation.
double APReweightBase::_syst_uncert_global [protected] |
Holds the global relative (!) systematic uncertainty of all efficiencies/weights.