DAS  3.0
Das Analysis System
Weight

Description

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
 
Weightoperator= (const double v)
 

Public Attributes

double v = 1
 
int i = 0
 

Member Function Documentation

◆ operator double()

operator double ( ) const
inline
19 { return v; }

◆ operator=()

Weight& operator= ( const double  v)
inline
20 { this->v = v; return *this; }

Member Data Documentation

◆ i

int i = 0

correlation index

◆ v

double v = 1

value


The documentation for this struct was generated from the following file:
DAS::Weight::v
double v
value
Definition: Weight.h:17