![]() |
TIMBER
beta
Tree Interface for Making Binned Events with RDataFrame
|
C++ class to handle the JES/JEC weight calculations. More...
Public Member Functions | |
template<class T > | |
RVec< RVec< float > > | eval (std::vector< T > jets, float fixedGridRhoFastjetAll) |
If redoJECs is true, evaluation calculates the weight necessary to uncorrect and recorrect the jet energy for each jet in the provided vector of jets*. In either case of redoJECs, the uncertainties are calculated. See JetRecalibrator for more information on the algorithm. More... | |
JES_weight (str jecTag, str jetType, str uncertType="", bool redoJECs=false) | |
Construct a new JES weight object. More... | |
C++ class to handle the JES/JEC weight calculations.
JES_weight | ( | str | jecTag, |
str | jetType, | ||
str | uncertType = "" , |
||
bool | redoJECs = false |
||
) |
Construct a new JES weight object.
jecTag | The JEC tag to identify the JEC files to load. |
jetType | The type of jet - ex. AK8PFPuppi. |
uncertType | Empty string for the total uncertainty but any uncertainty in the JEC file can be provided. Default is empty string. |
redoJECs | Set to false if the sample already has the desired JECs applied. If true, derive correction that undoes the current JECs and applies new ones instead. Uncertainty variations are calculated in either case. Defaults to false. |
RVec<RVec<float> > eval | ( | std::vector< T > | jets, |
float | fixedGridRhoFastjetAll | ||
) |
If redoJECs is true, evaluation calculates the weight necessary to uncorrect and recorrect the jet energy for each jet in the provided vector of jets*. In either case of redoJECs, the uncertainties are calculated. See JetRecalibrator for more information on the algorithm.
<CollectionName>s
(ex. FatJets
).jets | Vector of structs with the jet collection branches as attributes. |
fixedGridRhoFastjetAll | Stored in the NanoAOD with this name as the branch name. |