~c-e-pidcott/maus/devel

« back to all changes in this revision

Viewing changes to src/py_cpp/PyField.cc

  • Committer: Chris Rogers
  • Date: 2012-10-03 07:19:33 UTC
  • mfrom: (659.1.40 release-candidate)
  • Revision ID: chris.rogers@stfc.ac.uk-20121003071933-kgrhvl1ec6w2jmug
Tags: MAUS-v0.3.3
MAUS-v0.3.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
  }
45
45
  try {
46
46
    BTFieldConstructor* maus_field =
47
 
                          Globals::GetInstance()->GetBTFieldConstructor();
 
47
                          Globals::GetInstance()->GetMCFieldConstructor();
48
48
    if (maus_field == NULL) {
49
49
      PyErr_SetString(PyExc_RuntimeError,
50
50
            "Error - somehow MAUS library was initialised but fields are not.");