~m-a-uchida/maus/RKdEdxDevel

« back to all changes in this revision

Viewing changes to src/common_cpp/Recon/Global/TrackFitter.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:
20
20
#ifndef SRC_COMMON_CPP_RECONSTRUCTION_TRACK_FITTER_HH
21
21
#define SRC_COMMON_CPP_RECONSTRUCTION_TRACK_FITTER_HH
22
22
 
 
23
#include <string>
23
24
#include <vector>
24
25
 
25
 
#include "Recon/Global/WorkingTrackPoint.hh"
26
 
#include "Recon/Global/WorkingTrack.hh"
27
 
 
28
26
namespace MAUS {
29
27
 
30
28
class OpticsModel;
31
29
 
 
30
namespace DataStructure {
 
31
namespace Global {
 
32
  class Track;
 
33
}
 
34
}
 
35
 
32
36
namespace recon {
33
37
namespace global {
34
38
 
35
39
class TrackFitter {
36
40
 public:
37
 
  TrackFitter(const MAUS::OpticsModel & optics_model, const double start_plane)
38
 
      : optics_model_(&optics_model), start_plane_(start_plane) { }
 
41
  TrackFitter(MAUS::OpticsModel const * optics_model, const double start_plane)
 
42
      : optics_model_(optics_model), start_plane_(start_plane) { }
39
43
  virtual ~TrackFitter() { }
40
 
  virtual void Fit(const WorkingTrack & detector_events,
41
 
                   WorkingTrack & track) = 0;
 
44
  virtual void Fit(MAUS::DataStructure::Global::Track const * const raw_track,
 
45
                   MAUS::DataStructure::Global::Track * const track,
 
46
                   const std::string mapper_name) = 0;
42
47
 protected:
43
48
  MAUS::OpticsModel const * optics_model_;
44
49
  const double start_plane_;