Implementation of Spin Rotator.

This commit is contained in:
shiroka
2008-12-22 17:53:30 +00:00
parent 4c7938ed6d
commit 76c7f4062e
111 changed files with 409662 additions and 0 deletions

View File

@ -0,0 +1,16 @@
#include "globals.hh"
#include "G4MagneticField.hh"
class sr1GaussianField
#ifndef STANDALONE
: public G4MagneticField
#endif
{
private:
G4double ffieldValue;
G4double fieldMagnitude,RMS;
public:
sr1GaussianField(double fieldValue, double sigma);
void GetFieldValue( const double point[4], double *Bfield ) const;
G4double GetFieldSetValue();
};