Belle II Software  release-08-01-10
CoordinateMeasurementCreator.h
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 #pragma once
9 
10 #include <tracking/trackFitting/measurementCreator/creators/BaseMeasurementCreatorFromHit.h>
11 #include <tracking/dataobjects/RecoHitInformation.h>
12 
13 namespace Belle2 {
18  class RecoTrack;
19 
21  template <class HitType, Const::EDetector detector>
22  class CoordinateMeasurementCreator : public BaseMeasurementCreatorFromHit<HitType, detector> {
23  public:
26 
28  std::vector<genfit::TrackPoint*> createMeasurementPoints(HitType* hit, RecoTrack& recoTrack,
29  const RecoHitInformation& recoHitInformation) const override;
32  };
33 
46 }
Base Class to create measurements based on a given hit related to the RecoTrack.
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.