CMS 3D CMS Logo

VisG4MagField.h

Go to the documentation of this file.
00001 #ifndef VIS_G4_FIELDS_VIS_G4_MAG_FIELD_H
00002 # define VIS_G4_FIELDS_VIS_G4_MAG_FIELD_H
00003 
00004 //<<<<<< INCLUDES                                                       >>>>>>
00005 
00006 # include "VisGeant4/VisG4Fields/interface/config.h"
00007 # include "Iguana/Inventor/interface/IgSbField.h"
00008 
00009 //<<<<<< PUBLIC DEFINES                                                 >>>>>>
00010 //<<<<<< PUBLIC CONSTANTS                                               >>>>>>
00011 //<<<<<< PUBLIC TYPES                                                   >>>>>>
00012 
00013 class G4Field;
00014 
00015 //<<<<<< PUBLIC VARIABLES                                               >>>>>>
00016 //<<<<<< PUBLIC FUNCTIONS                                               >>>>>>
00017 //<<<<<< CLASS DECLARATIONS                                             >>>>>>
00018 
00020 class VIS_G4_FIELDS_API VisG4MagField : public IgSbField
00021 {
00022 public:
00023     VisG4MagField (const G4Field *field = 0);
00024     // implicit copy constructor
00025     // implicit assignment operator
00026     // implicit destructor
00027 
00028     virtual void setField (const G4Field *field);
00029     virtual void evaluate (const double point [3], double field []) const;
00030 
00031 private:
00032     const G4Field *m_field;
00033 };
00034 
00035 //<<<<<< INLINE PUBLIC FUNCTIONS                                        >>>>>>
00036 //<<<<<< INLINE MEMBER FUNCTIONS                                        >>>>>>
00037 
00038 #endif // VIS_G4_FIELDS_VIS_G4_MAG_FIELD_H

Generated on Tue Jun 9 17:50:06 2009 for CMSSW by  doxygen 1.5.4