DAS
3.0
Das Analysis System
|
Functor to apply the PU profile correction.
#include <PUcorrection.h>
Public Member Functions | |
Correction (TFile *fMC, TFile *fData, std::function< const char *(const char *, bool)> hname, float maxWeight=std::numeric_limits< float >::max()) | |
float | operator() (float pu, char v='0') const |
void | Write (TDirectory *d, bool reset) |
Public Attributes | |
TH1 * | nominal |
TH1 * | upper |
TH1 * | lower |
|
inline |
Constructor.
|
inline |
Overloading of operator()
Returns the weight as a function of the value of the in-time pileup, for a given variation (of the MB cross section).
|
inline |
TH1 * lower |
TH1* nominal |
TH1 * upper |