Mēnsūra
|
Represents a jet. More...
#include <PhysicsObjects.hpp>
Public Member Functions | |
Jet () noexcept | |
Default constructor. | |
Jet (TLorentzVector const &correcteP4) noexcept | |
Constuctor from the fully-corrected four-momentum. | |
Jet (TLorentzVector const &rawP4, double corrSF) noexcept | |
Constructor from the raw four-momentum and total correction scale factor. More... | |
void | SetCorrectedP4 (TLorentzVector const &correctedP4, double rawMomentumSF) noexcept |
Sets jet corrected and raw momentum. More... | |
void | SetBTag (BTagger::Algorithm algo, double value) noexcept |
Sets value of a b-tagging discriminator. | |
void | SetParentID (int pdgID) noexcept |
Sets the parent's PDF ID. | |
void | SetCharge (double charge) noexcept |
Sets the electric charge. | |
void | SetPullAngle (double pullAngle) noexcept |
Sets jet pull angle. | |
void | SetArea (double area) noexcept |
Sets jet area. | |
void | SetMatchedGenJet (GenJet const *matchedJet) noexcept |
Sets matched generator-level jet. | |
void | SetPileUpID (double puDiscriminator) |
Sets value of pile-up ID discriminator. | |
TLorentzVector | RawP4 () const noexcept |
Returns raw momentum. | |
double | BTag (BTagger::Algorithm algo) const |
Returns value of the requested b-tagging discriminator. | |
double | CSV () const |
Gets the value of the CSV b-tagging discriminator. | |
double | JP () const |
Gets the value of the JP b-tagging discriminator. | |
int | GetParentID () const noexcept |
Gets the parent's PDG ID. | |
double | Charge () const noexcept |
Gets the electric charge. | |
double | GetPullAngle () const noexcept |
Gets the pull angle. | |
double | Area () const noexcept |
Returns jet area. | |
GenJet const * | MatchedGenJet () const noexcept |
Returns matched generator-level jet (if applicable) More... | |
double | PileUpID () const |
Returns value of pile-up ID discriminator. | |
![]() | |
Candidate () noexcept | |
Default constructor. | |
Candidate (TLorentzVector const &p4_) noexcept | |
Constructor from a 4-momentum. | |
void | SetP4 (TLorentzVector const &p4_) noexcept |
Sets four-momentum. | |
void | SetPtEtaPhiM (double pt, double eta, double phi, double mass) noexcept |
Sets four-momentum. | |
void | SetPxPyPzE (double px, double py, double pz, double E) noexcept |
Sets four-momentum. | |
void | SetUserFloat (std::string const &label, double value) |
Sets or changes value of a user-defined real-valued property. | |
void | SetUserInt (std::string const &label, long value) |
Sets or changes value of a user-defined integer-valued property. | |
TLorentzVector const & | P4 () const noexcept |
Four-momentum. | |
double | Pt () const noexcept |
Transverse momentum, GeV/c. | |
double | Eta () const noexcept |
Pseudorapidity. | |
double | Phi () const noexcept |
Azimuthal angle. | |
double | M () const noexcept |
Mass, GeV/c^2. | |
double | E () const noexcept |
Energy, GeV. | |
double | UserFloat (std::string const &label) const |
Returns value of the user-defined property with the given label. More... | |
long | UserInt (std::string const &label) const |
Returns value of the user-defined property with the given label. More... | |
bool | operator< (Candidate const &rhs) const noexcept |
Ordering operator. | |
Represents a jet.
The four-momentum inherited from the base class is fully corrected. An object stores also a scale factor to reproduce raw momentum.
|
noexcept |
Constructor from the raw four-momentum and total correction scale factor.
The scale factor includes full JEC and, in case of simulation, JER. A fully-corrected momentum is calculated as rawP4 * corrSF.
|
noexcept |
Returns matched generator-level jet (if applicable)
If no jet is matched or generator-level jets are not available, returns a null pointer.
|
noexcept |
Sets jet corrected and raw momentum.
The first argument is a fully-corrected four-momentum. The second argument is a scale factor to calculate the raw momentum from it.