~mbogomilov/maus/devel3

« back to all changes in this revision

Viewing changes to src/legacy/BeamTools/BTPillBox.cc

  • 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:
6
6
#include "BTField.hh"
7
7
#include "BTPillBox.hh"
8
8
#include "BTPhaser.hh"
9
 
#include "Interface/Squeal.hh"
 
9
#include "Utils/Exception.hh"
10
10
#include "micegsl.hh"
11
11
#include <string>
12
12
 
210
210
        else if(phaseModel == "timevarying")                    return normal;
211
211
        else if(phaseModel == "electrostatic")                  return electrostatic;
212
212
        else if(phaseModel == "nofield"||phaseModel == "none")  return noField;
213
 
        else throw(Squeal(Squeal::recoverable, "Did not recognise field phasing model "+phaseModel, "BTPillBox::SetFieldDuringPhasing"));
 
213
        else throw(MAUS::Exception(MAUS::Exception::recoverable, "Did not recognise field phasing model "+phaseModel, "BTPillBox::SetFieldDuringPhasing"));
214
214
        return noField;
215
215
}
216
216