/scratch0/jsnuveri/BDSIM/BDSIMgit/bdsim/include/BDSOctMagField.hh

00001 /* BDSIM code.    Version 1.0
00002    Author: Grahame A. Blair, Royal Holloway, Univ. of London.
00003    Last modified 24.7.2002
00004    Copyright (c) 2002 by G.A.Blair.  ALL RIGHTS RESERVED. 
00005 */
00006 #ifndef BDSOCTMAGFIELD
00007 #define BDSOCTMAGFIELD
00008 
00009 #include "G4Types.hh"
00010 #include "G4MagneticField.hh"
00011 
00012 class BDSOctMagField : public G4MagneticField
00013 {
00014 public:  // with description
00015 
00016   BDSOctMagField(G4double aBTrpPrime);
00017   virtual ~BDSOctMagField();
00018   // Constructor and destructor. No actions.
00019 
00020 
00021   virtual void  GetFieldValue( const G4double Point[4],
00022                                G4double *Bfield ) const;
00023   void SetBTrpPrime(G4double aBTrpPrime);
00024 private:
00025   G4double itsBTrpPrime;
00026 
00027 };
00028 
00029 inline void BDSOctMagField::SetBTrpPrime(G4double aBTrpPrime)
00030 { itsBTrpPrime = aBTrpPrime;}
00031 
00032 #endif /* BDSOCTMAGFIELD */

Generated on 28 Jun 2015 for BDSIM by  doxygen 1.4.7