#include "xAODBPhys/BPhysHypoHelper.h"#include "xAODTracking/TrackParticle.h"#include "xAODTracking/Vertex.h"#include "xAODTracking/VertexContainer.h"Defines | |
| #define | GET_FLOAT(name) |
| #define | SET_FLOAT(name, val) |
| #define GET_FLOAT | ( | name | ) |
{ \
SG::AuxElement::Accessor<float> floatAcc(name); \
if(!floatAcc.isAvailable(*m_b)) return -9999999.; \
return floatAcc(*m_b); \
}
Some useful macros
| #define SET_FLOAT | ( | name, | |||
| val | ) |
{ \
SG::AuxElement::Decorator<float> floatDec(name); \
floatDec(*m_b) = val; \
return true; \
}
1.6.1