Vector sum of constituents for subtractive overlap removal. More...
#include <MissingETAssociation_v1.h>
Public Member Functions | |
ConstVec () | |
Default constructor. | |
ConstVec (double cpx, double cpy, double cpz, double ce, double sumpt) | |
Constructor with parameters. | |
ConstVec (const IParticle &ipar) | |
Constructor from IParticle. | |
~ConstVec () | |
Data class destructor. | |
Accessors | |
double | cpx () const |
Returns . | |
double | cpy () const |
Returns . | |
double | cpz () const |
Returns . | |
double | cpt () const |
Returns . | |
double | ce () const |
Returns . | |
double | sumpt () const |
Returns sum of component pt. | |
Setters | |
void | setCpx (double px) |
Set . | |
void | setCpy (double py) |
Set . | |
void | setCpz (double pz) |
Set . | |
void | setCe (double e) |
Set . | |
void | setSumpt (double sumpt) |
Set sumpt. | |
Modifiers for constituent vector | |
double & | cpx () |
Returns reference to modifiable data word storing . | |
double & | cpy () |
Returns reference to modifiable data word storing . | |
double & | cpz () |
Returns reference to modifiable data word storing . | |
double & | ce () |
Returns reference to modifiable data word storing . | |
double & | sumpt () |
Returns reference to modifiable data word storing sum of component pt. | |
ConstVec & | operator+= (const ConstVec &cvec) |
Add another vector. | |
ConstVec & | operator-= (const ConstVec &cvec) |
Subtract another vector. | |
ConstVec & | operator*= (double scale) |
Scale vector by multiplication. | |
ConstVec & | operator/= (double scale) |
Scale vector by division. | |
Comparators | |
bool | operator== (const ConstVec &cvec) const |
Equality comparator. | |
bool | operator!= (const ConstVec &cvec) const |
Inequality operator. |
Vector sum of constituents for subtractive overlap removal.