~chris-rogers/maus/emr_mc_digitization

« back to all changes in this revision

Viewing changes to src/legacy/BeamTools/BTFieldGroup.hh

  • Committer: Chris Rogers
  • Date: 2014-04-16 11:48:45 UTC
  • mfrom: (707 merge)
  • mto: This revision was merged to the branch mainline in revision 711.
  • Revision ID: chris.rogers@stfc.ac.uk-20140416114845-h3u3q7pdcxkxvovs
Update to trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
        //Get the sum of childrens' vector potential
73
73
        CLHEP::HepLorentzVector GetVectorPotential(CLHEP::HepLorentzVector position) const;
74
74
        void                    GetVectorPotential(const double point[4], double * potential) const 
75
 
        {throw(Squeal(Squeal::recoverable, "Not implemented!", "BTFieldGroup::GetVectorPotential(const double*, double*)"));}
 
75
        {throw(MAUS::Exception(MAUS::Exception::recoverable, "Not implemented!", "BTFieldGroup::GetVectorPotential(const double*, double*)"));}
76
76
        void                    GetVectorPotentialDifferential(const double point[4], double * potential, int axis) const
77
 
        {throw(Squeal(Squeal::recoverable, "Not implemented!", "BTFieldGroup::GetVectorPotentialDifferential"));}
 
77
        {throw(MAUS::Exception(MAUS::Exception::recoverable, "Not implemented!", "BTFieldGroup::GetVectorPotentialDifferential"));}
78
78
        CLHEP::HepLorentzVector GetLocalCoordinates(CLHEP::HepLorentzVector position, unsigned int fieldNumber) const;
79
79
        //Add all fields to the mesh; update this field's bounding box; set _closed to true; repeat for any parent fields
80
80
  //note you have to call Close() before attempting to use the fieldgroup for e.g. GetFieldValue()