![]() |
ATLAS Offline Software
|
a special accessor for the MET momentum More...
#include <MetHelpers.h>
Public Member Functions | |
MetMomentumAccessors (ColumnarTool< CM > &columnarBase) | |
double | met (ObjectId< CI, CM > object) const |
double | phi (ObjectId< CI, CM > object) const |
void | addParticle (ObjectId< CI, CM > met, float px, float py, float pt) const requires(isMutable) |
void | addParticle (ObjectId< CI, CM > met, const xAOD::IParticle &particle) const requires(isMutable) |
template<ContainerIdConcept CI2, typename MomAcc > | |
void | addParticle (ObjectId< CI, CM > met, const MomAcc &momAcc, const ObjectId< CI2, CM > &object) const requires(isMutable) &&requires(const MomAcc &acc |
float (acc.py(object)) | |
float (acc.pt(object)) | |
template<ContainerIdConcept CI2> | |
void | addMet (ObjectId< CI, CM > met, const MetMomentumAccessors< CI2, CM > &momAcc, ObjectId< CI2, CM > metSource) const requires(isMutable) |
Public Attributes | |
AccessorTemplate< CI, float, CAM, CM > | mpx |
AccessorTemplate< CI, float, CAM, CM > | mpy |
AccessorTemplate< CI, float, CAM, CM > | sumet |
void ObjectId< CI2, CM > | object {float(acc.px(object)) |
Static Public Attributes | |
static constexpr bool | isMutable = CI::isMutable |
static constexpr ColumnAccessMode | CAM = isMutable?ColumnAccessMode::output:ColumnAccessMode::input |
a special accessor for the MET momentum
MET has a somewhat special momentum structure, and the METMaker tool also needs to add to the momentum in a special way. So this class tries to provide a somewhat convenient and robust interface for that.
Definition at line 167 of file MetHelpers.h.
|
inline |
Definition at line 173 of file MetHelpers.h.
|
inline |
void columnar::MetHelpers::MetMomentumAccessors< CI, CM >::addParticle | ( | ObjectId< CI, CM > | met, |
const MomAcc & | momAcc, | ||
const ObjectId< CI2, CM > & | object | ||
) | const & |
|
inline |
Definition at line 190 of file MetHelpers.h.
columnar::MetHelpers::MetMomentumAccessors< CI, CM >::float | ( | acc. | ptobject | ) |
columnar::MetHelpers::MetMomentumAccessors< CI, CM >::float | ( | acc. | pyobject | ) |
|
inline |
Definition at line 183 of file MetHelpers.h.
|
inline |
Definition at line 185 of file MetHelpers.h.
|
staticconstexpr |
Definition at line 170 of file MetHelpers.h.
|
staticconstexpr |
Definition at line 169 of file MetHelpers.h.
AccessorTemplate<CI,float,CAM,CM> columnar::MetHelpers::MetMomentumAccessors< CI, CM >::mpx |
Definition at line 179 of file MetHelpers.h.
AccessorTemplate<CI,float,CAM,CM> columnar::MetHelpers::MetMomentumAccessors< CI, CM >::mpy |
Definition at line 180 of file MetHelpers.h.
void ObjectId<CI2,CM> columnar::MetHelpers::MetMomentumAccessors< CI, CM >::object {float(acc.px(object)) |
Definition at line 194 of file MetHelpers.h.
AccessorTemplate<CI,float,CAM,CM> columnar::MetHelpers::MetMomentumAccessors< CI, CM >::sumet |
Definition at line 181 of file MetHelpers.h.