Changeset 1231 for trunk/source/geometry/magneticfield/test
- Timestamp:
- Jan 11, 2010, 3:22:34 PM (14 years ago)
- Location:
- trunk/source/geometry/magneticfield/test
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/geometry/magneticfield/test/NTST/src/NTSTDetectorConstruction.cc
r1199 r1231 53 53 #include "G4RKG3_Stepper.hh" 54 54 #include "G4HelixMixedStepper.hh" 55 #include "G4NystromRK4.hh" 55 56 56 57 #include "G4DELPHIMagField.hh" … … 210 211 pEquation = new G4Mag_UsualEqRhs( &field); 211 212 212 // pStepper = 213 // new G4ClassicalRK4( pEquation ); 214 // new G4RKG3_Stepper( fEquation ); // Nystrom, like Geant3215 // pStepper= new G4SimpleRunge( pEquation ); 216 // pStepper= new G4CashKarpRKF45( pEquation ); 217 pStepper= new G4HelixMixedStepper( pEquation );213 // pStepper = 214 // new G4ClassicalRK4( pEquation ); G4cout << "Stepper is " << "ClassicalRK4" << G4endl; 215 // new G4RKG3_Stepper( pEquation ); // Nystrom, like Geant3 216 // pStepper= new G4SimpleRunge( pEquation ); G4cout << "Stepper is " << "CashKarpRKF45" << G4endl; 217 // pStepper= new G4CashKarpRKF45( pEquation ); G4cout << "Stepper is " << "CashKarpRKF45" << G4endl; 218 // pStepper= new G4HelixMixedStepper( pEquation ); G4cout << "Stepper is " << "HelixMixed" << G4endl; 218 219 // pStepper= StepperFactory::CreateStepper( order ); 219 220 220 G4cout << "Stepper is " 221 // << "CashKarpRKF45" << G4endl; 221 pStepper= new G4NystromRK4( pEquation ); G4cout << "Stepper is " << "NystromRK4" << G4endl; 222 223 // G4cout << "Stepper is " << "CashKarpRKF45" << G4endl; 222 224 // << "ClassicalRK4" << G4endl; 223 225 // << " G4HelixMixedStepper " << G4endl; 224 226 225 227 // globalFieldManager->CreateChordFinder( (G4MagneticField *)&field ); -
trunk/source/geometry/magneticfield/test/OtherFields/testDelphiField.cc
r1199 r1231 26 26 // 27 27 // $Id: testDelphiField.cc,v 1.7 2006/06/29 18:26:40 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 // 30 30 // -
trunk/source/geometry/magneticfield/test/OtherFields/testHarmonicPolMagField.cc
r1199 r1231 26 26 // 27 27 // $Id: testHarmonicPolMagField.cc,v 1.7 2006/06/29 18:26:43 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 // 30 30 // -
trunk/source/geometry/magneticfield/test/field02/field02.cc
r1199 r1231 26 26 // 27 27 // $Id: field02.cc,v 1.2 2006/06/29 18:27:02 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 // 30 30 // -
trunk/source/geometry/magneticfield/test/field03/field03.cc
r1199 r1231 26 26 // 27 27 // $Id: field03.cc,v 1.2 2006/06/29 18:28:57 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 // 30 30 // -
trunk/source/geometry/magneticfield/test/field06/exampleS5.cc
r1199 r1231 26 26 // 27 27 // $Id: exampleS5.cc,v 1.2 2007/05/02 14:59:26 gunter Exp $ 28 // GEANT4 tag $Name: HEAD$28 // GEANT4 tag $Name: $ 29 29 // 30 30 // -
trunk/source/geometry/magneticfield/test/testProElectroMagField.cc
r1199 r1231 26 26 // 27 27 // $Id: testProElectroMagField.cc,v 1.16 2006/06/29 18:25:00 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-02-cand-01$28 // GEANT4 tag $Name: $ 29 29 // 30 30 // -
trunk/source/geometry/magneticfield/test/testProPerpSpin.cc
r1199 r1231 26 26 // 27 27 // $Id: testProPerpSpin.cc,v 1.17 2006/06/29 18:25:02 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-02-cand-01$28 // GEANT4 tag $Name: $ 29 29 // 30 30 // -
trunk/source/geometry/magneticfield/test/testPropagateMagField.cc
r1199 r1231 25 25 // 26 26 // 27 // $Id: testPropagateMagField.cc,v 1.3 2 2007/07/06 14:16:47japost Exp $28 // GEANT4 tag $Name: geant4-09-02-cand-01$27 // $Id: testPropagateMagField.cc,v 1.33 2009/11/05 13:18:05 japost Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 // … … 53 53 #include "G4RotationMatrix.hh" 54 54 #include "G4ThreeVector.hh" 55 56 #include "G4UniformMagField.hh"57 55 58 56 #include "G4ios.hh" … … 222 220 return worldPhys; 223 221 } 222 223 #include "G4UniformMagField.hh" 224 #include "G4QuadrupoleMagField.hh" 225 #include "G4CachedMagneticField.hh" 224 226 225 227 #include "G4ChordFinder.hh" … … 240 242 #include "G4CashKarpRKF45.hh" 241 243 #include "G4RKG3_Stepper.hh" 244 #include "G4ConstRK4.hh" 245 #include "G4NystromRK4.hh" 242 246 #include "G4HelixMixedStepper.hh" 243 247 244 G4UniformMagField myMagField(10.*tesla, 0., 0.); 245 248 G4UniformMagField uniformMagField(10.*tesla, 0., 0.); 249 G4QuadrupoleMagField quadrupoleMagField( 10.*tesla/(50.*cm) ); 250 G4CachedMagneticField myMagField( &quadrupoleMagField, 1.0 * cm); 246 251 247 252 G4FieldManager* SetupField(G4int type) … … 266 271 case 10: pStepper = new G4RKG3_Stepper( fEquation ); break; 267 272 case 11: pStepper = new G4HelixMixedStepper( fEquation ); break; 273 case 12: pStepper = new G4ConstRK4( fEquation ); break; 274 case 13: pStepper = new G4NystromRK4( fEquation ); break; 268 275 default: 269 276 pStepper = 0; … … 448 455 physStep *= 2.; 449 456 } // ........................... end for ( istep ) 457 458 myMagField.ReportStatistics(); 459 450 460 } // .............................. end for ( iparticle ) 451 461 -
trunk/source/geometry/magneticfield/test/testPropagateSpin.cc
r1199 r1231 26 26 // 27 27 // $Id: testPropagateSpin.cc,v 1.17 2006/06/29 18:25:06 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-02-cand-01$28 // GEANT4 tag $Name: $ 29 29 // 30 30 //
Note: See TracChangeset
for help on using the changeset viewer.