11#include <framework/datastore/RelationsObject.h>
12#include <cdc/dataobjects/WireID.h>
13#include <Math/Vector3D.h>
50 const ROOT::Math::XYZVector& pocaMomentum,
51 const ROOT::Math::XYZVector& pocaOnTrack,
52 const ROOT::Math::XYZVector& pocaOnWire,
53 int foundByTrackFinder,
double weightPionHypo,
double weightKaonHypo,
double weightProtHypo):
55 m_px(pocaMomentum.X()),
m_py(pocaMomentum.Y()),
m_pz(pocaMomentum.Z()),
56 m_x(pocaOnTrack.X()),
m_y(pocaOnTrack.Y()),
m_z(pocaOnTrack.Z()),
57 m_dx(pocaOnWire.X() - pocaOnTrack.X()),
m_dy(pocaOnWire.Y() - pocaOnTrack.Y()),
m_dz(pocaOnWire.Z() - pocaOnTrack.Z()),
Class to store CDC hit information needed for dedx.
short m_tdcCount
TDC count from CDCHit.
double getWeightKaonHypo() const
Returns Kalman fitter weight for kaon hypothesis.
CDCDedxHit()
default constructor
ROOT::Math::XYZVector getPOCAMomentum() const
Returns momentum at point-of-closest-approach of track to wire.
float m_weightPionHypo
Kalman fitter weight for pion hypothesis.
const WireID & getWireID() const
Returns wire identifier.
float m_dy
DOCA, y coordinate.
ClassDef(CDCDedxHit, 1)
ClassDef.
double getWeightPionHypo() const
Returns Kalman fitter weight for pion hypothesis.
float m_dx
DOCA, x coordinate.
ROOT::Math::XYZVector getDOCAVector() const
Returns distance-of-closest-approach vector (pointing from track to wire)
int getFoundByTrackFinder() const
Returns ID of track finder which added this hit.
unsigned short m_adcCount
ADC count from CDCHit.
float m_py
POCA momentum, y coordinate.
short getTDCCount() const
Returns TDC count.
ROOT::Math::XYZVector getPOCAOnTrack() const
Returns point-of-closest-approach on track.
CDCDedxHit(WireID wireID, short TDC, unsigned short ADC, const ROOT::Math::XYZVector &pocaMomentum, const ROOT::Math::XYZVector &pocaOnTrack, const ROOT::Math::XYZVector &pocaOnWire, int foundByTrackFinder, double weightPionHypo, double weightKaonHypo, double weightProtHypo)
full constructor
double getDOCA() const
Returns distance-of-closest-approach.
float m_pz
POCA momentum, z coordinate.
ROOT::Math::XYZVector getPOCAOnWire() const
Returns point-of-closest-approach on wire.
WireID m_wireID
wire identifier
float m_px
POCA momentum, x coordinate.
double getWeightProtonHypo() const
Returns Kalman fitter weight for proton hypothesis.
float m_weightKaonHypo
Kalman fitter weight for kaon hypothesis.
float m_y
POCA on track, y coordinate.
float m_dz
DOCA, z coordinate.
unsigned short getADCCount() const
Returns ADC count.
float m_weightProtHypo
Kalman fitter weight for proton hypothesis.
int m_foundByTrackFinder
track finder ID (see enum Belle2::RecoHitInformation::OriginTrackFinder)
float m_z
POCA on track, z coordinate.
float m_x
POCA on track, x coordinate.
Defines interface for accessing relations of objects in StoreArray.
Class to identify a wire inside the CDC.
double getSignedDOCAXY() const
Returns signed distance-of-closest-approach in XY projection.
double getEntranceAngle() const
Returns entrance angle to the cell in XY projection.
Abstract base class for different kinds of events.