~christopher-hunt08/maus/maus_scifi_recon_devel

« back to all changes in this revision

Viewing changes to src/common_cpp/DataStructure/SciFiHelicalPRTrack.hh

  • Committer: Christopher Hunt
  • Date: 2015-12-14 08:48:38 UTC
  • mfrom: (697.47.179 cctag_corr)
  • Revision ID: christopher.hunt08@imperial.ac.uk-20151214084838-wjl32e152yx3ks1j
MAUS Merg Remerged

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
    SciFiHelicalPRTrack();
48
48
 
49
49
    /** Constructor from SimpleCircle and SimpleLine Without explicit chi squared setting */
50
 
    SciFiHelicalPRTrack(int tracker, int num_points, int charge, ThreeVector pos0, double phi0,
 
50
    SciFiHelicalPRTrack(int tracker, int charge, ThreeVector pos0, double phi0,
51
51
                        SimpleCircle circle, SimpleLine line_sz, double point_spread,
52
52
                        DoubleArray phi, SciFiSpacePointPArray spoints,
53
53
                        const DoubleArray& covariance);
73
73
    /** Set the tracker number */
74
74
    void set_tracker(int tracker) { _tracker = tracker; }
75
75
 
76
 
    /** Get the number of points in a track (5, 4, or 3) */
77
 
    int get_num_points() const { return _num_points; }
78
 
 
79
 
    /** Set the number of points in a track (5, 4, or 3) */
80
 
    void set_num_points(int num_points) { _num_points = num_points; }
81
 
 
82
76
    /** Get the track charge */
83
77
    int get_charge() const { return _charge; }
84
78
 
151
145
 
152
146
  private:
153
147
    int _tracker;
154
 
    int _num_points;
155
148
    int _charge;
156
149
    static const int _type = 1; // 0 for straight, 1 for helical
157
150