Rivet API documentation
![]() |
Rivet 4.1.3
|
utility functions
Functions | |
| void | Rivet::ObjectBasedMET::update_matrix (Matrix< 2 > &mat, const double ptres, const double phires, const double pt2, const double angle) const |
| void | Rivet::ObjectBasedMET::rotateMatrix2 (Matrix< 2 > &in, const double phi) const |
| Rotate the (pt, phi) 2D matrix in in (x,y) space by phi. | |
| double | Rivet::ObjectBasedMET::directionalDeltaPhi (const ThreeMomentum &first, const ThreeMomentum &second) const |
Detailed Description
Function Documentation
◆ directionalDeltaPhi()
|
inlineprotected |
Calculate deltaPhi with a possible minus sign. (i.e. so that phi(obj1) + deltaphi(obj1, obj2) always equals phi(obj2))
References Rivet::Vector3::phi(), and Rivet::PI.
◆ update_matrix()
|
inlineprotected |
Update the 2D ((pT, phi)) resolution matrix given an object with pt and phi resolutions ptres, phires, pt^2 pt2, at an angle angle to the metvec.
References Rivet::angle(), and rotateMatrix2().
Generated on for Rivet by
