ATLAS Offline Software
|
Kinematic weight descriptor. More...
#include <MissingETComponent_v1.h>
Public Member Functions | |
Weight () | |
Default constructor. More... | |
Weight (double wpx, double wpy, double wet) | |
Constructor with parameters. More... | |
~Weight () | |
Data class destructor. More... | |
Accessors | |
double | wpx () const |
Returns \( w_{x} \). More... | |
double | wpy () const |
Returns \( w_{y} \). More... | |
double | wet () const |
Returns \( w_{\rm T} \). More... | |
Setters | |
void | setWpx (double wpx) |
Set \( w_{x} \). More... | |
void | setWpy (double wpy) |
Set \( w_{y} \). More... | |
void | setWet (double wet) |
Set \( w_{\rm T} \). More... | |
Modifiers for kinematic weights | |
double & | wpx () |
Returns reference to modifiable dataword storing \( w_{x} \). More... | |
double & | wpy () |
Returns reference to modifiable data word storing \( w_{y} \). More... | |
double & | wet () |
Returns reference to modifiable data word storing \( w_{\rm T} \). More... | |
Weight & | operator+= (const Weight &wght) |
Add another weight. More... | |
Weight & | operator-= (const Weight &wght) |
Subtract another weight. More... | |
Weight & | operator*= (const Weight &wght) |
Multiply two weights. More... | |
Weight & | operator*= (double scale) |
Scale weight by multiplication. More... | |
Weight & | operator/= (const Weight &wght) |
Divide two weights. More... | |
Weight & | operator/= (double scale) |
Scale weight by division. More... | |
Comparators | |
bool | operator== (const Weight &wght) const |
Equality comparator. More... | |
bool | operator!= (const Weight &wght) const |
Inequality operator. More... | |
Private Attributes | |
Cache for weights | |
double | m_wpx |
\( w_{x} \) More... | |
double | m_wpy |
\( w_{y} \) More... | |
double | m_wet |
\( w_{\rm T} \) More... | |
Kinematic weight descriptor.
Definition at line 27 of file MissingETComponent_v1.h.
xAOD::MissingETComponent_v1::Weight::Weight | ( | ) |
Default constructor.
Constructor with parameters.
xAOD::MissingETComponent_v1::Weight::~Weight | ( | ) |
Data class destructor.
bool xAOD::MissingETComponent_v1::Weight::operator!= | ( | const Weight & | wght | ) | const |
Inequality operator.
MissingETComponent_v1::Weight & MissingETComponent_v1::Weight::operator*= | ( | const Weight & | wght | ) |
Multiply two weights.
Definition at line 24 of file MissingETComponent_v1.cxx.
MissingETComponent_v1::Weight & MissingETComponent_v1::Weight::operator*= | ( | double | scale | ) |
MissingETComponent_v1::Weight & MissingETComponent_v1::Weight::operator+= | ( | const Weight & | wght | ) |
Add another weight.
Definition at line 18 of file MissingETComponent_v1.cxx.
MissingETComponent_v1::Weight & MissingETComponent_v1::Weight::operator-= | ( | const Weight & | wght | ) |
Subtract another weight.
Definition at line 21 of file MissingETComponent_v1.cxx.
MissingETComponent_v1::Weight & MissingETComponent_v1::Weight::operator/= | ( | const Weight & | wght | ) |
MissingETComponent_v1::Weight & MissingETComponent_v1::Weight::operator/= | ( | double | scale | ) |
Scale weight by division.
Definition at line 38 of file MissingETComponent_v1.cxx.
void xAOD::MissingETComponent_v1::Weight::setWet | ( | double | wet | ) |
Set \( w_{\rm T} \).
void xAOD::MissingETComponent_v1::Weight::setWpx | ( | double | wpx | ) |
Set \( w_{x} \).
void xAOD::MissingETComponent_v1::Weight::setWpy | ( | double | wpy | ) |
Set \( w_{y} \).
double& xAOD::MissingETComponent_v1::Weight::wet | ( | ) |
Returns reference to modifiable data word storing \( w_{\rm T} \).
double xAOD::MissingETComponent_v1::Weight::wet | ( | ) | const |
Returns \( w_{\rm T} \).
double& xAOD::MissingETComponent_v1::Weight::wpx | ( | ) |
Returns reference to modifiable dataword storing \( w_{x} \).
double xAOD::MissingETComponent_v1::Weight::wpx | ( | ) | const |
Returns \( w_{x} \).
double& xAOD::MissingETComponent_v1::Weight::wpy | ( | ) |
Returns reference to modifiable data word storing \( w_{y} \).
double xAOD::MissingETComponent_v1::Weight::wpy | ( | ) | const |
Returns \( w_{y} \).
|
private |
\( w_{\rm T} \)
Definition at line 68 of file MissingETComponent_v1.h.
|
private |
\( w_{x} \)
Definition at line 66 of file MissingETComponent_v1.h.
|
private |
\( w_{y} \)
Definition at line 67 of file MissingETComponent_v1.h.