Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Calibrator.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file Calibrator.h
1 
2 #ifndef TRACKBASE_CALIBRATOR_H
3 #define TRACKBASE_CALIBRATOR_H
4 
7 #pragma GCC diagnostic push
8 #pragma GCC diagnostic ignored "-Wshadow"
10 #pragma GCC diagnostic pop
11 
12 #include "ActsSourceLink.h"
13 #include "TrkrDefs.h"
15 
17 {
18  public:
25  using MeasurementContainer = std::vector<Measurement>;
26 
27  void calibrate(const MeasurementContainer& measurements,
30  const Acts::SourceLink& sourceLink,
32  virtual ~Calibrator() = default;
33 };
34 
36 {
37  public:
39  CalibratorAdapter(const Calibrator& calibrator,
40  const Calibrator::MeasurementContainer& measurements)
41  : m_calibrator{calibrator}
42  , m_measurements{measurements}
43  {
44  }
45 
46  CalibratorAdapter() = delete;
47 
49  const Acts::CalibrationContext& cctx,
50  const Acts::SourceLink& sourceLink,
52 
53  private:
56 };
57 
58 #endif