DAS
3.0
Das Analysis System
|
Mimics a pair<double,int>
, where the double contains a weight (either gen or rec level, for events, jets, photons, etc.), and the int an index. For bin-to-bin correlated (uncorrelated) uncertainties, it should always be 0 (correspond to the index of the bin containing the corrections). This allows to handle the decorrelations coming from independent stat in different bins.
A few operators are overloaded so that the weight may be used just as a double.
#include <Weight.h>
Public Member Functions | |
operator double () const | |
Weight & | operator= (const double v) |
Public Attributes | |
double | v = 1 |
int | i = 0 |
|
inline |
int i = 0 |
correlation index
double v = 1 |
value