C++ class to handle pileup reweighting. Used in AutoPU.py.
More...
|
| std::vector< float > | eval (int Pileup_nTrueInt) |
| | Evaluate the pileup weight (value of ratio of data to simulation). More...
|
| |
| | Pileup_weight (std::string filename_mc, std::string filename_data, std::string histname_mc, std::string histname_data) |
| | Construct a new Pileup_weight object, providing custom MC and data histograms to take the ratio of the true number of primary vertices. More...
|
| |
| | Pileup_weight (std::string era) |
| | Construct a new Pileup_weight object. Assumes "auto" pileup calculation for MC distribution. Calculates the ratio of the true number of primary vertices between data and simulation. More...
|
| |
C++ class to handle pileup reweighting. Used in AutoPU.py.
◆ Pileup_weight() [1/2]
| Pileup_weight |
( |
std::string |
filename_mc, |
|
|
std::string |
filename_data, |
|
|
std::string |
histname_mc, |
|
|
std::string |
histname_data |
|
) |
| |
Construct a new Pileup_weight object, providing custom MC and data histograms to take the ratio of the true number of primary vertices.
- Parameters
-
| filename_mc | Use "auto" to get the number of primary vertices directly from "autoPU" histogram in memory (gDirectory) |
| filename_data | |
| histname_mc | |
| histname_data | |
◆ Pileup_weight() [2/2]
Construct a new Pileup_weight object. Assumes "auto" pileup calculation for MC distribution. Calculates the ratio of the true number of primary vertices between data and simulation.
- Parameters
-
| era | 2016(UL), 2017(UL), 2018(UL) |
◆ eval()
| std::vector< float > eval |
( |
int |
Pileup_nTrueInt | ) |
|
Evaluate the pileup weight (value of ratio of data to simulation).
- Parameters
-
- Returns
- std::vector<float>
The documentation for this class was generated from the following files:
- TIMBER/Framework/include/Pileup_weight.h
- TIMBER/Framework/src/Pileup_weight.cc