![]() |
TIMBER
beta
Tree Interface for Making Binned Events with RDataFrame
|
C++ class to match single reconstructed jet (represented as a Lorentz vector) to the closest generator jet in a vector of generator jets (represented as Lorentz vectors). More...
Public Member Functions | |
| GenJetMatcher (float dRMax, float dPtMaxFactor=3) | |
| Construct a new GenJetMatcher object. More... | |
| LorentzV | match (LorentzV &jet, RVec< LorentzV > genJets, float resolution) |
| Perform the actual matching. More... | |
C++ class to match single reconstructed jet (represented as a Lorentz vector) to the closest generator jet in a vector of generator jets (represented as Lorentz vectors).
| GenJetMatcher | ( | float | dRMax, |
| float | dPtMaxFactor = 3 |
||
| ) |
Construct a new GenJetMatcher object.
| dRMax | The maximum \(\Delta R\) to consider. For an AK8 jet, use 0.4. |
| dPtMaxFactor | The maximum \(p_{T}\) factor to consider where the difference \(p_{T}\) between the reco and gen jets must be less than dPtMaxFactor times the resolution (provided as an argument to GenJetMatcher::match). Default is 3. |
| LorentzV match | ( | LorentzV & | jet, |
| RVec< LorentzV > | genJets, | ||
| float | resolution | ||
| ) |
Perform the actual matching.
| jet | Lorentz vector for the reco jet. |
| genJets | Vector of Lorentz vectors of the gen jets. |
| resolution | \(p_{T}\) resolution to consider. |
1.8.13