Belle II Software development
CoordinateMeasurementCreator.cc
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8#include <tracking/trackFitting/measurementCreator/creators/CoordinateMeasurementCreator.h>
9
10using namespace Belle2;
11
12template <class HitType, Const::EDetector detector>
14 genfit::MeasurementFactory<genfit::AbsMeasurement>& measurementFactory) :
15 BaseMeasurementCreatorFromHit<HitType, detector>(measurementFactory) {}
16
17template <class HitType, Const::EDetector detector>
19 RecoTrack& recoTrack,
20 const RecoHitInformation& recoHitInformation) const
21{
22 genfit::AbsMeasurement* coordinateMeasurement = this->createCoordinateMeasurement(hit, recoHitInformation);
23
24 genfit::TrackPoint* trackPoint =
genfit::AbsMeasurement * createCoordinateMeasurement(HitType *hit, const RecoHitInformation &recoHitInformation) const
You probably need a coordinate measurement on which you can base your measurements in createMeasureme...
BaseMeasurementCreatorFromHit(const genfit::MeasurementFactory< genfit::AbsMeasurement > &measurementFactory)
Creates a MeasurementCreator which handles the creation of measurements of a given kind.
genfit::TrackPoint * createTrackPointWithRecoHitInformation(genfit::AbsMeasurement *coordinateMeasurement, RecoTrack &recoTrack, const RecoHitInformation &recoHitInformation) const
A measurement creator for normal coordinate measurements out of cdc/svd/pxd hits.
std::vector< genfit::TrackPoint * > createMeasurementPoints(HitType *hit, RecoTrack &recoTrack, const RecoHitInformation &recoHitInformation) const override
Create measurements based on coordinate measurements.
CoordinateMeasurementCreator(const genfit::MeasurementFactory< genfit::AbsMeasurement > &measurementFactory)
Constructor.
This class stores additional information to every CDC/SVD/PXD hit stored in a RecoTrack.
This is the Reconstruction Event-Data Model Track.
Definition RecoTrack.h:79
Abstract base class for different kinds of events.