/home/cern/BDSIM_new/include/mySkewSextupole.hh

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

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