![]() |
TIMBER
beta
Tree Interface for Making Binned Events with RDataFrame
|
C++ class to weight events as if one were dropping any events with a jet in the effected region. Information on the HEM15/16 issue here. Note that this class is not meant to scale jet energy as described at the link. In place of energy scaling, the evaluation will return 0 or 1 for data and either 0.353 or 1 for MC (affected and unaffected, respectively). The value of 0.353 is derived from the ratio of 2018 affected by this issue (that is, 35.3% of MC should be unaffected but MC obviously does not have run or luminosity blocks). More...
Public Member Functions | |
| std::vector< float > | eval (RVec< float > FatJet_eta, RVec< float > FatJet_phi, int run=0) |
| Return an event weight based on the existence of at least one jet in the affected HEM15/16 region. The algorithm is meant to drop the event entirely in data if there is a jet in this region and to weight down the event if affected in simulation. More... | |
| HEM_drop (std::string setname, std::vector< int > idxToCheck={}) | |
| Constructor for HEM_drop. More... | |
C++ class to weight events as if one were dropping any events with a jet in the effected region. Information on the HEM15/16 issue here. Note that this class is not meant to scale jet energy as described at the link. In place of energy scaling, the evaluation will return 0 or 1 for data and either 0.353 or 1 for MC (affected and unaffected, respectively). The value of 0.353 is derived from the ratio of 2018 affected by this issue (that is, 35.3% of MC should be unaffected but MC obviously does not have run or luminosity blocks).
| HEM_drop | ( | std::string | setname, |
| std::vector< int > | idxToCheck = {} |
||
| ) |
Constructor for HEM_drop.
| setname | dataA, dataB, dataC, dataD, or some MC name (does not matter what) |
| idxToCheck | Vector of jet indexes to check. Defaults to empty in which case all jets will be checked. |
| std::vector< float > eval | ( | RVec< float > | FatJet_eta, |
| RVec< float > | FatJet_phi, | ||
| int | run = 0 |
||
| ) |
Return an event weight based on the existence of at least one jet in the affected HEM15/16 region. The algorithm is meant to drop the event entirely in data if there is a jet in this region and to weight down the event if affected in simulation.
| run | run for data. Defaults to 0 (to be used with MC). |
| FatJet_eta | |
| FatJet_phi |
1.8.13