![]() |
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 |
| void | addParticle (ObjectId< CI, CM > met, const xAOD::IParticle &particle) const |
| template<ContainerIdConcept CI2, typename MomAcc> requires (isMutable) && requires(const MomAcc& acc,ObjectId<CI2,CM> object) {float(acc.px(object));float(acc.py(object));float(acc.pt(object));} | |
| void | addParticle (ObjectId< CI, CM > met, const MomAcc &momAcc, const ObjectId< CI2, CM > &object) const |
| template<ContainerIdConcept CI2> requires (isMutable) | |
| void | addMet (ObjectId< CI, CM > met, const MetMomentumAccessors< CI2, CM > &momAcc, ObjectId< CI2, CM > metSource) const |
Public Attributes | |
| AccessorTemplate< CI, float, CAM, CM > | mpx |
| AccessorTemplate< CI, float, CAM, CM > | mpy |
| AccessorTemplate< CI, float, CAM, CM > | sumet |
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 |
|
inline |
Definition at line 194 of file MetHelpers.h.
|
inline |
Definition at line 190 of file MetHelpers.h.
|
inline |
|
inlinenodiscard |
Definition at line 183 of file MetHelpers.h.
|
inlinenodiscard |
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.
| AccessorTemplate<CI,float,CAM,CM> columnar::MetHelpers::MetMomentumAccessors< CI, CM >::sumet |
Definition at line 181 of file MetHelpers.h.