~mbogomilov/maus/devel3

« back to all changes in this revision

Viewing changes to src/common_cpp/Optics/PolynomialOpticsModel.hh

  • Committer: Durga Rajaram
  • Date: 2014-01-14 07:07:02 UTC
  • mfrom: (659.1.80 relcand)
  • Revision ID: durga@fnal.gov-20140114070702-2l1fuj1w6rraw7xe
Tags: MAUS-v0.7.6
MAUS-v0.7.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
#include <vector>
23
23
 
 
24
#include "src/common_cpp/DataStructure/Primary.hh"
24
25
#include "src/common_cpp/Optics/PhaseSpaceVector.hh"
25
26
#include "src/common_cpp/Optics/TransferMapOpticsModel.hh"
26
27
 
54
55
  //  Constructors
55
56
  // *************************
56
57
 
57
 
  explicit PolynomialOpticsModel(const Json::Value & configuration);
 
58
  explicit PolynomialOpticsModel(Json::Value const * const configuration);
58
59
 
59
60
  /** @brief no memory allocated so doesn't do anything.
60
61
   */
62
63
 
63
64
  void Build();
64
65
 
 
66
  const std::vector<int64_t> GetAvailableMapPositions() const;
65
67
 protected:
66
68
  Algorithm algorithm_;
67
69
  size_t polynomial_order_;
68
70
  std::vector<double> weights_;
69
71
 
70
72
  // override base class version
71
 
  const std::vector<recon::global::TrackPoint> BuildFirstPlaneHits();
 
73
  const std::vector<PhaseSpaceVector> PrimaryVectors();
72
74
 
73
75
  const TransferMap * CalculateTransferMap(
74
 
    const std::vector<recon::global::TrackPoint> & start_plane_hits,
75
 
    const std::vector<recon::global::TrackPoint> & station_hits)
 
76
    const std::vector<PhaseSpaceVector> & start_plane_hits,
 
77
    const std::vector<PhaseSpaceVector> & end_plane_hits)
76
78
    const;
77
79
 
78
80
  void SetupAlgorithm();