![]() |
ATLAS Offline Software
|
Type-erased view on a generic vertex class - implementation won't bother with any VertexTraits at the moment, since the only functions where the xAOD::TruthVertex and xAOD::Vertex have any overlap are the x(), y() and z(), and they have the same name, so there is literally no point at the moment. More...
#include <VertexView.h>
Classes | |
| struct | VTable |
Public Member Functions | |
| template<typename T> | |
| VertexView (const T *pobj) | |
| template<typename T, typename = std::enable_if_t< !std::is_pointer_v<T> && !std::is_same_v<std::decay_t<T>, VertexView> >> | |
| VertexView (const T &obj) | |
| VertexView (const VertexView &t)=default | |
| VertexView (const VertexView *)=delete | |
| VertexView (VertexView *)=delete | |
| virtual | ~VertexView ()=default |
| const void * | ptr () const |
| float | x () const |
| float | y () const |
| float | z () const |
| float | dx () const |
| float | dy () const |
| float | dz () const |
| size_t | nTrackParticles () const |
| float | chiSquared () const |
| float | numberDoF () const |
| float | time () const |
| int | vertexType () const |
| const std::type_info & | type () const |
| template<typename T> | |
| bool | is () const |
| template<typename T> | |
| const T * | as () const |
Static Private Member Functions | |
| template<typename T> | |
| static const T & | deref (const void *p) |
| template<typename T> | |
| static float | x_impl (const void *p) |
| template<typename T> | |
| static float | y_impl (const void *p) |
| template<typename T> | |
| static float | z_impl (const void *p) |
| template<typename T> | |
| static float | dx_impl (const void *p) |
| template<typename T> | |
| static float | dy_impl (const void *p) |
| template<typename T> | |
| static float | dz_impl (const void *p) |
| template<typename T> | |
| static size_t | nTrackParticles_impl (const void *p) |
| template<typename T> | |
| static float | chiSquared_impl (const void *p) |
| template<typename T> | |
| static float | numberDoF_impl (const void *p) |
| template<typename T> | |
| static float | time_impl (const void *p) |
| template<typename T> | |
| static int | vertexType_impl (const void *p) |
Private Attributes | |
| const void * | m_ptr |
| const VTable * | m_vtable |
Static Private Attributes | |
| template<typename T> | |
| static const VTable | table |
Type-erased view on a generic vertex class - implementation won't bother with any VertexTraits at the moment, since the only functions where the xAOD::TruthVertex and xAOD::Vertex have any overlap are the x(), y() and z(), and they have the same name, so there is literally no point at the moment.
at some point we will want to extend this class so that it can properly include information on which tracks lie on the vertex since for proper selection, in an Roi it is not enough to verify that the z range is within the Roi, we need to check that AT LEAST one of the tracks on the vertex is in the Roi as well - if none of the tracks on the vertex is in the Roi then the vertex can not be found in that Roi - this is quite am important aspect - particularly for jet and bjet vertices in high pileup events
Definition at line 42 of file VertexView.h.
|
inline |
Definition at line 47 of file VertexView.h.
|
inline |
Definition at line 60 of file VertexView.h.
|
default |
|
delete |
|
delete |
|
virtualdefault |
|
inline |
Definition at line 91 of file VertexView.h.
|
inline |
Definition at line 80 of file VertexView.h.
|
inlinestaticprivate |
Definition at line 137 of file VertexView.h.
Definition at line 126 of file VertexView.h.
|
inline |
Definition at line 75 of file VertexView.h.
|
inlinestaticprivate |
Definition at line 132 of file VertexView.h.
|
inline |
Definition at line 76 of file VertexView.h.
|
inlinestaticprivate |
Definition at line 133 of file VertexView.h.
|
inline |
Definition at line 77 of file VertexView.h.
|
inlinestaticprivate |
Definition at line 134 of file VertexView.h.
|
inline |
Definition at line 89 of file VertexView.h.
|
inline |
Definition at line 79 of file VertexView.h.
|
inlinestaticprivate |
Definition at line 136 of file VertexView.h.
|
inline |
Definition at line 81 of file VertexView.h.
|
inlinestaticprivate |
Definition at line 138 of file VertexView.h.
|
inline |
Definition at line 69 of file VertexView.h.
|
inline |
Definition at line 83 of file VertexView.h.
|
inlinestaticprivate |
Definition at line 140 of file VertexView.h.
|
inline |
Definition at line 87 of file VertexView.h.
|
inline |
Definition at line 85 of file VertexView.h.
|
inlinestaticprivate |
Definition at line 142 of file VertexView.h.
|
inline |
Definition at line 71 of file VertexView.h.
|
inlinestaticprivate |
Definition at line 128 of file VertexView.h.
|
inline |
Definition at line 72 of file VertexView.h.
|
inlinestaticprivate |
Definition at line 129 of file VertexView.h.
|
inline |
Definition at line 73 of file VertexView.h.
|
inlinestaticprivate |
Definition at line 130 of file VertexView.h.
|
private |
Definition at line 98 of file VertexView.h.
Definition at line 99 of file VertexView.h.
|
inlinestaticprivate |
Definition at line 148 of file VertexView.h.