![]() |
ATLAS Offline Software
|
Go to the source code of this file.
Namespaces | |
xAOD | |
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region. | |
xAOD::EgammaDetails | |
Functions | |
ConversionType | xAOD::EgammaDetails::conversionType (const bool hasTrk1, const bool hasTrk2, const std::uint8_t nSiHits1, const std::uint8_t nSiHits2) |
return the photon conversion type (see EgammaEnums) More... | |
bool | xAOD::EgammaDetails::isConvertedPhoton (const bool excludeTRT, const float eta, const std::size_t nVertices, const ConversionType conversionType) |
is the object a converted photon More... | |
Helper functions for EgammaDetails accessors
This file contains helper functions for more complex accessors in xAOD::Egamma, xAOD::Electron, xAOD::Photon, and EgammaHelpers that are shared with the columnar environment. These are all implemented as inline standalone functions that get all the input variables passed in. That completely separates them from the xAOD classes/functions, as well as from the columnar environment.
This is implemented as header-only inline code, which should give it large flexibility in how it can be used without adding additional overhead. If any of these functions is too heavy it can later on be turned into a non-inlined function.
@warn None of these functions are meant to be called by the user directly. These are meant as the backend implementations of the corresponding accessors in xAOD::EgammaDetails and the corresponding columnar accessors.
Definition in file EgammaDetails.h.