/home/cern/BDSIM_new/include/myOctupole.hh

00001 
00002 #ifndef myOctupole_h
00003 #define myOctupole_h 1
00004 
00005 #include "myOctStepper.hh"
00006 #include "G4ChordFinder.hh"
00007 #include "G4VisAttributes.hh"
00008 #include "BDSMultipole.hh"
00009 #include "myAcceleratorComponent.hh"
00010 #include "G4FieldManager.hh"
00011 #include "G4LogicalVolume.hh"
00012 #include "G4Box.hh"
00013 class myOctupole :public myAcceleratorComponent
00014 {
00015 
00016 public:
00017   //    Constructor taking the id of the dipole, the length
00018   //    (meter) and curvature (1/meter) of the dipole geometry,
00019   //    and the vertical magnetic field in Tesla.
00020   myOctupole (G4String& id, G4double len, G4double bpRad,G4double bDGrad);
00021 
00022   ~myOctupole();
00023 
00024   void OctLogicalVolume();
00025   void BuildOuterFieldManager();
00026 
00027   G4VisAttributes* SetVisAttributes();
00028 
00029 protected:
00030  
00031 private:
00032   // field related objects:
00033   myOctStepper* itsStepper;
00034   G4ChordFinder* itsChordFinder;
00035   G4MagneticField* itsMagField;
00036   G4Mag_UsualEqRhs* itsEqRhs;
00037   G4FieldManager* itsBPFieldMgr;
00038   G4Box* itsBox;
00039 
00040   //  G4FieldManager* itsCoarseFieldMgr;
00041   //  G4ChordFinder* itsCoarseChordFinder;
00042 
00043 };
00044 
00045 
00046 #endif

Generated on Wed Mar 5 17:25:22 2008 for BDSIM by  doxygen 1.5.3