8#include <mdst/dataobjects/V0.h>
14 m_trackIndexPositive(-1),
15 m_trackIndexNegative(-1),
16 m_trackFitResultIndexPositive(-1),
17 m_trackFitResultIndexNegative(-1),
23V0::V0(
const std::pair<const Belle2::Track*, const Belle2::TrackFitResult*>& trackPairPositive,
24 const std::pair<const Belle2::Track*, const Belle2::TrackFitResult*>& trackPairNegative,
25 double vertexX,
double vertexY,
double vertexZ) :
26 m_trackIndexPositive(trackPairPositive.first->getArrayIndex()),
27 m_trackIndexNegative(trackPairNegative.first->getArrayIndex()),
28 m_trackFitResultIndexPositive(trackPairPositive.second->getArrayIndex()),
29 m_trackFitResultIndexNegative(trackPairNegative.second->getArrayIndex()),
30 m_fittedVertexX(vertexX),
31 m_fittedVertexY(vertexY),
32 m_fittedVertexZ(vertexZ)
The ParticleType class for identifying different particle types.
static const ParticleType unspecifiedParticle
Unspecified particle, used when no other particle type fits.
static const ParticleType Lambda
Lambda particle.
static const ChargedStable pion
charged pion particle
static const ParticleType antiLambda
Anti-Lambda particle.
static const ChargedStable proton
proton particle
static const ParticleType Kshort
K^0_S particle.
static const ParticleType photon
photon particle
static const ChargedStable electron
electron particle
Accessor to arrays stored in the data store.
short m_trackFitResultIndexNegative
Points to the new TrackFitResult of the positive Track.
V0()
Constructor without arguments; needed for I/O.
short m_trackFitResultIndexPositive
Points to the new TrackFitResult of the positive Track.
Const::ParticleType getV0Hypothesis() const
Get the hypothesis under which the V0 particle was created.
Abstract base class for different kinds of events.