~mbogomilov/maus/devel3

« back to all changes in this revision

Viewing changes to src/map/MapCppTOFSpacePoints/test_MapCppTOFSpacePoints.py

  • 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:
50
50
        test_conf_json['Enable_triggerDelay_correction'] = False
51
51
        test_conf_json['Enable_timeWalk_correction'] = False
52
52
        test_conf_json['TOF_findTriggerPixelCut'] = 1.001
53
 
        test_conf_json['TOF_makeSpacePiontCut'] = 1.001
 
53
        test_conf_json['TOF_makeSpacePointCut'] = 1.001
54
54
        #print testConfJSON
55
55
        test_configuration = json.dumps(test_conf_json)
56
56
        success = self.mapper.birth(test_configuration)
66
66
        # test with no data.
67
67
        result = self.mapper.process(data)
68
68
        spill_out = json.loads(result)
69
 
        self.assertFalse('space_points' in spill_out)
 
69
        self.assertFalse('tof_space_points' in spill_out)
70
70
 
71
71
    def __get_space_point(self, spill, tof, event): # pylint: disable=R0201
72
72
        """Return the space point for given tof and particle event"""