|
ATLAS Offline Software
|
Go to the documentation of this file.
20 mpx(
met.exComponent(
idx) ),
21 mpy(
met.eyComponent(
idx) ),
22 mpz(
met.ezComponent(
idx) ),
23 sumE(
met.sumEComponent(
idx) ),
24 sumEt(
met.sumEtComponent(
idx) ),
39 return std::atan2(
mpy,
mpx);
70 const TLorentzVector& otherP4)
76 sumEt += otherP4.Pt();
104 met.setExComponent(ii,
mpx);
105 met.setEyComponent(ii,
mpy);
106 met.setEzComponent(ii,
mpy);
107 met.setSumEComponent(ii,
sumE);
114 os <<
"(mpx, mpy, mpz, met, sumEt, sumE) = ("
115 << component.
mpx <<
", "
116 << component.
mpy <<
", "
117 << component.
mpz <<
", "
118 << component.
met() <<
", "
119 << component.
sumEt <<
", "
120 << component.
sumE <<
") [MeV]";
float mpx
Momentum components x momentum.
void fillMET(xAOD::TrigMissingET &met) const
Fill the main component of the MET with this.
float sumEt
And the sumEt.
std::ostream & operator<<(std::ostream &os, const METComponent &component)
int status
The status flag.
double pt() const
(signed) pt
float sumE
Also store the sumE.
float magnitude() const
The magnitude of the missing 3-vector.
Class to describe the kinematics of an object that can have negative energies.
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...
METComponent & operator+=(const METComponent &other)
Add one to us.
def asinh(x)
helper methods ---------------------------------------------------------—
float phi() const
The direction.
void fillMETComponent(std::size_t idx, xAOD::TrigMissingET &met) const
Fill a component of the MET with this.
Helper struct to build up MET values before moving them into the EDM.
float met() const
The actual met.
Class holding the Missing ET trigger fex results.
float eta() const
The (pseudo) eta.
double energy() const
Energy values (signed) energy.
METComponent operator+(const METComponent &lhs, const METComponent &rhs)