![]() |
TIMBER
beta
Tree Interface for Making Binned Events with RDataFrame
|
C++ class. Handles the top \(p_T\) reweighting value for \(t\bar{t}\) simulation based on doing gen particle matching. The weight is calculated as. More...
Public Member Functions | |
| RVec< float > | eval (RVec< int > GenPart_pdgId, RVec< int > GenPart_statusFlags, RVec< ROOT::Math::PtEtaPhiMVector > GenPart_vect, ROOT::Math::PtEtaPhiMVector jet0, ROOT::Math::PtEtaPhiMVector jet1, float scale=0.5) |
| Calculate the top \(p_T\) reweighting value for \(t\bar{t}\) simulation based on doing gen particle matching. Additionally, calculate variations of the top \(p_T\) weight by varying the \(\beta\) parameter. The amount of variation can be changed via the scale arguement which is a percent change on \(\beta\). There is no corresponding function for \(\alpha\) because the effect is only a flat normalization change. More... | |
| TopPt_weight () | |
| Construct a new TopPt_weight object. No arguments. | |
C++ class. Handles the top \(p_T\) reweighting value for \(t\bar{t}\) simulation based on doing gen particle matching. The weight is calculated as.
\[ \sqrt{e^{\alpha - \beta \cdot p_{T}^{\textrm{Gen} t}} \cdot e^{\alpha - \beta \cdot p_{T}^{\textrm{Gen} \bar{t}} }} \]
.
where \(\alpha = 0.0615\) and \(\beta = 0.0005\). See the eval() function to calculate the weight plus variations of the \(\beta\) parameter. The \(\alpha\) parameter is not varied since it would only represent a flat normalization change.
| RVec< float > eval | ( | RVec< int > | GenPart_pdgId, |
| RVec< int > | GenPart_statusFlags, | ||
| RVec< ROOT::Math::PtEtaPhiMVector > | GenPart_vect, | ||
| ROOT::Math::PtEtaPhiMVector | jet0, | ||
| ROOT::Math::PtEtaPhiMVector | jet1, | ||
| float | scale = 0.5 |
||
| ) |
Calculate the top \(p_T\) reweighting value for \(t\bar{t}\) simulation based on doing gen particle matching. Additionally, calculate variations of the top \(p_T\) weight by varying the \(\beta\) parameter. The amount of variation can be changed via the scale arguement which is a percent change on \(\beta\). There is no corresponding function for \(\alpha\) because the effect is only a flat normalization change.
| GenPart_pdgId | NanoAOD branch |
| GenPart_statusFlags | NanoAOD branch |
| GenPart_vect | Vector of ROOT::Math::PtEtaPhiMVectors (create through hardware::TLvector) |
| jet0 | |
| jet1 | |
| scale | Percent variation on \(\beta\) parameter. |
1.8.13