CMS 3D CMS Logo

LumiReWeighting Class Reference

Class to provide lumi weighting for analyzers to weight "flat-to-N" MC samples to data. More...

#include <PhysicsTools/Utilities/interface/LumiReWeighting.h>


Detailed Description

Class to provide lumi weighting for analyzers to weight "flat-to-N" MC samples to data.

This class will trivially take two histograms: 1. The generated "flat-to-N" distributions from a given processing 2. A histogram generated from the "estimatePileup" macro here:

https://twiki.cern.ch/twiki/bin/view/CMS/LumiCalc#How_to_use_script_estimatePileup

Author:
Salvatore Rappoccio

This class will trivially take two histograms: 1. The generated "flat-to-N" distributions from a given processing 2. A histogram generated from the "estimatePileup" macro here:

-- This is the Stand-Alone version that doesn't use any CMS classes --

https://twiki.cern.ch/twiki/bin/view/CMS/LumiCalc#How_to_use_script_estimatePileup

Authors:
Salvatore Rappoccio, Mike Hildreth

This class will trivially take two histograms: 1. The generated "flat-to-N" distributions from a given processing (or any other generated input) 2. A histogram generated from the "estimatePileup" macro here:

https://twiki.cern.ch/twiki/bin/view/CMS/LumiCalc#How_to_use_script_estimatePileup

and produce weights to convert the input distribution (1) to the latter (2).

Author:
Salvatore Rappoccio, modified by Mike Hildreth