~christopher-hunt08/maus/maus_integrated_kalman

« back to all changes in this revision

Viewing changes to src/map/MapCppTrackerVirtualsDigitization/MapCppTrackerVirtualsDigitization.hh

merging in changes in merge branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
     */
82
82
    void _process(MAUS::Data* data) const;
83
83
 
 
84
    /** @brief Simulate data for straight tracks
 
85
     */
 
86
    void _process_straight(MAUS::SciFiEvent* event, int spill_num, int event_num) const;
 
87
 
 
88
    /** @brief Simulate data for helical tracks
 
89
     */
 
90
    void _process_helix(MAUS::SciFiEvent* event, int spill_num, int event_num) const;
 
91
 
84
92
    /** @brief builds digits
85
93
     */
86
 
    void construct_digits(MAUS::VirtualHitArray* hits,
 
94
    void construct_virtual_digits(MAUS::VirtualHitArray* hits,
87
95
                          int spill_num,
88
96
                          int event_num,
89
97
                          MAUS::SciFiDigitPArray& digits) const;
90
98
 
91
99
    /** @brief builds clusters
92
100
     */
93
 
    void construct_clusters(MAUS::VirtualHitArray* hits,
 
101
    void construct_virtual_clusters(MAUS::VirtualHitArray* hits,
94
102
                            int spill_num,
95
103
                            int event_num,
96
104
                            MAUS::SciFiClusterPArray& clusters) const;
97
105
 
98
 
 
99
106
    /** @brief builds spacepoints
100
107
     */
101
 
    void construct_spacepoints(MAUS::VirtualHitArray* hits,
 
108
    void construct_virtual_spacepoints(MAUS::VirtualHitArray* hits,
102
109
                               int spill_num,
103
110
                               int event_num,
104
111
                               MAUS::SciFiSpacePointPArray& spoints) const;
105
112
 
106
 
    /** @brief builds spacepoints
107
 
     */
108
 
    void construct_perfect_spacepoints(int spill_num,
109
 
                                       int event_num,
110
 
                                       MAUS::SciFiSpacePointPArray& spoints) const;
111
113
 
112
114
    /** @brief computes alpha from geomeery and virtual hit
113
115
     */
114
116
//    int _compute_channel_number(VirtualHit* ahit, SciFiPlaneGeometry, int, int, int ) const;
115
 
    double _compute_alpha(VirtualHit* vhit, SciFiPlaneGeometry& geom, int tracker_num ) const;
 
117
//    double _compute_alpha(VirtualHit* vhit, SciFiPlaneGeometry& geom, int tracker_num ) const;
 
118
    double _compute_alpha(ThreeVector& pos, SciFiPlaneGeometry& geom) const;
116
119
 
117
120
    // Store Geometry Information
118
121
    SciFiGeometryHelper _geometry_helper;
120
123
 
121
124
    /// The ratio of deposited eV to NPE
122
125
    double _default_npe;
 
126
    /// Std dev of simulated measurement error.
 
127
    double _smear_value;
123
128
 
124
129
    /// Tolerance on assigning virtual planes to tracker planes
125
130
    double _assignment_tolerance;
126
131
 
 
132
    /// Type of testing to perform
 
133
    int _test_method;
 
134
 
 
135
    double _straight_rms_pos;
 
136
    double _straight_rms_ang;
 
137
 
 
138
    double _helix_rms_pos;
 
139
    double _helix_rms_pt;
 
140
    double _helix_pz;
 
141
 
127
142
    bool _make_digits;
128
143
    bool _make_clusters;
129
144
    bool _make_perfect_clusters;