~mbogomilov/maus/devel3

« back to all changes in this revision

Viewing changes to src/legacy/BeamTools/BTFieldGroup.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:
165
165
 
166
166
void BTFieldGroup::GetFieldValue( const double Point[4], double *EMfield ) const
167
167
{
168
 
        if(!_closed) throw(Squeal(Squeal::recoverable, "Attempt to GetFieldValue when mesh not closed (internal error)", "BTFieldGroup::GetFieldValue"));
 
168
        if(!_closed) throw(MAUS::Exception(MAUS::Exception::recoverable, "Attempt to GetFieldValue when mesh not closed (internal error)", "BTFieldGroup::GetFieldValue"));
169
169
        double * LocalPoint;
170
170
        double   LocalEMField[6];
171
171
        double   scaleFactor=1;